The Puhurá tribe were the first people to live in the vicinity, followed by the Inca for a brief period. In 1534, the Spanish founded the city of Riobamba on the site of Cajabamba, 17km south on the Panamericana, but in 1797 a huge landslide destroyed the city and the people moved it to its present-day site. Spain’s grip on Ecuador was officially broken in Riobamba with the signing of Ecuador’s first constitution in 1830.