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.
Mexican War of Independence
Iturbide's assignment to the Oaxaca expedition coincided with a successful military coup in Spain against the monarchy of Ferdinand VII. The coup leaders, part of an expeditionary force assembled to suppress the independence movements in the Americas, had turned against the monarchy. They compelled the reluctant Ferdinand to reinstate the liberal Spanish Constitution of 1812 that created a constitutional monarchy. When news of the liberal charter reached Mexico, Iturbide perceived it both as a threat to the status quo and a catalyst to rouse the criollos to gain control of Mexico. Independence was achieved when conservative Royalist forces in the colonies chose to rise up against the liberal regime in Spain; it was an about-face compared to their previous opposition to the peasant insurgency. After an initial clash with Guerrero's forces, Iturbide assumed command of the royal army. At Iguala, he allied his formerly royalist force with Guerrero’s radical insurgents to discuss the renewed struggle for independence.