Chile Miguel Carrera (one of the most renowned patriots) and his two brothers Juan José and Luis Carrera, soon gained a wider following. Spanish attempts to re-impose arbitrary rule during what was called the Reconquista led to a prolonged struggle, including infighting from Bernardo O'Higgins, who challenged Carrera's leadership. Intermittent warfare continued until 1817. With Carrera in prison in Argentina, O'Higgins and anti-Carrera cohort José de San Martín, hero of the Argentine War of Independence, led an army that crossed the Andes into Chile and defeated the royalists. On 12 February 1818, Chile was proclaimed an independent republic. The political revolt
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".