Mexican War of Independence Spain led to an outbreak of numerous revolts against colonial government across Spanish America. After the abortive Conspiracy of the Machetes in 1799, a massive revolt in the Bajío region was led by secular cleric Miguel Hidalgo y Costilla. His Grito de Dolores was the first stage of the insurgency for Mexican independence. Before 1810, there was no significant support for independence. Once the Hidalgo revolt was underway, it received major support only in the Bajío and parts of Jalisco. Miguel Hidalgo y Costilla, a priest and member of a group of educated "Criollos" in Querétaro City, hosted secret gatherings
Latin American wars of independence movement against their colonial master, finally ended as a full-fledged civil war. Traditionally, the process is divided into three stages: Patria Vieja, Reconquista, and Patria Nueva. The first uprising against Spanish rule took place in 1809, and criollos in Ecuador set up a junta on September 22, 1810 to rule in the name of the Bourbon monarch; but as elsewhere, it allowed assertion of their own power. Only in 1822 did Ecuador fully gain independence and became part of Gran Colombia, from which it withdrew in 1830. At the Battle of Pichincha, near present-day Quito, Ecuador on May 24, 1822,