I thought that Texas was part of the Louisiana Purchase and was given to Mexico as part of the negotiations for Florida.
Am I wrong?
1803: The Louisiana Purchase extends the western boundary of the United States to the Rocky Mountains, occupying the drainage area of the Mississippi River, as estimated by the French explorer Robert La Salle. The Purchase doubled the territory of the United States.
1818: A convention with the United Kingdom established the northern boundary of the Louisiana Purchase at 49°N.
1819: Florida was ceded to the United States and purchased from Spain.