Several years after the revolt and Colombian Declaration of Independence on July 20, 1810 in Santa Fé de Bogotá came the Spanish reconquest of New Granada in 1815–1816, under General Pablo Morillo. In 1816, the priest in Firavitoba, Carlos Suarez, was imprisoned for preaching freedom. The liberation campaign of 1819 peaked with the battles of Vargas Swamp, at Paipa, very close to Firavitoba, and of Puente de Boyacá (The Bridge of Boyaca), at which Firavitoba freedom fighter Cayetano Avella was killed. These two battles led to the full independence of New Granada and the creation of Gran Colombia in August, 1819. Gran Colombia was dissolved in 1830, with the region becoming part of the Republic of New Granada, formed in November 1831.