In 1511, the first Spanish settlement was founded by Diego Velázquez de Cuéllar at Baracoa. Other settlements soon followed, including San Cristobal de la Habana, founded in 1515, which later became the capital. The indigenous Taíno were forced to work under the encomienda system, which resembled the feudal system in medieval Europe. Within a century, the indigenous people were virtually wiped out due to multiple factors, primarily Eurasian infectious diseases, to which they had no natural resistance (immunity), aggravated by harsh conditions of the repressive colonial subjugation. In 1529, a measles outbreak in Cuba killed two-thirds of those few natives who had previously survived smallpox.