Robert Mugabe, who resigned as Zimbabwe's president on Tuesday, was the last living African head of state to have fought for his country's independence before becoming its leader.