In nearly seven decades spent fighting for freedom and equality, Nelson Mandela inspired and challenged the world to stand up for others. As word of Mr. Mandela’s death spread, current and former presidents, athletes and entertainers, and people around the world spoke about the life and legacy of the former South African leader.

From Harlem to Hollywood, Paris to Beijing, people hailed Mr. Mandela’s indomitable courage in the face of adversity as an inspiration for all. In a testament to his universal appeal, political leaders of various stripes joined critics and activists in paying tribute to Mandela as a heroic force for peace and reconciliation.

Some knew Mr. Mandela personally while many only knew him from afar, but they shared how they drew inspiration from his strength and looked to live his message of continuing the struggle against social injustice and for human rights.

Barack Obama

“He no longer belongs to us. He belongs to the ages,” said President Barack Obama, who shares with Mr. Mandela the distinction of being his nation’s first black president.

Kofi Annan

Former U.N. Secretary General Kofi Annan said the world had lost “a visionary leader, a courageous voice for justice and a clear moral compass.” Both Mr. Annan and Archbishop Desmond Tutu were part of Mr. Mandela’s group of statesmen known as The Elders.

Archbishop Desmond Tutu

“God was so good to us in South Africa by giving us Nelson Mandela to be our president at a crucial moment in our history,” Archbishop Tutu said. “He inspired us to walk the path of forgiveness and reconciliation and so South Africa did not go up in flames.”

Xi Jinping

President Xi Jinping of China, which supported apartheid’s opponents throughout the Cold War, praised Mr. Mandela’s victory in the anti-apartheid struggle and his contribution to “the cause of human progress.”

Steven Van Zandt

“Nelson Mandela set the standard for all revolutionaries past, present, and future — have a righteous cause, fight with dignity, and win with grace,” said actor and E Street band guitarist Steven Van Zandt, who in 1985 recruited performers to record “Sun City,” an anti-apartheid album.

Ukraine

In Kiev, where Ukrainians have gathered for anti-government demonstrations around-the-clock for the past week, protesters took a moment to recall Mr. Mandela’s legacy.

“He had many troubles in his life. He was in prison, but he was waiting and he achieved what he wanted,” protester Alena Pivovar said. “We have the same situation now. We have some barriers, but we have to pass them.”

Navi Pillay

The United Nation’s top human rights official, Navi Pillay a South African who was once a defence lawyer for anti-apartheid activists said Mr. Mandela “was perhaps the greatest moral leader of our time”.

Ms. Pillay recalled how Mr. Mandela’s release from prison triggered a “thirst for revenge” among his supporters but that he emphasized forgiveness over vengeance. “He told us to throw our spears and guns into the sea,” Ms. Pillay said. “He showed us that a better future depended on reconciliation, not revenge.”

Morgan Freeman

” As we remember his triumphs, let us, in his memory, not just reflect on how far we’ve come, but on how far we have to go,” said the U.S. actor Morgan Freeman, who portrayed Mr. Mandela in the 2009 film, Invictus.

Michel Martelly

In Haiti, a Caribbean nation that became the world’s first black republic in 1804 through a successful slave revolt, Mr. Mandela symbolised the struggle for black equality.

“Mandela is not only the father of democracy in South Africa, but is also a symbol of democracy,” said Haitian President Michel Martelly. “And like any symbol, he is not dead. He is present in all of us and guides us by his lifestyle, his courage and faith in the true struggle for equality.”

Francois Hollande

“Mandela’s message will not disappear. It will continue to inspire those fighting for freedom and to give confidence to people defending just causes and universal rights,” said French President Francois Hollande, who is hosting dozens of African leaders this week for a summit on peace and security.

Franco Gaskin

In New York City’s Harlem neighbourhood, artist Franco Gaskin, 85, stood before a mural featuring Mr. Mandela he had painted on a storefront gate almost 20 years ago. He remembered a Mandela visit there in 1990. “It was dynamic, everyone was so electrified to see him in Harlem,” Mr. Gaskin said. “I idolized him so much. He leaves a legacy that all of us should follow.”

Aung San Suu Kyi

Myanmar pro-democracy leader and fellow Nobel Peace Prize laureate Aung San Suu Kyi paid tribute to Mr. Mandela as a “great human being who raised the standard of humanity.”

“I would like to express my extreme grief at the passing away of the man who stood for human rights and for equality in this world,” she said. “He also made us understand that we can change the world.”

Tony Abbott

Australian Prime Minister Tony Abbott described Mr. Mandela as one of the great figures of the 20th century who had healed a broken country.

“He spent much of his life standing against the injustice of apartheid. When that fight was won, he inspired us again by his capacity to forgive and reconcile his country,” Mr. Abbott said.

Shimon Peres

Israeli President Shimon Peres said Mandela was a “builder of bridges of peace and dialogue” who changed the course of history, while Prime Minister Benjamin Netanyahu praised his moral leadership.

“He was never haughty,” Mr. Netanyahu said. “He worked to heal rifts within South African society and succeeded in preventing outbreaks of racial hatred.”

Muhammad Ali

At the Muhammad Ali Center in Louisville, Kentucky, on display is a photograph of the U.S. boxing great with Mandela, their hands clenched into fists as if they’re boxing.

“He made us realize, we are our brother’s keeper and that our brothers come in all colours,” Mr. Ali said. “He was a man whose heart, soul and spirit could not be contained or restrained by racial and economic injustices, metal bars or the burden of hate and revenge.”

Castro and Madela

Mr. Mandela was mourned in Cuba, which has long felt a close bond with the late South African leader. Havana considered him a hero for supporting it amid U.S. and international criticism.

“Exceptional human being, example for the world, Father of multiracial South Africa, the endearing friend of Fidel and Cuba,” journalist Juana Carrasco said via Twitter. “Long live Mandela!”

More In: World | International | News