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
Bernardo Vieira de Melo captain-general on November 17, 1691. On January 8, 1695, he was appointed Captain-General of Rio Grande do Norte, and on September 25, 1709 Sergeant Major of the Third of Palmares, in which position he took an active part in War of the peddlers. In November 1710, Vieira was the first to call for the creation of a Republic in Brazil, an act for which he was arrested in Recife in 1712 and shipped to Lisbon with his son, André. He died in the Limoeiro prison in 1718. Bernardo Vieira de Melo Bernardo Vieira de Melo was the first Governor of