New Granada Civil War

The first was the Free and Independent State of Cundinamarca, centered around the former capital Santa Fé de Bogotá and led by Jorge Tadeo Lozano and Antonio Nariño.

Baraya and the rebels with him, signed an act that declared Nariño an usurper and a tyrant, and pledged loyalty to the Congress.

With this victory for Cundinamarca, the War ended momentarily, after the two sides agreed to join forces against the common enemy: the Royalist armies.

[2] Nariño took advantage of the truce, to launch his Southern Campaign against the Royalists who controlled the provinces of Pasto and Popayán.

After some victories, his army is decisively defeated in the Battle of Ejidos de Pasto (es), and he is taken prisoner in May 1814 by the Spanish governor of Quito Melchor Aymerich, and locked up in Spain.

The government of Cundinamarca recognized the supremacy of the United Provinces of New Granada, handed over all its weapons and material to Bolivar, and in return the lives and property of the city's inhabitants would be respected.