History of Spain (1810–73) daring march from Venezuela to New Granada (Colombia), he defeated Spanish forces at the Battle of Boyacá in 1819, ending Spanish rule in Colombia. Venezuela was liberated on 24 June 1821 when Bolívar destroyed the Spanish army on the fields of Carabobo on the Battle of Carabobo. Argentina declared its independence in 1816 (though it had been operating with virtual independence as a British client since 1810 after successfully resisting a British invasion). Chile was retaken by Spain in 1814, but lost permanently in 1817 when an army under José de San Martín, crossed the Andes Mountains from Argentina to
Antonio López de Santa Anna enough to send him to school. In June 1810, the 16-year-old Santa Anna joined the Fijo de Veracruz infantry regiment as a cadet against the wishes of his parents, who wanted him to pursue a career in commerce. In September 1810, secular cleric Miguel Hidalgo y Costilla rebelled against Spanish rule, sparking a spontaneous mass movement in Mexico's rich agricultural area, the Bajío. The Mexican War of Independence was to last until 1821, and Santa Anna, like most creole military men, fought for the crown against the mixed-raced insurgents for independence. Santa Anna's commanding officer was José Joaquín de Arredondo,