The Cañuelas Pact was an agreement signed on 24 June 1829 between generals Juan Lavalle and Juan Manuel de Rosas, with the aim of ending the civil war in Buenos Aires Province, Argentina, which had been going on since the revolution of December 1828. Previous events The revolution commanded by Unitarian general Juan Lavalle against Buenos Aires Province Governor Colonel Manuel Dorrego, was quick and almost bloodless, with the governor fleeing. Chased by Lavalle's forces, Dorrego was defeated at the Battle of Navarro, and a few days later shot by order of Lavalle, who made himself the new governor. Until that time the revolution had been running without major problems, but the execution of Dorrego displeased many of the factions; the gauchos from the countryside of the province revolted; many leaders of the city of Buenos Aires declared themselves against Lavalle;, general José María Paz took a good part of the army in a campaign against Córdoba Province;. The governor of the neighboring Santa Fe Province, Estanislao López, started a campaign against the new government of Buenos Aires and the commander of the provincial militias, Juan Manuel de Rosas, marched to Santa Fe. Lavalle expelled his enemies from the city, but was not able to suppress the gaucho rebellion. He marched on Santa Fe but López forced him to retreat, and chased him back to the capital. The joint forces of López and Rosas caught up with Lavalle at the Márquez Bridge inflicting a defeat on him. Rosas established a siege of Buenos Aires, precluding Lavalle's forces and the entire population of the city of receiving any kind of external help or supplies, including food. Lavalle, isolated and only supported by a dwindling minority of the Unitarian Party, he did not have many options left. Even though he avoided the taking of the city by his enemies, he did not have sufficient forces, especially in cavalry, to oppose Rosas and break the siege. Negotiations Without prior notice, Lavalle left one night, accompanied only by an aide to Rosas' headquarters in the town of Cañuelas. The next morning, Rosas and Lavalle started negotiations to reach an agreement and end the conflict. They did not agree on the first day, but their aides continued meeting for a few more days. The agreement The agreement reached in the Pact that was finally signed were: Cessation of hostilities by both sides Election of a