Spanish colonization of the Americas were predominantly "criollos" (Americas-born people of European ancestry, mostly Spanish or Portuguese), bourgeois and influenced by liberalism and in some cases with military training in the mother country. In 1809 the first declarations of independence from Spanish rule occurred in the Viceroyalty of New Granada. The first two were in present-day Bolivia at Sucre (May 25), and La Paz (July 16); and the third in present-day Ecuador at Quito (August 10). In 1810 Mexico declared independence, with the Mexican War of Independence following for over a decade. In 1821 Treaty of Córdoba established Mexican independence from Spain and concluded the
Ecuadorian War of Independence Guaranda on September 2, 1821. Aymerich moved to block any further progress, and in the Second Battle of Huachi, which took place on September 12, 1821, annihilated Sucre's infantry. The patriot forces lost 800 men, mostly killed, plus 50 prisoners, among them General Mires. As Second Huachi had also taken a heavy toll on the Royalists, Aymerich decided against exploiting his victory with an advance on the coastal plains. On November 19, 1821, a 90-day armistice was signed at Babahoyo, putting an end to Sucre's ill-fated first attempt to liberate Quito. Ecuadorian War of Independence The Ecuadorian War of Independence