Spain sought to strengthen its control over North America by promoting Catholicism and prohibiting American settlement in Texas. However, Americans increasingly outnumbered Mexicans in Texas in the early 1830s. In 1835, Americans ignored new Mexican laws banning slavery and further immigration. This led to the Texas War for Independence, culminating in the famous stand at the Alamo in 1836 where William Travis, Davy Crockett, James Bowie and others fought to the death against Santa Anna's forces. Texas eventually declared independence after Sam Houston defeated Santa Anna at the Battle of San Jacinto, leading to Texas joining the United States as a state in 1845.