The United States acquired Florida from Spain through the Adams-Onis Treaty of 1819, officially taking control in July 1821. Rather than a direct cash purchase, the U.S. agreed to assume $5 million ($128 million today) in liability for claims by American citizens against Spain.