during the mexican war of independence, the town manufactured arms and coins for the cause. after independence in 1825, the area was part of the department of puebla with authority over huauchinango and tetela.