It had its headquarters in Cartago and was presided over by the presbyter Nicolás Carrillo y Aguirre, exercising power temporarily in Costa Rica in all branches; Executive, Legislative, Judicial, Electoral and Constituent.
[2] The discussion between the imperialists desiring to annex the country to the First Mexican Empire of Agustín de Iturbide and that were majority in Cartago and Heredia and the republicans that wished full independence and that predominated in San José and Alajuela, took to the end of this system of government and the outbreak of the Ochomogo War.
On December 1, 1821, the corresponding project was submitted to the Junta of Legates, which was discussed, reformed and approved on that same date, with the name of Interim Fundamental Social Pact or Covenant of Concord.
As the authorities of León, Nicaragua had agreed to the union with Mexico from October 11, 1821, Heredia decided to re-settle themselves under the jurisdiction of those and to separate from Costa Rica.
As a consequence of the Heredian segregation, the three-month term established in the Pact for the Government to remain in each of the four major towns of the province was extended for one month to the benefit of Cartago, San José and Alajuela.