The Cochabamba valley was inhabited for over a thousand years due to its fertile productive soils and climate. Archaeological evidence suggests that the initial valley inhabitants were of various ethnic indigenous groups. Inca, Tupuraya, Mojocoya, Omereque, and Tiwanaku inhabited the valley at various times before the Spanish arrived.
The first Spanish inhabitant of the Valley was Garci Ruiz de Orellana in 1542. He purchased the majority of the land from local tribal chiefs Achata and Consavana through a title registered in 1552 at the Imperial City of Potos�. The price paid was 130 pesos. His residence, known as the House of Mayorazgo, still stands in the Cala Cala neighbourhood of the city.
The city, called Villa de Oropesa was founded on 2 August 1571 by order of Viceroy Francisco de Toledo, Count of Oropesa. It was to be an agricultural production centre to provide food for the mining towns of the relatively nearby Altiplano region, particularly the city of Potos�which became one of the largest and richest cities in the world during the 17th century - funding the vast wealth that ultimately made Spain a world power at the time. With the silver mining industry in Potosi at its height, Cochabamba thrived during its first centuries of existence. The city entered a period of decline during the 18th century as mining began to wane.
In 1786, King Charles III of Spain renamed the city to the 'loyal and valiant' Villa of Cochabamba. This was done to commend the city's pivotal role in suppressing the indigenous rebellions of 1781 in Oruro by sending armed forces to Oruro to quell the uprisings. Since the late 19th century it has again been generally successful as an agricultural centre for Bolivia.
The 1793 census shows that the city had a population of 22,305 persons. There were 12,980 mestizos, 6,368 Spaniards, 1,182 indigenous natives, 1,600 mulattos and 175 African slaves.
In 1900, the population was 21,886. Besides a number of