During a memorial service at South Africa’s largest soccer stadium, President Obama delivered a 20-minute eulogy that compared Mandela to Gandhi, Martin Luther King, Abraham Lincoln and America’s founding fathers.

Mandela, Obama said in Johannesburg, was the “last great liberator of the 20th century.” But he was not only a man of politics, but a pragmatist and flawed human being who managed to discipline his anger to turn centuries of oppression into what Mandela liked to call a “Rainbow Nation.”

We’ve embedded audio of Obama’s eulogy below, where we’ve also pasted text of his speech as it was prepared for delivery. Obama strayed a bit from that. We’ll put up a transcript once we get it:

To Graça Machel and the Mandela family; to President Zuma and members of the government; to heads of state and government, past and present; distinguished guests – it is a singular honor to be with you today, to celebrate a life unlike any other. To the people of South Africa – people of every race and walk of life – the world thanks you for sharing Nelson Mandela with us. His struggle was your struggle. His triumph was your triumph. Your dignity and hope found expression in his life, and your freedom, your democracy is his cherished legacy.

It is hard to eulogize any man – to capture in words not just the facts and the dates that make a life, but the essential truth of a person – their private joys and sorrows; the quiet moments and unique qualities that illuminate someone’s soul. How much harder to do so for a giant of history, who moved a nation toward justice, and in the process moved billions around the world.

Born during World War I, far from the corridors of power, a boy raised herding cattle and tutored by elders of his Thembu tribe – Madiba would emerge as the last great liberator of the 20th century. Like Gandhi, he would lead a resistance movement – a movement that at its start held little prospect of success. Like King, he would give potent voice to the claims of the oppressed, and the moral necessity of racial justice. He would endure a brutal imprisonment that began in the time of Kennedy and Khrushchev, and reached the final days of the Cold War. Emerging from prison, without force of arms, he would – like Lincoln – hold his country together when it threatened to break apart. Like America’s founding fathers, he would erect a constitutional order to preserve freedom for future generations – a commitment to democracy and rule of law ratified not only by his election, but by his willingness to step down from power.

Given the sweep of his life, and the adoration that he so rightly earned, it is tempting then to remember Nelson Mandela as an icon, smiling and serene, detached from the tawdry affairs of lesser men. But Madiba himself strongly resisted such a lifeless portrait. Instead, he insisted on sharing with us his doubts and fears; his miscalculations along with his victories. “I’m not a saint,” he said, “unless you think of a saint as a sinner who keeps on trying.”