Built by the pre-Columbian Maya civilization sometime between the 8th and 12th centuries AD, the pyramid served as a temple to the deity Kukulcán.