United States territorial acquisitions
West Florida was declared to be a U.S. possession in 1810 by President James Madison after the territory had declared its independence from Spain. Madison ordered the U.S. Army to take control. Six weeks later, the army entered and occupied the capital, St. Francisville, putting an end to the republic after 74 days of independence. Spain did not relinquish its claim to sovereignty (see West Florida Controversy) until ratification of the Adams–Onís Treaty. General Andrew Jackson personally accepted the delivery of West Florida from its Spanish governor on July 17, 1821.
West Florida
Because of disagreements with the Spanish government, American and English settlers between the Mississippi and Perdido rivers declared that area as the independent Republic of West Florida in 1810. (None of the short-lived Republic lay within the borders of the modern U.S. state of Florida; it comprised the Florida parishes of today's Louisiana.) Within months it was annexed by the United States, which claimed the region as part of the Louisiana Purchase of 1803. In 1819 the United States negotiated the purchase of the remainder of West Florida and all of East Florida in the Adams–Onís Treaty, and in 1822 both were merged into the Florida Territory.