In Mexico, the conservative government led by Santa Anna lost Texas, California and half of the territory to the United States in the Mexican–American War of 1845-48. Derived from this catastrophe and chronic stability problems, the Liberal Party started a reformist movement. This movement, via elections, led liberals to formulate the "Plan of Ayutla". The Plan written in 1854 aimed at removing conservative, centralist President Antonio López de Santa Anna from control of Mexico during the Second Federal Republic of Mexico period. Initially, it seemed little different from other political plans of the era, but it is considered the first act of the Liberal Reform in Mexico. It was the catalyst for revolts in many parts of Mexico, which led to the resignation of Santa Anna from the presidency, never to vie for office again. The next Presidents of Mexico were the liberals, Juan Álvarez, Ignacio Comonfort, and Benito Juárez. The new regime would then proclaim the 1857 Mexican Constitution, which implemented a variety of liberal reforms. Among other things, these reforms confiscated religious property, aimed to promote economic development and to stabilize a nascent republican government. The reforms led directly to the so-called Three Years War or Reform War of 1857. The liberals won this war but the conservatives solicited the French Government of Napoleon III for a European, conservative Monarch, deriving into the "Second French intervention in Mexico". Under the puppet Habsburg government of Maximilian I of Mexico, the country became a client state of France (1863-1867).