Between 1535 and 1739, Lima was the capital of the Spanish Empire in South America, from where Hispanic culture spread, and its speech became the "purest" since it was the home of the famous University of San Marcos of Lima. Also, it was the city that had the highest number of titles of nobility from Castile outside of Spain. Colonial people in Lima became used to living an ostentatious and courtly life style that people in the other capital cities of Spanish America did not experience, with the exception of Mexico City and later the city of Bogotá. On the other hand, they mostly lived from the riches extracted from the inland mines by the Native Peruvians.