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.
Orange County, Florida
Immediately following the transfer of Florida to the United States in 1821, Governor Andrew Jackson created two counties: Escambia to the west of the Suwannee River and St. Johns to the east. In 1824, the area to the south of St. Johns County was organized as Mosquito County, and Enterprise was named its county seat. This large county took up much of central Florida. It was renamed as Orange County in 1845 when Florida became a state. After population increased in the region, the legislature organized several counties, such as Osceola, Seminole, Lake, and Volusia, from its territory.