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.
Spanish Empire
A long period of wars followed in America from 1811 to 1829. In South America this period of wars led to the independence of Argentina (1810), Venezuela (1810), Chile (1810), Paraguay (1811) and Uruguay (1815, but subsequently ruled by Brazil until 1828). José de San Martín campaigned for independence in Chile (1818) and in Peru (1821). Further north, Simón Bolívar led forces that won independence between 1811 and 1826 for the area that became Venezuela, Colombia, Ecuador, Perú and Bolivia (then Alto Perú). In the Viceroyalty of New Spain, free-thinking secular priest, Miguel Hidalgo y Costilla, declared Mexican freedom in 1810 in the Grito de Dolores. Independence was actually won in 1821 by a royalist army officer turned insurgent, Agustín de Iturbide, in alliance with insurgent Vicente Guerrero and under the Plan of Iguala. The conservative Catholic hierarchy in New Spain supported Mexican independence largely because it found the liberal Spanish Constitution of 1812 abhorrent.