Mexican War of Independence the expedition of Isidro Barradas in 1829, Spain under the rule of Isabella II recognized the independence of Mexico in 1836. Mexican resistance and struggle for independence began with the brutal Spanish conquest of the Aztec Empire when Spanish conquerors had considerable autonomy from crown control. Don Martín Cortés (son of Hernán Cortés), the second marquis of the Valley of Oaxaca, led a conspiracy of holders of encomiendas against the Spanish crown after it sought to eliminate privileges for the conquistadors, particularly putting limitations on encomiendas. After the suppression of that mid-16th-century conspiracy, elites raised no substantial challenge to royal
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,