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.
History of Florida
Florida became an organized territory of the United States on March 30, 1822. The Americans merged East Florida and West Florida (although the majority of West Florida was annexed to Territory of Orleans and Mississippi Territory), and established a new capital in Tallahassee, conveniently located halfway between the East Florida capital of St. Augustine and the West Florida capital of Pensacola. The boundaries of Florida's first two counties, Escambia and St. Johns, approximately coincided with the boundaries of West and East Florida respectively.