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 that it was not possible to defend Concepción, so he ordered O'Higgins to leave the city. 50,000 Chileans took cattle and grain and moved north, burning everything else, so that they did not leave supplies for the royalists. As he had done with the Tucumán Congress, San Martín urged a declaration of independence, to legitimize the government and the military actions. The Chilean Declaration of Independence was issued on 18 February 1818, one year after the battle of Chacabuco. San Martín, Las Heras and Balcarce met in Curicó, and the royalists in Talca, in a plain known as "Cancha rayada".