The constitutional government of General Lorenzo Batlle y Grau (1868–72) suppressed the Revolution of the Lances by the Blancos. After two years of struggle, a peace agreement was signed in 1872 that gave the Blancos a share in the emoluments and functions of government, through control of four of the departments of Uruguay. Uruguayan troops in trenches at the Battle of Tuyutí in 1866, during the War of the Triple Alliance. This establishment of the policy of co-participation represented the search for a new formula of compromise, based on the coexistence of the party in power and the party in opposition.