History of Chile the Spaniards at the Battle of Chacabuco on February 12 and marking the beginning of the "Patria Nueva". San Martín considered the liberation of Chile a strategic stepping-stone to the emancipation of Peru, which he saw as the key to hemispheric victory over the Spanish. Chile won its formal independence when San Martín defeated the last large Spanish force on Chilean soil at the Battle of Maipú on April 5, 1818. San Martín then led his Argentine and Chilean followers north to liberate Peru; and fighting continued in Chile's southern provinces, the bastion of the royalists, until 1826. A declaration
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