Adams–Onís Treaty
In 1818, the federal government purchased the land. In 1819, the Adams–Onís Treaty was signed, and Florida was transferred to the United States in 1821.