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.
Miami
In 1566 admiral Pedro Menéndez de Avilés, Florida's first governor, claimed the area for Spain. A Spanish mission was constructed one year later in 1567. Spain and Great Britain successively ruled Florida, (France did rule Pensacola and West Florida). Spain ceded it to the United States in 1821. In 1836, the US built Fort Dallas as part of its development of the Florida Territory and attempt to suppress and remove the Seminole. The Miami area subsequently became a site of fighting during the Second Seminole War.