From 1821 to 1877, there were two emperors, several dictators, and enough presidents and provisional executives to make a new government on the average of every nine months. Mexico lost Texas (1836), and after defeat in the war with the U.S. (1846–1848), it lost the area that is now California, Nevada, and Utah, most of Arizona and New Mexico, and parts of Wyoming and Colorado under the Treaty of Guadalupe Hidalgo. In 1855, the Indian patriot Benito Juárez began a series of reforms, including the disestablishment of the Catholic Church, which owned vast property. The subsequent civil war was interrupted by the French invasion of Mexico (1861) and the crowning of Maximilian of Austria as emperor (1864). He was overthrown and executed by forces under Juárez, who again became president in 1867.