Spain–Venezuela relations
News of Spanish losses in the 1808 Napoleonic Wars soon reached Latin America, but only on 19 April 1810 did the "cabildo" (city council) of Caracas decide to follow the example set by the Spanish provinces two years earlier. On 5 July 1811, seven of the ten provinces of the Captaincy General of Venezuela declared their independence in the Venezuelan Declaration of Independence. The First Republic of Venezuela was lost in 1812 following the 1812 Caracas earthquake and the Battle of La Victoria (1812). Simón Bolívar led an "Admirable Campaign" to retake Venezuela, establishing the Second Republic of Venezuela in 1813, but this did not last long either, falling to a combination of a local uprising and Spanish royalist reconquest.
First Republic of Venezuela
This initiated a process that would lead to a declaration of independence from Spain. Soon after 19 April, many other Venezuelan provinces also established juntas, most of which recognized the Caracas one (though a few recognized both the Regency in Spain and the Junta in Caracas). Still other regions never established juntas, but rather kept their established authorities and continued to recognize the government in Spain. This situation consequently led to a civil war between Venezuelans who were in favor of the new autonomous juntas and those still loyal to the Spanish Crown. The Caracas Junta called for the convention of a congress of the Venezuelan provinces which began meeting the following March, at which time the Junta dissolved itself. The Congress set up a triumvirate to handle the executive functions of the union .