The Mexican War of Independence (Spanish: Guerra de Independencia de México) was an armed conflict and political process, lasting from 1808 to 1821, resulting in Mexico's independence from Spain. It was not a single, coherent event, but local and regional struggles that occurred within the same time period, and can be considered a revolutionary civil war.[2] Independence was not an inevitable outcome, but events in Spain itself had a direct impact on the outbreak of the armed insurgency in 1810 and its course until 1821. Napoleon Bonaparte's invasion of Spain in 1808 touched off a crisis of legitimacy of crown rule, since he had placed his brother Joseph on the Spanish throne after forcing the abdication of the Spanish monarch Charles IV. In Spain and many of its overseas possessions the local response was to set up juntas ruling in the name of the Bourbon monarchy. Delegates in Spain and overseas territories met in Cádiz, Spain, still under Spanish control, as the Cortes of Cádiz, which drafted the Spanish Constitution of 1812. That constitution sought to create a new governing framework in the absence of the legitimate Spanish monarch. It tried to accommodate the aspirations of American-born Spaniards for more local control and equal standing with Peninsular-born Spaniards. This political process had far reaching impacts in New Spain, during the independence period and beyond.
In September 1808 peninsular-born Spaniards in New Spain overthrew the rule of Viceroy José de Iturrigaray (1803–08), who had been appointed before the French invasion. In 1810, a few American-born Spaniards in favor of independence began plotting an uprising against Spanish rule. It occurred when the parish priest of the village of Dolores, Miguel Hidalgo y Costilla, issued the Cry of Dolores on September 16, 1810. The Hidalgo revolt touched off the armed insurgency for independence, lasting until 1821. The colonial regime did not expect the size and duration of the insurgency, which spread from the Bajío region north of Mexico City to the Pacific and Gulf Coasts. With Napoleon's defeat, Ferdinand VII succeeded to the throne of the Spanish Empire in 1814, and promptly repudiated the constitution and returned to absolutist rule. In 1820 when Spanish liberals overthrew the autocratic rule of Ferdinand VII, and conservatives in New Spain saw political independence as a way to maintain their position. Former royalists and old insurgents formed an alliance under the Plan of Iguala and forged the Army of the Three Guarantees. The momentum of independence saw the collapse of royal government in Mexico and the Treaty of Córdoba ended the conflict.[3]
The mainland of New Spain was organized as the Mexican Empire.[4] This ephemeral Catholic monarchy was overthrown and a federal republic declared in 1823 and codified in the Constitution of 1824. After some Spanish reconquest attempts, including the expedition of Isidro Barradas in 1829, Spain under the rule of Isabella II recognized the independence of Mexico in 1836.[5]
There is evidence that from an early period in post-conquest Mexican history that some elites began articulating the idea of a separate Mexican identity.[6] Despite that, there were relatively few challenges to Spanish imperial power before the insurgency for independence in the early nineteenth century, following the French invasion of the Iberian peninsula in 1808.
One early challenge was by Spanish conquerors whose encomienda grants from the crown, rewards for conquest were to be ended following the deaths of the current grant holders. The encomenderos' conspiracy included Don Martín Cortés (son of Hernán Cortés). The marquis was exiled, other conspirators were executed.[7] Another challenge occurred in 1624 when elites ousted the reformist viceroy who sought to break up rackets from which they profited and curtail opulent displays of clerical power. Viceroy Marqués de Gelves was removed, following an urban riot of Mexico City plebeians in 1624 stirred up by those elites.[8][9] The crowd was reported to have shouted, "Long live the King! Love live Christ! Death to bad government! Death to the heretic Lutheran [Viceroy Gelves]! Arrest the viceroy!" The attack was against Gelves as a bad representative of the crown and not against the monarchy or colonial rule itself.[10] In 1642, there was also a brief conspiracy in the mid-seventeenth century to unite American-born Spaniards, blacks, Indians and castas against the Spanish crown and proclaim Mexican independence. The man seeking to bring about independendence called himself Don Guillén Lampart y Guzmán, an Irishman born William Lamport. Lamport's conspiracy was discovered, and he was arrested by the Inquisition in 1642, and executed fifteen years later for sedition. There is a statue of Lamport in the mausoleum at the base of the Angel of Independence in Mexico City.