Answer:
Remembering how badly the Texans had been defeated at the Alamo, on April 21, 1836, Houston's army won a quick battle against the Mexican forces at San Jacinto and gained independence for Texas. Soon after, Houston was elected president of the Republic of Texas.