Texas and Yucatán, both territories of Mexico, were resistant to the order of the Mexican government and each decided to secede. The two territories' reasons for secession differed, but nonetheless they shared a common goal of independence. Texas seceded first in 1836, and Yucatán seceded in 1841 with help from Texan naval forces.