In 1835, Antonio López de Santa Anna had established himself as a dictator in Mexico. Among Anglo-American colonists and Tejanos alike, the call for Texas independence became more prominent after the start of the dictator’s reign.
On March 2, 1836, during the Battle of the Alamo, a delegation at Washington-on-the-Brazos adopted the Texas Declaration of Independence, which created the Republic of Texas, a country independent from Mexico.
After Texas became it’s own republic, and after the Texan revolutionary soldiers’ loss at the Battle of the Alamo, soldiers led by Sam Houston would fight in the Battle of San Jacinto to secure a victory against the Mexican army.

Eventually Mexico would recognize the independence of Republic of Texas.