Stephen F. Austin traveled to Mexico to ask the general, Antonio Lopez to reopen Mexico to immigration and to make it a separate Mexican state. The general was a power-hungry dictator and put Stephen into jail. He was later released in 1835 and marched north with about 6,000 troops.
The Santa Anna army marched north into Texas and showed a black flag to the Texans meaning "except no mercy." William Travis answered with a cannon shot. The Santa Anna army surrounded the Texans and were outnumbered. They were forced to surrender.
Texas Wins its Independence
Since the Texans were vastly outnumbered, Travis pleaded for reinformcements. He vowed not to abandon the Alamo, proclaiming "victory or death". But no reinforcements came.
To Annex Texas or Not
The Mexicans pounded the Alamo with their cannonballs. Everyone defending the Alamo died or was executed. The Santa Anna army described the fight as "but a small affair". The Texans were furious at the decision to kill anyone defending the Alamo.
The Texans had retreated eastward into Texas to lure the Santa Anna army further into Texas to fatigue them. During the night, the Houston army attacked the Santa Anna army at the San Jacinto River yelling "Remember the Alamo". Santa Anna was captured the next day and the Texas war for independence has been won.
Since Texas had won its independence, it was titled as the Lone Star Republic because of the single star on their flag. Texas remained independent for another ten years. And the United States were divided whether to add Texas or not.