 Prior to the arrival of the Spanish to the area, the town and its surrounding areas were inhabited by Amerindians of the Caxcan ethnic group.The town's first mention in Spanish documents appears in 1537.The town and its inhabitants were originally put under the trusteeship or "encomienda" of Pedro de Bobadilla.