The land we know today as Texas was originally territory of which country?

The land now known as Texas was originally territory of Mexico.