Meantime a fresh insurrection had taken place at Quito, and Tacon, after raising the Royalist population of the valleys, marched upon that city with 600 men. The new Government sent against him Don Pedro Montufar, the envoy from the Regency of Cadiz, and Tacon, being deserted by the greater part of his men, retreated to the coast, where he received help from Guayaquil, but was again defeated and withdrew to Peru.

Montufar easily dispersed the Royalist levies in the valley of Pasto, and returned to Quito, but the Royalists soon re-assembled, and, incited by the priests, attacked the city of Popayán, but were beaten off, and were totally dispersed on the night following by a sortie of the garrison, which was headed by a young North American named Macaulay. A portion of them, aided by fresh levies, captured the city of Pasto before Macaulay could reach the place, but he prevailed upon them to give up their prisoners, and then marched away by night to join a column advancing from Quito. Being again attacked by these men of the valleys, he arranged a truce with them, which they made use of to surprise his camp, killing 200 men and making 400 prisoners, he himself being among these latter, with Caicedo, the late commandant of Pasto.

These valleys of Pasto and Patia were the Vendée of the revolution of New Granada, and the reaction was now there triumphant.

Don Pedro Montufar, in the capacity of commissioner from the Regency of Cadiz, had reached Bogotá after the pacific triumph of the revolution in that city. He had acceded to the new state of affairs, and had afterwards gone on to Quito, where he was received with enthusiasm. Under his auspices a Junta was there installed on the 19th September, 1810, under the presidency of Ruiz de Castillo, the late captain-general, but the authority of this Junta was not recognised by the Southern Provinces, where Peruvian influence was supreme. The Junta then raised an army of 2,000 men, which it placed under the command of Montufar, with orders to reduce these provinces to submission.

At the same time Molina, who had been appointed by the Viceroy of Peru captain-general of Quito in place of Ruiz de Castillo, reached Guayaquil, where he raised an army for the defence of these provinces. Neither Molina nor Montufar had much confidence in their troops, and confined their operations to desultory skirmishes, until, on the 11th December, the citizens of Quito deposed Ruiz de Castillo from his post as President of the Junta, summoned a Congress, and declared Quito to be an independent State. Ruiz retired to a convent, from which he was dragged by a mob and brutally murdered.

In the following year Marshal Montes arrived from Peru to take command of the Royalist forces, and on the 2nd September, 1812, defeated the Patriots at Mocha, giving no quarter. Montufar raised a new army, and took up a position on some precipices which covered the road to the capital, but Montes, marching for nine days by a circuitous route over the rugged slopes of Chimborazo, gained his rear and obliged him to retreat.

The Patriots then fortified the city of Quito, and declared they would hold out to the last extremity, but it was taken by assault on the 3rd November. Montufar retired northwards with the remnant of his force, but was pursued by Colonel Sámano, who beat him twice and captured all his guns. Sámano following out his instructions, shot all superior officers who fell into his hands, and, going on to Pasto where the prisoners of Popayán were confined, he shot one in every five of the officers and one in every ten of the soldiers, the victims being chosen by lot. Caicedo and Macaulay were among them. Thus was crushed the second revolution in Quito.

While the reaction closed in upon New Granada, the interior of the country was a prey to anarchy. Federalism struggled against centralization, Cundinamarca against the provinces, Nariño against Congress, till all was chaos.

Nariño pursued his policy of centralization by sending troops into the districts around the capital and annexing them to what he called “the legal province.” Congress protested from its retreat at Ibague. Baraya, with the district of Tunja, pronounced in favour of Congress, and defeated a force sent by Nariño to reduce the Province of Socorro. Nariño was forced to come to terms, and resigned, but was reinstated by the citizens of the capital, who, on the 11th September, again proclaimed him Dictator, with absolute powers.

Congress, with eleven deputies who represented seven provinces, met soon after at Leiva and named Dr. Torres President. Torres, who was an enemy of Nariño’s, soon found a pretext for an open rupture with him. Civil war broke out; Baraya, in command of the Federal troops, defeated Nariño and laid siege to Bogotá, but was repulsed and totally defeated in an ill-planned attack upon the city.