Maritime history of Florida
Spain ceded Florida to the United States as part of the Adams–Onís Treaty of 1819, and Florida became a U.S. territory in 1821. Coastal trade with other markets continued to expand and towns like Jacksonville, Pensacola and Tampa became important ports. After becoming a U.S. territory, the federal government began building a series of lighthouses as aids to navigation along the coasts of Florida to mark dangerous headlands, shoals, bars and reefs.
Spanish Florida
Great Britain temporarily gained control of Florida beginning in 1763 as a result of the Anglo-Spanish War, but while Britain occupied the territory, it did not develop it further. Sparsely populated British Florida stayed loyal to the Crown during the American Revolutionary War, and by the terms of the Treaty of Paris which ended the war, the territory was returned to Spain in 1783. After a brief diplomatic border dispute with the fledgling United States, the countries set a territorial border and allowed Americans free navigation of the Mississippi River by the terms of Pinckney's Treaty in 1795.