Adams–Onís Treaty
As Florida had become a burden to Spain, which could not afford to send settlers or garrisons, the Crown decided to cede the territory to the United States. It accomplished this through the Adams–Onís Treaty in 1819, effective 1821.