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.