Mexico experienced constant conflict between conservatives and liberals after establishing a federal republican government in 1824. Antonio Lopez De Santa Anna was elected president as a liberal but governed as a centralist, ignoring the constitution. His inconsistent leadership contributed to ongoing tensions between political factions that sometimes erupted into war. Reforms initiated by liberals led to a new constitution and civil war in the late 1850s, with liberals emerging victorious led by Benito Juarez.