For the most amazing parts of you. ♪ ♪ nelson mandela standing inside the cell that once held him prisoner and mandela walked out of prison with a lesson for living, saying to walk... See More
For the most amazing parts of you. ♪ ♪ nelson mandela standing inside the cell that once held him prisoner and mandela walked out of prison with a lesson for living, saying to walk free is not merely to cast off change but to live in a way that respects and enhances the freedom of others. He did something behind those prison walls that was a kind of dress rehearsal for what he would do later in the world. Abc's david muir with the jailer who became his most unlikely friend. Reporter: Crystal brand peers out over the water to the former prison on robben island where he first reported for duty at 18. They informed us we're going to meet the biggest criminals. Reporter: Nelson mandela was 60, already in prison for more than a decade, still forced to sleep on the floor. The young jailer's family was africa kauner. But when that young jailer met mandela, he met an elder who would treat the young man with respect and the jailer would slowly offer the same in return. He told of one of winnie mandela's visits and her requests. She said please can I show mandela from a distance. I said, no, no. Reporter: No children allowed, not even mandela's precious new grandbaby. What winnie didn't know was while he waited in a holding area, that jailer secretly brought the baby to mandela. There were tears coming out of his eyes. Nobody knew? Nobody knew. Reporter: The whole wheat bread they would bring from home and the secret code. I would show him this. Mandela immediately know I'm bugged. I was bugged a lot of times. You lied to keep your job and to keep your friendship with mandela? That's correct. Reporter: During all of those isolating years on robben island the prison guard said there was one view of the country that nelson mandela loved. That was the very top of table mountain here in cape town behind me, that he would look to this view wondering if he was ever be free. But mandela was always preparing for that day. He asked the jailer to teach him afrikaa afrikaans. On the day mandela was released, his speech was delivered in afrikaans. Mandela famously said, if you talk to a man in a language he understands, that goes to his head. If you talk to him in his language, that goes to his heart. That's what he did and that's what he would strive for and he was loved for and would fight for while he was in prison, to have people live in peace. Reporter: The jailer who became a trusted friend now remembering nelson mandela. That most unlikely friend, the jailer standing on that hill with me in cape town telling me that he'll never forget that bond they formed. Of course, diane, that secret code, that little reference to his ear that they were being bugged. His allegiance was to his loyal friend. He kept teaching over and over again, consider the possibilities that even your enemies can change and give them a chance to change. Thank you, david.
This transcript has been automatically generated and may not be 100% accurate.