During the war of independence, it was the base of the Soyaltepec (Mazatecan) rebels, and there was similar resistance during the Empire of Maximilian.