In 1816, the viceroyalty of Peru remained unshaken in its loyalty to the Spanish monarch, and troops from there had managed to gain a foothold in Upper Peru and dominate Chile.
·