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 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. The 2013 Venezuelan presidential election was widely disputed leading to widespread protest, which triggered another nationwide crisis that continues to this day.