Guerra de Castas
Yucatán declared its independence from the Spanish Crown in 1821 and in 1825, the area was assigned to the partition of Valladolid Municipality. During the Caste War of Yucatán the city was abandoned but repopulated after federal troops regained possession of it. In 1918, it was designated as its own municipality.