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