The Captaincy General of Chile (1541–1818) was part of the Spanish colonial Viceroyalty of Peru in present day Chile.