Florida's journey to statehood was marked by territorial expansion, conflicts with Native Americans, and debates over slavery. The Adams-Onis Treaty of 1819 acquired Florida from Spain, leading to rapid population growth and the push for statehood in the 1830s and 1840s. Florida became the 27th state in 1845, entering the Union as a slave state alongside Iowa as a free state. Early political, economic, and social developments shaped Florida's identity, including the dominance of agriculture, the growth of slavery, and the emergence of tourism as a key industry.