Antonio López de Santa Anna gained much prestige in 1829 when he fought against Spain’s attempt to reconquer Mexico, and he became known as the Hero of Tampico. This helped him gain the presidency in 1833 as a federalist and an opponent of the Roman Catholic Church; in actuality, however, he established a centralized state.