At Nelson Mandela's former prison, Barack Obama wrote how "deeply humbled" he was "to stand where men of such courage faced down injustice."
"The world is grateful for the heroes of Robben Island who remind us that no shackles or cells can match the strength of the human spirit."
President Obama wrote his comments in the visitors' book in the prison courtyard where he saw where Mandela worked and hid his draft of his book A Long Walk to Freedom.
More top news
Police have launched an investigation after a woman found a hidden camera while in the shower at a Travelodge.
A plumber who virtually decapitated his girlfriend with a breadknife has avoided a murder trial - because he is an alcoholic.
A man who opened a parcel addressed to his new home was shocked to discover a large tarantula inside.