Exceptions:
Augusto Pinochet, the former dictator of Chile, was voted out of office in a national referendum in 1988.
Park Chung-hee, the former dictator of South Korea, was assassinated in 1979, leading to the country's transition to democracy.
General Hissene Habre, the former dictator of Chad, was ousted from power in 1990 through a national conference and multiparty elections.
Slobodan Milosevic, the former president of Yugoslavia, was voted out of office in 2000 after a disputed election and mass protests.
Blaise Compaore, the former president of Burkina Faso, was forced to resign in 2014 after a popular uprising and protests against his attempts to extend his 27-year rule.