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.
British West Florida
British West Florida comprised parts of the modern U.S. states of Louisiana, Mississippi, Alabama and Florida. Effective British control ended in 1781 when Spain captured Pensacola. The territory subsequently became a colony of Spain, parts of which were gradually annexed piecemeal by the United States beginning in 1810.