Venezuelan War of Independence more years of war, the country achieved independence from Spain in 1821 under the leadership of its most famous son, Simón Bolívar. Venezuela, along with the countries of Colombia, Panama, and Ecuador, formed part of the Republic of Gran Colombia until 1830, when Venezuela separated and became a sovereign country. The French invasion of Spain in 1808 led to the collapse of the Spanish Monarchy. Most subjects of Spain did not accept the government of Joseph Bonaparte, placed on the Spanish throne by his brother, Emperor Napoleon Bonaparte of France. At the same time, the process of creating a stable
Gran Colombia at Angostura) became a new country, the Republic of New Granada. In 1858, New Granada was replaced by the Granadine Confederation. Later in 1863, the Granadine Confederation changed its name officially to the United States of Colombia, and in 1886, adopted its present-day name: the Republic of Colombia. Panama, which voluntarily became part of Gran Colombia in 1821, remained a department of the Republic of Colombia until 1903, when in great part as a consequence of the Thousand Days War of 1899–1902, it became independent under intense American pressure. The United States wanted territorial rights in the future Panama Canal