Treaty of Córdoba
The Treaty of Córdoba established Mexican independence from Spain at the conclusion of the Mexican War of Independence. It was signed on August 24, 1821 in Córdoba, Veracruz, Mexico. The signatories were the head of the Army of the Three Guarantees, Agustín de Iturbide, and, acting on behalf of the Spanish government, "Jefe Político Superior" Juan O'Donojú. The treaty has 17 articles, which developed the proposals of the Plan of Iguala. The Treaty is the first document in which Spanish (without authorization) and Mexican officials accept the liberty of what will become the First Mexican Empire, but it is not today recognized as the foundational moment, since these ideas are often attributed to the Grito de Dolores (September 16, 1810). The treaty was rejected by the Spanish government. Spain did not recognize Mexico's independence until December 1836.
New Spain
In the 1821 Declaration of Independence of the Mexican Empire, both Mexico and Central America declared their independence after three centuries of Spanish rule and formed the First Mexican Empire, although Central America quickly rejected the union. After priest Miguel Hidalgo y Costilla's 1810 Grito de Dolores (call for independence), the insurgent army began an eleven-year war. At first, the Criollo class fought against the rebels. But in 1820, a military coup in Spain forced Ferdinand VII to accept the authority of the liberal Spanish Constitution. The specter of liberalism that could undermine the authority and autonomy of the Roman Catholic Church made the Church hierarchy in New Spain view independence in a different light. In an independent nation, the Church anticipated retaining its power. Royalist military officer Agustín de Iturbide proposed uniting with the insurgents with whom he had battled, and gained the alliance of Vicente Guerrero, leader of the insurgents in a region now bearing his name. Royal government collapsed in New Spain and the Army of the Three Guarantees marched triumphantly into Mexico City in 1821.