The leader was once a poster boy for liberalism but has now resigned after nearly 10 years in office