The Mexican War of Independence was New Spain's eleven-year war of the whole people. After the Grito de Dolores of 16 September 1810, the priest Hidalgo's host of 100,000 took Guanajuato and neared Mexico City; he was captured and shot in 1811, and his lieutenant Morelos took over, holding the south by guerrilla for four years until his own capture and martyrdom in 1815 — the rising's first stage, carried by priests and Indian villagers, had the color of deep social revolution, and the creole elite feared it. With the war at ebb, the Spanish liberal revolution of 1820 pushed the royalist general Iturbide to seek his own road: he joined the surviving guerrilla leader Guerrero, and in February 1821 issued the Plan of Iguala, the three guarantees — religion, independence, union — as the bond; in August the Treaty of Córdoba acknowledged Mexican independence, and in September the Army of the Three Guarantees entered the capital. In 1822 Iturbide enthroned himself as emperor and was deposed within the year — the succession of power accomplished, while the war (its dead reckoned in the hundreds of thousands) left the social rifts that open the age of Latin America's caudillo politics.