(CNN) Zimbabwean President Robert Mugabe's decades-long grip on power in the southern African nation ended Tuesday with his resignation -- but the continent still has a few leaders who've been in charge for nearly as long, or longer.

Some long-serving African leaders have been buoyed by their suppression of opposition, and by abolished or manipulated term limits. At the top of Africa's current longest-tenured list are five men who've been in charge for more than 30 years.

There'd been seven leaders who'd served at least that long when 2017 began. But longtime Angolan President Jose Eduardo dos Santos stepped aside in September after 38 years of rule, and Mugabe resigned Tuesday after 37.

The five who remain in power are:

Teodoro Obiang Nguema Mbasogo (Equatorial Guinea) -- 38 years