an Entity references as follows:
The Captaincy General of Chile (Capitanía General de Chile [kapitaˈni.a xeneˈɾal ðe ˈt͡ʃile]) or Governorate of Chile (known colloquially and unofficially as the Kingdom of Chile), was a territory of the Spanish Empire, from 1541 to 1818. It comprised most of modern-day Chile and southern parts of Argentina. Its capital was Santiago de Chile. In 1818 it declared itself independent, becoming the Republic of Chile. It had a number of Spanish governors over its long history and several kings.