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
Palmares (quilombo) This government was confederate in nature, and was led by an elected chief who allocated landholdings, appointed officials (usually family members), and resided in a type of fortification called Macoco. Six Portuguese expeditions tried to conquer Palmares between 1680 and 1686, but failed. Finally the governor of the captaincy of Pernambuco, Pedro Almeida, organized an army under the leadership of the Bandeirantes Domingos Jorge Velho and Bernardo Vieira de Melo and defeated a palmarista force, putting an end to the republic in 1694. Palmares was the general name given by the Portuguese in Pernambuco and Alagoas to the interior districts