Answer:
On February 22, 1819, Spain and the United States signed the Adams-Onís Treaty. In this treaty Spain ceded both West and East Florida to the United States in exchange for compensation and the renunciation of American claims to Texas.
Explanation