News of the defeats sparked the Runaway Scrape, where much of the population of Texas and the Texas provisional government fled east, away from the approaching Mexican army. Many settlers rejoined the Texian army, then commanded by General Sam Houston. After several weeks of maneuvering, on April 21, 1836, the Texian Army attacked Santa Anna's forces near the present-day city of Houston at the Battle of San Jacinto. They captured Santa Anna and forced him to sign the Treaties of Velasco, ending the war.