The Grito de Dolores ("Cry of Dolores") also known as El Grito de la Independencia ("Cry of Independence"), uttered from the small town of Dolores near Guanajuato on September 16, 1810, is the event that marks the beginning of the Mexican War of Independence and is the most important national holiday observed in Mexico. The "Grito" was the battle cry of the Mexican War of Independence by Miguel Hidalgo y Costilla, a Roman Catholic priest. Hidalgo and several criollos were involved in a planned revolt against the Spanish colonial government, and the plotters were betrayed. Fearing his arrest, Hidalgo commanded his brother Mauricio as well as Ignacio Allende and Mariano Abasolo to go with a number of other armed men to make the sheriff release the pro-independence inmates there on the night of September 15. They managed to set eighty free. Around 6:00 am September 16, 1810, Hidalgo ordered the church bells to be rung and gathered his congregation. Flanked by Allende and Juan Aldama, he addressed the people in front of his church, encouraging them to revolt. The Battle of Guanajuato, the first major engagement of the insurgency, occurred four days later. Mexico's independence from Spain was effectively declared in the Declaration of Independence of the Mexican Empire on September 27, 1821, after a decade of war. Unrest followed for the next several decades, as different factions fought for control of Mexico.

When did Mexico gain independence?