The liberals drafted and ratified the Constitution of 1857, which enshrined rights such as universal male suffrage and eliminated Church and army privileges. The overthrowal of Santa Anna, however, led to widespread dissatisfaction among conservative Mexicans and led to a twenty-two-year conflict and two wars between conservatives and liberals. In 1862, on the invitation of Mexican conservatives, Maximilian Habsburg was crowned Emperor of Mexico after a successful French invasion of the country.