Answer:
Mexico i think
Explanation:
Although Mexico's war of independence pushed out Spain in 1821, Texas did not remain a Mexican possession for long. It became its own country, called the Republic of Texas, from 1836 until it agreed to join the United States in 1845.