Jacob Zuma has resigned after nine years as South Africa's president.

It is the end of an era for a man whose rule has been overshadowed by scandals.