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
The people behind the moving tribute marking 100 years since the Battle of the Somme were unknown - until now.
Gunmen have stormed a restaurant in Dhaka, Bangladesh, taking a number of hostages and opening fire at police. Here's what we know.
Wales came from behind to make history as a 3-1 win propelled them into the last four of a major football tournament for the first time.