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
Jaime Miguel de Guzmán de Avalos y Spinola, Marquis of la Mina, Duke of Palata and Prince of Masa Fernando Castle in Figueras and the reconstruction of the Montjuich fortress. He was buried in the Barceloneta "San Miguel del Puerto Church", an area much decayed along the times but now flourishing again after the 1992 Barcelona Olympic Games. At his death in Barcelona he was replaced by Irish-Spanish General Bernardo O´Connor. Jaime Miguel de Guzmán de Avalos y Spinola, Marquis of la Mina, Duke of Palata and Prince of Masa Jaime de Guzmán y Spinola, II Marquis of la Mina (1690–1767) was a Spanish Army commander and Captain General of Catalonia. He was also the Fifth Count of Pezuela