The correct answer is the Adams-Onis Treaty.
This 1819 land agreement between the United States and Spain. This land treaty helped to establish a clear between Spanish and US territories. In this treaty, the US gained the rest of modern day Florida while the Spanish border would now definitively start at the Sabine River.