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.
Military history of Mexico
In 1821 Agustín de Iturbide, a former Spanish general who switched sides to fight for Mexican independence, proclaimed himself emperor – officially as a temporary measure until a member of European royalty could be persuaded to become monarch of Mexico (see First Mexican Empire for more information). A revolt against Iturbide in 1823 established the United Mexican States. In 1824 Guadalupe Victoria became the first president of the new country; his given name was actually Félix Fernández but he chose his new name for symbolic significance: Guadalupe to give thanks for the protection of Our Lady of Guadalupe, and "Victoria", which means Victory.