Yes, Texas first it revolted against Mexico in 1835 and got the status of a "rebel province". After the Mexican-American War (1846-1848) Mexico had to accept the loss of Texas to the United States.
Texas seceded from Mexico, becoming momentarily the Texas Republic. It was not recognized by Mexico as such, being viewed as a rebel province to re-acquire on a later date if possible, by peaceful means.
The Texas rebel leader during the Texas Revolution was Sam Houston. He played a crucial role in leading the Texian army to victory against Mexican forces at the Battle of San Jacinto in 1836, which ultimately secured Texas independence from Mexico. Houston later became the first president of the Republic of Texas and is a prominent figure in Texas history.
Mexico
One of the first Spanish colonies to rebel against Spain was Mexico, with the Mexican War of Independence beginning in 1810.
Texas fought against Mexico between 1835 and 1836. This conflict is known as the Texas Revolution.
Mexico
Texas itself; before the Texas Revolution (1835-1836) Texas had been a territory of Mexico and until the Mexican-American War (1846-1848) it was seen as a rebel province to acquire on a later date.
Enmity. Texas was viewed as a rebel territory, to be later re-acquired by peaceful means, but by force if necessary.
1814
Sam Houston
it shared a border with mexico