It gained full independence as a separate country in 1830. During the 19th century, Venezuela suffered political turmoil and autocracy, remaining dominated by regional caudillos (military strongmen) until the mid-20th century. Since 1958, the country has had a series of democratic governments. Economic shocks in the 1980s and 1990s led to several political crises, including the deadly Caracazo riots of 1989, two attempted coups in 1992, and the impeachment of President Carlos Andrés Pérez for embezzlement of public funds in 1993. A collapse in confidence in the existing parties saw the 1998 election of former coup-involved career officer Hugo Chávez and the launch of the Bolivarian Revolution, which is a type of socialist revolution, beginning with a 1999 Constituent Assembly to write a new Constitution of Venezuela. This new constitution officially changed the name of the country to República Bolivariana de Venezuela (Bolivarian Republic of Venezuela).