Alan Pillay, who served in the Presidency under both Nelson Mandela and Thabo Mbeki and later became a trusted personal assistant to Mbeki, has died at the age of 58.