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.
History of Pensacola, Florida
On March 3, 1845, Florida was admitted to the Union as the 27th state. Its admission had been slowed as the United States struggled to remove the Seminole Indians. After three Seminole Wars, it defeated some, forcing their removal to Indian Territory in what is now Oklahoma. The remaining Seminole had retreated to the Everglades and were never defeated. Due to rising tensions over slavery, Congress had decided not to alter the balance between slave and free states. Florida's admission was delayed until a free territory was ready for admission as a state. It was admitted the same year as Iowa. North Florida, including the Panhandle, remained the most populated part of the state.