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.
Seminole Wars
Spain ceded Florida to the United States in 1819 with the Adams–Onís Treaty, and the United States took possession in 1821. Effective government was slow in coming to Florida. General Andrew Jackson was appointed military governor in March 1821, but he did not arrive in Pensacola until July. He resigned the post in September and returned home in October, having spent just three months in Florida. His successor, William P. Duval, was not appointed until April 1822, and he left for an extended visit to his home in Kentucky before the end of the year. Other official positions in the territory had similar turn-over and absences.