Who Ended the Mexican War for Independence?
The Mexican War for Independence was one of the most transformative struggles in the history of the Americas. And through a remarkable combination of military strategy, political negotiation, and sheer audacity, Iturbide orchestrated the conditions that led to Mexico's independence. Lasting over a decade, from 1810 to 1821, it saw countless heroes rise, fall, and rise again in the pursuit of freedom from Spanish colonial rule. While many brave individuals contributed to the eventual success of the movement, it was Agustín de Iturbide who played the most decisive role in bringing the war to an end. Yet, his story is only one piece of a much larger and more complex puzzle that involved insurgent fighters, royalist officers, and shifting political tides on both sides of the conflict And that's really what it comes down to. Less friction, more output..
The Beginning of the Struggle
To understand who ended the war, Make sure you first appreciate how it began. It matters. But the conflict was ignited on September 16, 1810, when Miguel Hidalgo y Costilla, a Catholic priest, issued the famous Grito de Dolores in the town of Dolores. This passionate call to arms rallied thousands of indigenous people, mestizos, and poor criollos against the Spanish colonial government. Hidalgo's army surged through central Mexico, capturing key cities and striking at the heart of colonial authority.
Still, Hidalgo was captured and executed in 1811, and the leadership of the independence movement passed to José María Morelos, another priest and a brilliant military strategist. Morelos organized the insurgency more effectively, establishing a Congress and even drafting a constitution. His campaigns were remarkably successful, but he too was eventually captured and executed in 1815. After Morelos's death, the insurgent movement fragmented into smaller guerrilla bands led by figures such as Vicente Guerrero and Guadalupe Victoria, who continued to resist Spanish authority in the rugged terrain of southern and western Mexico The details matter here. Practical, not theoretical..
The Royalist Response and the Rise of Iturbide
For much of the war, the Spanish royalist forces maintained control over most of the country, particularly the major cities and trade routes. So the Spanish Crown sent experienced military commanders to suppress the rebellion, and by the early 1820s, the insurgents were on the defensive. Consider this: spain, however, was itself in political turmoil. The Napoleonic Wars in Europe had weakened Spain's grip on its overseas territories, and a wave of independence movements was sweeping across Latin America.
It was in this context that Agustín de Iturbide emerged as the figure who would ultimately end the war. Iturbide was a former royalist military officer of Basque and Spanish descent who had built a reputation as a skilled and disciplined commander. He was initially tasked with defeating the remaining insurgent forces, particularly those led by Vicente Guerrero in the southern mountains of Oaxaca and Guerrero state.
What made Iturbide different from his predecessors was his willingness to think beyond the rigid boundaries of loyalty to the Spanish Crown. By 1820, he recognized that Spain's control over Mexico was becoming untenable. Liberal reforms were being implemented in Spain itself, and the political climate both in Europe and in the Americas was shifting irreversibly toward self-governance. Iturbide saw an opportunity not just to end the war through military victory, but to claim independence on terms that would preserve social order and protect the interests of those who had supported the colonial system.
The Plan of Iguala: The Turning Point
In February 1821, Iturbide and Guerrero, the very insurgent leader he had been hunting, met and agreed to unite their forces under a shared vision for Mexican independence. The result was the Plan of Iguala, announced on February 24, 1821. This landmark document outlined three fundamental principles, often referred to as the Three Guarantees:
- Religion – Catholicism would remain the official religion of Mexico, reassuring conservative elites and the Church.
- Independence – Mexico would become a sovereign nation, free from Spanish rule.
- Unity – All inhabitants of Mexico, regardless of race or social standing, would be treated as equals under a unified national identity.
Let's talk about the Plan of Iguala was a masterstroke of political compromise. It appealed to conservatives who feared social upheaval, to liberals who desired self-governance, and to the broader population who sought dignity and recognition. It also offered a generous amnesty to former insurgents and invited royalist soldiers to join the cause of independence.
The Army of the Three Guarantees was formed under Iturbide's command and began a relentless campaign to secure support across the country. Unlike previous military engagements, this was as much a political and diplomatic effort as it was a military one. But towns, garrisons, and even former royalist officials began to pledge allegiance to the Plan. The Spanish viceroy, Juan O'Donojú, found himself increasingly isolated and powerless Less friction, more output..
The Treaty of Córdoba and the End of the War
By August 1821, Iturbide's forces had effectively controlled most of Mexico. This treaty, negotiated between Iturbide's representatives and the Spanish viceroy, formally recognized Mexico's independence from Spain. The final act came with the signing of the Treaty of Córdoba on August 24, 1821. The viceroy, lacking the support of either his troops or the Spanish government, agreed to the terms and departed for Spain.
On September 27, 1821, the Army of the Three Guarantees made its triumphant entry into Mexico City. In real terms, the following day, September 28, the Declaration of Independence of the Mexican Empire was formally proclaimed. Iturbide himself became the first Emperor of Mexico, taking the title Agustín I.
Easier said than done, but still worth knowing.
Something to keep in mind that while Iturbide received the lion's share of credit for ending the war, he did not do it alone. Vicente Guerrero's willingness to set aside years of armed struggle and join forces with a former enemy was an act of extraordinary pragmatism and patriotism. Guadalupe Victoria and other insurgent leaders also played crucial roles in maintaining pressure on Spanish forces and keeping the flame of independence alive during its darkest years. Even the broader context of Latin American independence movements, including the victories of Simón Bolívar and José de San Martín in South America, helped create an international environment in which Spanish colonialism was no longer sustainable.
Most guides skip this. Don't.
Why Iturbide's Role Was Decisive
What set
What set Iturbide apart from other revolutionary leaders was his rare ability to combine military competence with political acumen in a way that transcended traditional factional loyalties. Which means while many insurgents were bound by rigid ideological commitments—whether to liberal republicanism or conservative centralization—Iturbide demonstrated a pragmatic flexibility that allowed him to bridge divides that had otherwise remained irreconcilable. His decision to present himself not merely as a general but as a unifying figure capable of reconciling conflicting visions proved instrumental in securing broad-based support throughout the nation.
This diplomatic dimension extended beyond mere rhetoric. Day to day, iturbide understood that the path to independence required more than battlefield victories; it demanded the careful cultivation of legitimate authority both domestically and internationally. In practice, he leveraged existing networks of royalist loyalty within the army, offering them positions and titles upon their surrender rather than pursuing punitive retribution. This policy of reconciliation, though controversial among hardline insurgents like Guerrero who advocated for total victory through force, ultimately saved countless lives and prevented the kind of prolonged civil conflict that could have destabilized the nascent state. His correspondence with foreign powers, particularly the United States and Great Britain, further underscored his strategic vision, as he positioned Mexico’s independence within a broader framework of emerging global anti-colonial sentiment.
Still, Iturbide’s legacy remains complex. That's why his rapid ascent to the throne of Agustín I, crowned just months after declaring independence, raised questions about the stability of a monarchy born from revolution. The very structure he championed—the unity of All Mexicans under a single national identity—would later face challenges as regional identities resurfaced and debates over land reform, caste dynamics, and federal versus central authority intensified. Even so, nonetheless, his immediate accomplishment of ending Spanish rule and establishing a sovereign Mexican state cannot be overstated. By demonstrating that a unified front could prevail without sacrificing core principles, Iturbide laid the groundwork for a nation that would endure long after his own reign dissolved into scandal and exile But it adds up..
In retrospect, the Mexican War of Independence stands as a testament to the power of charismatic leadership combined with shrewd political calculation. Iturbide’s contributions extend far beyond the military campaigns that top historians often point out; he was the architect of a new political order, the diplomat who secured international legitimacy, and the unifier who gave voice to aspirations that resonated across class and region. His story serves as both inspiration and cautionary tale—a reminder that the path to freedom requires not only courage in arms but equally steadfast resolve in governance. The echoes of his decisions can still be heard today in Mexico’s ongoing struggles to balance unity with diversity, democracy with tradition, and ambition with accountability That's the part that actually makes a difference..