sentences:  He was promoted to brigadier and given command of the Battalion Infante Don Calres in Lima in 1811.In January 1814 he was sent to Chile by Viceroy José Fernando de Abascal y Sousa as captain general of the kingdom and commanding general of the royalist forces.He replaced Juan Francisco Sánchez, a captain who led the royalist forces in Chillán after the death of Brigadier Antonio Pareja.