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
David Davis is hoping to push Brexit withdrawal talks towards discussions on a future trading relationship between the UK and EU.
A fine start to Sunday but rain moves in from the southwest later on.
A second police officer has died after he and a colleague were shot as they scuffled with a suspect in Florida.