[3] Mataquescuintla played a significant role during the first half of the nineteenth century, when it was the center of operations of conservative general Rafael Carrera, who led a Catholic peasant revolution against the liberal government of Mariano Gálvez in 1838, and then ruled Guatemala from 1840 until his death in 1865.
[6] In 1837, an armed struggle began against the regime of Francisco Morazán, president of the Federal Republic of Central America, a political entity that included Guatemala, Comayagua (later named Honduras), El Salvador, Nicaragua and Costa Rica.
The leader of the insurgency was Rafael Carrera; among its forces were numerous natives,[7] since on 9 June 1837, the State of Guatemala had reintroduced indigenous populations that had been suppressed since colonial times by the Cortes of Cádiz.
The insurgents began hostilities by means of a guerrilla war: attacking populations without giving them an opportunity to have meetings with government troops.
In particular, the Gálvez government, upon learning that Carrera was the leader of the revolt, invaded Mataquescuintla and captured his wife, Petrona Álvarez, whom the soldiers seized by force.
[10] The priests announced to the natives that Carrera was their protector angel, who had descended from the heavens to take revenge on heretics, liberals, and aliens, and to restore their ancient dominion.
[11] To counteract the violent attacks made by peasant guerrillas, Gálvez approved and then praised the use of a scorched earth policy against the uprising peoples.
Later that year, the situation in Guatemala became unsustainable: the economy was paralyzed by the lack of security and roads, and the liberals negotiated with Carrera to end the warring.
Consisting mainly of poorly armed peasants, they took Guatemala City by force pillaged and destroyed the liberal government buildings, including the Archbishop's Palace, where Gálvez had resided, and the house of the English presenter William Hall.
[19] In 1889, Mataquescuintla was scene of an uprising led by colonel Hipólito Ruano against the government of general Manuel Lisandro Barillas Bercián.