Revolution, declared independence as the First Republic of Venezuela on 5 July 1811. This began the Venezuelan War of Independence. A devastating earthquake that struck Caracas in 1812, together with the rebellion of the Venezuelan llaneros, helped bring down the republic. Simón Bolívar, new leader of the independentist forces, launched his Admirable Campaign in 1813 from New Granada, retaking most of the territory and being proclaimed as El Libertador ("The Liberator"). A second Venezuelan republic was proclaimed on 7 August 1813, but lasted only a few months before being crushed at the hands of royalist caudillo José Tomás Boves and his personal army of llaneros. The end of the French invasion of homeland Spain in 1814 allowed the preparation of a large expeditionary force to the American provinces under general Pablo Morillo, with the goal to regain the lost territory in Venezuela and New Granada. As the war reached a stalemate on 1817, Bolívar reestablished the Third Republic of Venezuela on the territory still controlled by the patriots, mainly in the Guayana and Llanos regions. This republic was short-lived as only two years later, during the Congress of Angostura of 1819, the union of Venezuela with New Granada was decreed to form the Republic of Colombia (historiographically Republic of Gran Colombia). The war continued for some years, until full victory and sovereignty was attained after Bolívar, aided by José Antonio Páez and Antonio José de Sucre, won the Battle of Carabobo on 24 June 1821. On 24 July 1823, José Prudencio Padilla and Rafael Urdaneta helped seal Venezuelan independence with their victory in the Battle of Lake Maracaibo. New Granada's congress gave Bolívar control of the Granadian army; leading it, he liberated several countries and founded the Republic of Colombia (Gran Colombia). Sucre, who won many battles for Bolívar, went on to liberate Ecuador and later become the second president of Bolivia. Venezuela remained part of Gran Colombia until 1830, when a rebellion led by Páez allowed the proclamation of a newly independent Venezuela, on 22 September; Páez became the first president of the new State of Venezuela. Between one-quarter and one-third of Venezuela's population was lost during these two decades of warfare (including perhaps one-half of the Venezuelans of European descent), which by 1830, was estimated at 800,000. The colors of the Venezuelan flag are yellow, blue, and red: the yellow stands for land wealth, the blue for the