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, lasting until 1886, when the country finally became known as the Republic of Colombia. Internal divisions remained between the bipartisan political forces, occasionally igniting very bloody civil wars, the most significant being the Thousand Days' War (1899–1902).