In 1836 Antonio López de Santa Anna marched into Texas to quell a rebellion primarily by U.S. settlers there. During this expedition, Texas declared its independence from Mexico. His army defeated Texan forces at the Alamo and Goliad before moving eastward to the San Jacinto River, where he was defeated and captured by Gen. Sam Houston.