How an ex-president who had been jailed rose back to power o