After the resignation of José Rondeau following the unitarian defeat at the Battle of Cepeda, the office of Supreme Director was briefly assumed by Juan Pedro Aguirre.
He endorsed the Buenos Aires Cabildo to name a governor for the province of Buenos Aires as the national congress dissolved itself on 16 February 1820, effectively ending the centralism in the national government and giving way to a new federal reorganization for the country, which was immediately formalized by the Treaty of Pilar on 23 February 1820.