The territory of Venezuela was colonized by Spain in 1522 amid resistance from indigenous peoples. In 1811, it became one of the first Spanish-American territories to declare independence from the Spanish and to form part, as a department, of the  first federal Republic of Colombia (historiographically known as Gran Colombia). It separated as a full sovereign country in 1830. During the 19th century, Venezuela suffered political turmoil and autocracy, remaining dominated by regional military dictators until the mid-20th century. Since 1958, the country has had a series of democratic governments, as an exception where most of the region was ruled by military dictatorships, and the period was characterized by economic prosperity. Economic shocks in the 1980s and 1990s led to major political crises and widespread social unrest, including the deadly Caracazo riots of 1989, two attempted coups in 1992, and the impeachment of a President for embezzlement of public funds charges in 1993. The collapse in confidence in the existing parties saw the 1998 Venezuelan presidential election, the catalyst for the Bolivarian Revolution, which began with a 1999 Constituent Assembly, where a new Constitution of Venezuela was imposed. The government's populist social welfare policies were bolstered by soaring oil prices, temporarily increasing social spending, and reducing economic inequality and poverty in the early years of the regime.Kevin Voigt (6 March 2013).  Chavez leaves Venezuelan economy more equal, less stable. ''CNN.'' Retrieved 5 April 2014.Dan Beeton and Joe Sammut (6 December 2013).  Venezuela Leads Region in Poverty Reduction in 2012, ECLAC Says. ''Center for Economic and Policy Research''. Retrieved 5 April 2014. Venezuela Overview. The World Bank. Last updated 17 November 2014. "Economic growth and the redistribution of resources associated with these missions have led to an important decline in moderate poverty, from 50% in 1998 to about 30% in 2012. Likewise, inequality has decreased, reducing the Gini Index from 0.49 in 1998 to 0.39 in 2012, which is among the lowest in the region." The 2013 Venezuelan presidential election was widely disputed leading to widespread protest, which triggered another nationwide crisis that continues to this day.