Who did Mexico get its independence from?
Because of that, mexico achieved its independence from the Spanish Empire, ending more than three centuries of colonial rule and establishing a sovereign nation in 1821. The struggle was not a single event but a prolonged war that reshaped the political, social, and cultural landscape of North America. Below is a detailed exploration of the causes, key figures, turning points, and lasting consequences of Mexico’s fight for freedom from Spain.
Introduction
The question “who did Mexico get its independence from?” points directly to Spain, the European power that colonized the territory known as New Spain after the fall of the Aztec Empire in 1521. For over 300 years, Spanish administrators, missionaries, and settlers exploited the region’s rich silver mines, fertile lands, and indigenous labor. Growing resentment among criollos (American‑born Spaniards), mestizos, indigenous peoples, and Afro‑Mexicans eventually ignited a revolutionary movement that culminated in the signing of the Treaty of Córdoba and the proclamation of an independent Mexican state The details matter here..
Historical Background: Colonial New Spain
- Administrative structure – The Viceroyalty of New Spain was governed by a viceroy appointed by the Spanish crown, with a rigid caste system that placed Peninsular Spaniards at the top, followed by criollos, mestizos, indigenous peoples, and enslaved Africans.
- Economic exploitation – Silver from mines such as Zacatecas and Guanajuato flowed to Spain, financing European wars while leaving local populations impoverished.
- Intellectual currents – Enlightenment ideas circulating in Europe and the successful American (1776) and Haitian (1804) revolutions inspired criollo elites to question monarchical authority.
- Crisis of legitimacy – The Napoleonic invasion of Spain in 1808 weakened royal authority, creating a power vacuum that colonists began to fill with their own governing juntas.
These factors set the stage for a widespread uprising when the call to arms finally sounded.
The Spark of Independence: Hidalgo’s Cry
On September 16, 1810, parish priest Miguel Hidalgo y Costilla delivered the famous Grito de Dolores (“Cry of Dolores”) in the small town of Dolores, Guanajuato. This proclamation urged the populace to rise against Spanish rule, reclaim lands taken from indigenous communities, and defend the Catholic faith against perceived heresies Less friction, more output..
Immediate Effects of the Grito
- Mass mobilization – Thousands of peasants, indigenous workers, and mestizos joined Hidalgo’s makeshift army, armed mostly with farming tools and a few firearms.
- Early victories – The insurgent forces captured key cities such as Guanajuato and Valladolid, demonstrating that colonial rule could be challenged.
- Limitations – Lack of training, discipline, and clear political objectives led to atrocities that alienated potential criollo supporters and provoked a brutal royalist backlash.
Although Hidalgo was captured and executed in 1811, his cry ignited a flame that would not be extinguished.
The Struggle and Turning Points
After Hidalgo’s death, leadership passed to José María Morelos y Pavón, another priest who brought greater organization and a clear vision for a republican Mexico.
Morelos’ Campaign (1811‑1815)
- Congress of Anáhuac – In 1813, Morelos convened a congress that drafted the Sentimientos de la Nación, a precursor to Mexico’s first constitution, calling for equality, abolition of slavery, and racial integration.
- Geographic reach – Morelos’ forces operated across southern and central Mexico, securing territories that would later become the states of Michoacán, Guerrero, and Oaxaca.
- Defeat and martyrdom – Royalist forces under General Félix María Calleja defeated Morelos in 1815; he was captured, tried for treason, and executed.
Despite these setbacks, the insurgency persisted through guerrilla warfare led by figures such as Vicente Guerrero and Guadalupe Victoria, who kept the spirit of resistance alive in the mountains of southern Mexico.
The Liberal Shift in Spain
In 1820, a liberal uprising in Spain forced King Ferdinand VII to accept the Cadiz Constitution of 1812, which limited monarchical power and promised greater representation. This development alarmed conservative criollos in New Spain, who feared that liberal reforms would threaten their privileged status and the Catholic Church’s influence The details matter here..
The Plan of Iguala and the Treaty of Córdoba
Seeing an opportunity to preserve their interests while achieving autonomy, conservative criollo officer Agustín de Iturbide switched sides and allied with the insurgent leader Vicente Guerrero. Together they formulated the Plan of Iguala on February 24, 1821 No workaround needed..
Three Guarantees of the Plan of Iguala
- Religion – Mexico would remain a Catholic nation; the Church’s privileges were protected.
- Independence – New Spain would break from Spain and become a sovereign monarchy.
- Unity – All inhabitants, regardless of race or class, would be equal citizens of the new nation.
The Plan’s inclusive rhetoric attracted broad support, including many royalist troops who deserted to join the Army of the Three Guarantees.
Treaty of Córdoba
On August 24, 1821, Iturbide and the last Spanish Viceroy, Juan O’Donojú, signed the Treaty of Córdoba in Veracruz. The treaty ratified the Plan of Iguala, formally recognizing Mexican independence and establishing a provisional government under Iturbide as president of the regency.
Formal Declaration
- September 27, 1821 – The Army of the Three Guarantees triumphantly entered Mexico City.
- September 28, 1821 – The Declaration of Independence of the Mexican Nation was read aloud, marking the official end of Spanish rule.
Aftermath and Legacy
Early Political Instability
- Imperial interlude – Iturbide proclaimed himself Emperor Agustín I in 1822, but his authoritarian tendencies provoked opposition, leading to his abdication in
- The empire collapsed, and the 1824 Constitution established the First Mexican Republic, with Guadalupe Victoria becoming the first president. Yet the new state faced immense challenges: regional caudillos vied for power, the economy lay in ruins, and ideological divisions between centralists and federalists deepened. These fractures would later erupt in the Pastry War, the Reform War, and the French Intervention, each testing the fragile unity forged in 1821.
Conclusion
Mexico's independence emerged from a complex tapestry of rebellion, alliance, and compromise. Though the initial promise of the Plan of Iguala—equality among creoles, indigenous peoples, and Spaniards—remained largely unfulfilled, the successful expulsion of royal authority created a sovereign nation capable
…capable of charting its own destiny despite the turbulence that followed. The early years of the republic were marked by a struggle to translate the lofty ideals of the Plan of Iguala into everyday governance. Land reform remained elusive, indigenous communities continued to face dispossession, and the Catholic Church retained considerable influence, often acting as a counterweight to secular authorities. Still, the experience of 1821 forged a shared national consciousness that transcended regional loyalties. Symbols such as the tricolor flag, the anthem “Himno Nacional Mexicano,” and the celebration of September 16 as Independence Day became rallying points for subsequent generations And that's really what it comes down to..
The legacy of the independence movement also reverberated beyond Mexico’s borders. In practice, inspired by the successful break from a European power, Latin American leaders looked to Mexico’s example when pursuing their own emancipatory struggles. On top of that, the debates over centralism versus federalism that erupted after Iturbide’s fall laid the groundwork for the country’s enduring constitutional experimentation, influencing later reforms such as the 1857 Constitution and the revolutionary ideals of 1910‑1920.
In retrospect, Mexico’s independence was less a singular event than a process—a blend of popular uprising, elite negotiation, and pragmatic compromise. While the promise of equality remained partially unmet, the creation of a sovereign state opened the possibility for future reforms, social movements, and cultural renaissances that continue to shape the nation’s identity. The story of 1821 reminds us that sovereignty is not merely the withdrawal of foreign rule but the ongoing project of building a just, inclusive, and self‑determined society.