[3] Mariano Rivera Paz was born in Guatemala City and studied law in the Royal and Pontifical University of San Carlos Borromeo.
[8] Morazán used the proceeds to support Los Altos and then replaced Valenzuela by Rivera Paz, member of the Aycinena clan, although he did not return to that clan any property confiscated in 1829; in revenge, Juan José de Aycinena y Piñol voted for the dissolution of the Central American Federation in San Salvador a little later, thereby forcing Morazán to return to El Salvador to fight for his dying federal mandate.
[9] Knowing that Morazán had gone to El Salvador, Carrera tried to take Salamá with the small force that remained, but was defeated, losing his brother Laureano in combat.
Salazar, in his nightshirt, vaulted roofs of neighboring houses and sought refuge;[12][14] then, as he could, he reached the border disguised as a peasant and fled Guatemala.
Carrera defeated General Agustin Guzman when the former Mexican officer tried to ambush him and then went on to Quetzaltenango, where he imposed a harsh and hostile conservative regime for liberals.
[16] Finally, the general Guzmán, and the head of state of Los Altos, Marcelo Molina, were sent to the capital of Guatemala, where they were displayed as trophies of war during a triumphant parade on February 17, 1840; in the case of Guzman, shackled, still with bleeding wounds, and riding a mule.
[17] With the information from these messengers, Carrera hatched their plan of defense leaving his brother Sotero by troops who presented a slight resistance in the city.
[17] Once Morazán reached the capital, he took it easily and freed Guzman, who immediately left for Quetzaltenango to give the news that Carrera was defeated;[19] Carrera then, taking advantage of what his enemies believed, applied a strategy of concentrating fire on the Central Park of the city and also employed surprise attack tactics with which caused heavy casualties to the army of Morazán to finally force the survivors to fight for their lives.
Furthermore, unaware of their surroundings in the city, Morazan's troops had to fight, carry their dead and care for their wounded while still resented being tired by the long march from El Salvador to Guatemala[20] Carrera, by then an experienced military men[Note 3] was able to stand up and defeat Morazán thoroughly.
The disaster for the liberal general was complete: aided by Angel Molina[Note 4] who knew the streets of the city, had to flee with his favorite men, disguised shouting "Long live Carrera!"
[23] The liberal criollos defeat and execution in Quetzaltenango reinforced Carrera ally status within the native population of the area, whom he respected and protected.