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
José de San Martín Nearly 700 expeditionary soldiers of New Granada deserted and joined the patriots. Several populations in the north of Peru supported San Martín, and Arenales defeated the royalists at the Battle of Pasco. More than 300 royalists joined the patriots, including Andrés de Santa Cruz. However, the plans did not fully work as intended. The native populations that joined Arenales could not resist the royalist counter-attacks, and the slaves did not join the army in the expected numbers. The Argentine provinces could not send the supporting army that San Martín had requested earlier, and the Army of the North no longer