section_path: Political and military career/Gran Colombia: 1819–1830
section_name: Gran Colombia: 1819–1830
paragraph_text: Gran Colombia: 1819–1830
  
  The congress met in Angostura on 15 February 1819. There, Bolívar gave a speech in which he advocated for a centralized government modeled on the British government and racial equality, and relinquished civil authority to the congress. On 16 February, the congress elected Bolívar as president and Zea as vice president. On 27 February, Bolívar left Angostura to rejoin Páez in the west and resumed campaigning against Morillo, albeit ineffectively. In May, as the annual wet season was beginning in the Llanos, Bolívar met with his officers and revealed his intention to invade and liberate New Granada from Royalist occupation, which he had prepared for by sending Santander to build up Republican forces in Casanare Province in August 1818. On 27 May, Bolívar marched with more than 2,000 soldiers toward the Andes and left Páez, Mariño, Urdaneta, and Bermúdez to tie down Morillo's forces in Venezuela.
  
  Bolívar entered Casanare Province with his army on 4 June 1819, then met up with Santander at Tame, Arauca, on 11 June. The combined Republican force reached the Eastern Range of the Andes on 22 June and began a grueling crossing. On 6 July, the Republicans descended from the Andes at Socha and into the plains of New Granada. After a brief convalescence, the Republicans made rapid progress against the forces of Spanish colonel José María Barreiro Manjón until, on 7 August, the Royalists were routed at the Battle of Boyacá. On 10 August, Bolívar entered Bogotá, which the Spanish officials had hastily abandoned, and captured the viceregal treasury and armories. After sending forces to secure Republican control of central New Granada, Bolívar paraded through Bogotá on 18 September with Santander.
  
  Desiring to merge New Granada and Venezuela into a " greater republic of Colombia ", Bolívar first established a provisional government in Bogotá with Santander, and then left to resume campaigning against the Royalists in Venezuela on 20 September 1819. En route, he learned that Zea had been replaced as vice president in September 1819 by Arismendi, who was conspiring with Mariño against Urdaneta and Bermúdez. Bolívar arrived in Angostura on 11 December and, by being conciliatory, defused the plot. He then proposed the merging of New Granada and Venezuela to the congress on 14 December, which was approved. On 17 December, the congress issued a decree creating the Republic of Colombia, including the regions of Venezuela, New Granada, and the still Spanish-controlled Real Audiencia of Quito, and elected Bolívar and Zea president and vice president respectively.
  
  After Christmas Day, 1819, Bolívar left Angostura to direct campaigns against Royalist forces along the Caribbean coasts of Venezuela and New Granada. He met with Santander in Bogotá in March 1820, then rode to Cúcuta and inspected Republican forces in northern Colombia over April and May 1820. Meanwhile, Morillo's military and political position was fatally undermined by the mutiny of Spanish soldiers in Cádiz on 1 January, which forced Ferdinand VII to accept a liberal constitution in March. News of the mutiny and its consequences arrived in Colombia in March and was followed by orders from Spain to Morillo to publicize the constitution and negotiate a peace that would return Colombia to the Spanish Empire. Bolívar and Morillo, seeking to gain leverage over each other, delayed talks until 21 November, when Colombian and Royalist delegates met in Trujillo, Venezuela. The delegates completed two treaties on 25 November, establishing a six-month truce, a prisoner exchange, and basic rights for combatants. Bolívar and Morillo signed the treaties on 25 and 26 November, then met the next day at Santa Ana de Trujillo. After this meeting, Morillo turned his command over to Spanish general Miguel de la Torre and departed for Spain on 17 December.
  
  In February 1821, as Bolívar was traveling from Bogotá to Cúcuta in anticipation of the opening of a new congress there, he learned that Royalist-controlled Maracaibo had defected to Colombia and been occupied by Urdaneta. La Torre protested to Bolívar, who refused to return Maracaibo, leading to a renewal of hostilities on 28 April. Over May and June, Colombia's armies made rapid progress until, on 24 June, Bolívar and Páez decisively defeated La Torre at the Battle of Carabobo. All Royalist forces remaining in Venezuela were eliminated by August 1823. Bolívar entered Caracas in triumph on 29 June, and issued a decree on 16 July dividing Venezuela into three military zones governed by Páez, Bermúdez, and Mariño. Bolívar then met with the Congress of Cúcuta, which had ratified the formation of Gran Colombia and elected him as president and Santander as vice president in September. Bolívar accepted and was sworn in on 3 October, although he protested the establishment of a precedent of military leaders as head of the Colombian state.