Remember also that #Texas was a de facto independent republic from 1836 to 1845. They immediately sought annexation by the #UnitedStates but faced complications due to the slavery debate and potential war with #Mexico.
Instead, the Republic of Texas was recognized by the US, Belgium, France, the Netherlands, and the UK.
American political winds shifted in 1843, Texas got its statehood (without an intervening territorial phase), and the US got its Mexican war.