According to early Spanish chronicles the Lima area was once called Ichma, after its original inhabitants. However, even before the Inca occupation of the area in the 15th century, a famous oracle in the Rimac valley had come to be known by visitors as Limaq (limaq, pronounced IPA: [?li-m?q], which means "talker" in coastal Quechua). This oracle was eventually destroyed by the Spanish and replaced with a church, but the name persisted in the local language, thus the chronicles show "Limac" replacing "Ychma" as the common name for the area.
Modern scholars speculate that the word "Lima" originated as the Spanish pronunciation of the native name Limaq. Linguistic evidence seems to support this theory as spoken Spanish consistently rejects stop consonants in word-final position. The city was founded in 1535 under the name City of the Kings (Spanish: Ciudad de los Reyes) because its foundation was decided on January 6, date of the feast of the Epiphany. Nevertheless, this name quickly fell into disuse and Lima became the city's name of choice; on the oldest Spanish maps of Peru, both Lima and Ciudad de los Reyes can be seen together as names for the city.
It is worth noting that the river that feeds Lima is called Rimac, and many people erroneously assume that this is because its original Inca name is "Talking River" (the Incas spoke a highland variety of Quechua where the word for "talker" was pronounced IPA: [?ri-m?q]).[citation needed] However, the original inhabitants of the valley were not the Incas, and this name is actually an innovation arising from an effort by the Cuzco nobility in colonial times to standardize the toponym so that it would conform to the phonology of Cuzco Quechua. Later, as the original inhabitants of the valley died out and the local Quechua became extinct, the Cuzco pronunciation prevailed. In modern times, Spanish-speaking locals do not see the connection between the name of their city and the name of the river that runs through it. They often assume that the valley is named after the river; however, Spanish documents from the colonial period show the opposite to be true.