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
A summary of the key announcements from Chancellor George Osborne's Autumn Statement and Spending Review.
All cuts have consequences, warns Joel Hills, as he examines which assets may be up for sale if George Osborne decides 'everything must go'.
Tests revealed she was suffering from secretory carcinoma - which affects just "one in a million people" diagnosed with the breast cancer.