section_path: History/Independence
section_name: Independence
paragraph_text: Independence
  
  Rebellions against Spanish rule had occurred in the empire since the advent of conquest and colonization, but most were either crushed or remained too weak to change the overall situation. The last one that sought outright independence from Spain sprang up around 1810 and culminated in the Colombian Declaration of Independence, issued on 20 July 1810, the day that is now celebrated as the nation's Independence Day. This movement followed the independence of Saint-Domingue (present-day Haiti) in 1804, which provided some support to an eventual leader of this rebellion: Simón Bolívar. Francisco de Paula Santander also would play a decisive role.
  
  A movement was initiated by Antonio Nariño, who opposed Spanish centralism and led the opposition against the Viceroyalty. Cartagena became independent in November 1811. In 1811, the United Provinces of New Granada were proclaimed, headed by Camilo Torres Tenorio. The emergence of two distinct ideological currents among the patriots (federalism and centralism) gave rise to a period of instability called the Patria Boba. Shortly after the Napoleonic Wars ended, Ferdinand VII, recently restored to the throne in Spain, unexpectedly decided to send military forces to retake most of northern South America. The viceroyalty was restored under the command of Juan de Sámano, whose regime punished those who participated in the patriotic movements, ignoring the political nuances of the juntas. The retribution stoked renewed rebellion, which, combined with a weakened Spain, made possible a successful rebellion led by the Venezuelan-born Simón Bolívar, who finally proclaimed independence in 1819. The pro-Spanish resistance was defeated in 1822 in the present territory of Colombia and in 1823 in Venezuela. During the Independence War, between 250 and 400 thousand people (12–20% of the pre-war population) died.
  
  The territory of the Viceroyalty of New Granada became the Republic of Colombia, organized as a union of the current territories of Colombia, Panama, Ecuador, Venezuela, parts of Guyana and Brazil and north of Marañón River. The Congress of Cúcuta in 1821 adopted a constitution for the new Republic. Simón Bolívar became the first President of Colombia, and Francisco de Paula Santander was made Vice President. However, the new republic was unstable and the Gran Colombia ultimately collapsed.
  
  Modern Colombia comes from one of the countries that emerged after the dissolution of Gran Colombia, the other two being Ecuador and Venezuela. Colombia was the first constitutional government in South America, and the Liberal and Conservative parties, founded in 1848 and 1849, respectively, are two of the oldest surviving political parties in the Americas. Slavery was abolished in the country in 1851.
  
  Internal political and territorial divisions led to the dissolution of Gran Colombia in 1830. The so-called " Department of Cundinamarca " adopted the name " New Granada ", which it kept until 1858 when it became the "Confederación Granadina" (Granadine Confederation). After a two-year civil war in 1863, the United States of Colombia was created, which became known as the Republic of Colombia in 1886. Internal divisions remained between the bipartisan political forces, occasionally igniting very bloody civil wars, the most significant being the Thousand Days' War (1899–1902), in which between 100 and 180 thousand Colombians lost their lives when the Liberal Party, supported by Venezuela, Ecuador, Nicaragua, and Guatemala rebelled against the Nationalist government and took control of Santander, ultimately being defeated in 1902 by nationalist forces.