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.
Florida Territory
Florida was encountered by Europeans in 1513 by Juan Ponce de León, who claimed the land as a possession of Spain. St. Augustine, the oldest continually inhabited European settlement in the continental U.S., was founded on the northeast coast of Florida in 1565. Florida continued to remain a Spanish possession until the end of the Seven Years' War when Spain ceded it to the Kingdom of Great Britain in exchange for the release of Havana. In 1783, after the American Revolution, Great Britain ceded Florida back to Spain under the provisions of the Peace of Paris.