Chile–Spain relations Captaincy General of Chile declared Chile as an autonomous republic within the Spanish monarchy. For the next decade, Chilean forces would battle Spanish troops for independence. In October 1814, Chilean troops lost during the Battle of Rancagua which led to the "Reconquista" of Chile by Spain from 1814-1817. In February 1817, troops led by General Bernardo O'Higgins, along with General José de San Martín and the "Army of the Andes" entered Chile from Argentina through the Andes and fought Spain in the Battle of Chacabuco which resulted in a Chilean/Argentine victory. In April 1818, O'Higgins and San Martín's forces fought
Battle of Ochomogo Battle of Ochomogo The Battle of Ochomogo (5 April 1823) was fought in Ochomogo, to the west of Cartago, Costa Rica, shortly after the country became independent from Spain. Republican militia from San José and Alajuela led by Gregorio José Ramírez defeated conservative forces from Cartago, the capital, who supported making Costa Rica part of the new Mexican Empire. The Republicans won and San José became capital of the country, which remained independent within the Federal Republic of Central America. Cartago was the first Spanish settlement in Costa Rica, founded in 1563 by Juan Vázquez de Coronado. It was the