The Spanish Crown gave the name legal status with the 1529 "Capitulación de Toledo", which designated the newly encountered Inca Empire as the province of Peru. Under Spanish rule, the country adopted the denomination Viceroyalty of Peru, which became the Republic of Peru after independence.