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.
José Antonio Páez
In 1830, Páez declared Venezuela independent from Gran Colombia and became president. Although he was not the first president of Venezuela (which declared its independence from Spain in 1811 and named Cristóbal Mendoza as president), he was the first head of government after the dissolution of Gran Colombia. From 1830 to 1847, Páez was the most powerful man in Venezuela. He served as president only twice during this time (1830-1835 and 1839-1842), but ruled as the power behind puppet presidents when he was not in office. The government, dominated by the oligarchy, followed a constitution that had largely been written by Páez in 1830. Páez and the conservative oligarchy were conveniently allied because the oligarchy controlled a great amount of the country's wealth but was not popular with the masses, whereas Páez was very much liked by the masses.