JOHANNESBURG (AP) - Without ever mentioning President Donald Trump by name, former U.S. President Barack Obama on Tuesday took aim at "strongman politics" in his highest-profile speech since leaving office, urging people around the world to respect human rights and other values now under threat in an impassioned address marking the 100th anniversary of anti-apartheid leader Nelson Mandela's birth.
Obama's speech to a cheering crowd of thousands in South Africa countered many of Trump's policies, rallying people around the world to keep alive the ideas that Mandela worked for including democracy, diversity and tolerance.
Obama opened by calling today's times "strange and uncertain," adding that "each day's news cycle is bringing more head-spinning and disturbing headlines." These days "we see much of the world threatening to return to a more dangerous, more brutal, way of doing business," he said.
He targeted politicians pushing "politics of fear, resentment, retrenchment," saying they are on the move "at a pace unimaginable just a few years ago."
He attacked "strongman politics," saying that "those in power seek to undermine every institution ... that gives democracy meaning."
He spoke up for equality in all forms, saying that "I would have thought we had figured that out by now," and he even invoked the World Cup-winning French team and its diversity. He warned that countries that engage in xenophobia "eventually ... find themselves consumed by civil war."
And he noted the "utter loss of shame among political leaders when they're caught in a lie and they just double down and lie some more," warning that the denial of facts -- such as that of climate change -- could be the undoing of democracy.
But Obama reminded the audience that "we've been through darker times. We've been through lower valleys," and he closed with a call to action: "I say if people can learn to hate, they can be taught to love."
He received a standing ovation.
"Just by standing on the stage honoring Nelson Mandela, Obama is delivering an eloquent rebuke to Trump," said John Stremlau, professor of international relations at Witwatersrand University in Johannesburg, who called the timing auspicious as the commitments that defined Mandela's life are "under assault" in the U.S. and elsewhere.
"Yesterday we had Trump and Putin standing together, now we are seeing the opposing team: Obama and Mandela."
This is Obama's first visit to Africa since leaving office in early 2017. He stopped earlier this week in Kenya, where he visited the rural birthplace of his late father.
Obama's speech highlighted how the Nobel Peace Prize winner, who was imprisoned for 27 years, kept up his campaign against what appeared to be insurmountable odds to end apartheid, South Africa's harsh system of white minority rule.
Mandela, who was released from prison in 1990 and became South Africa's first black president four years later, died in 2013, leaving a powerful legacy of reconciliation and diversity along with a resistance to inequality, economic and otherwise.
Obama has shied away from public comment on Trump, whose administration has reversed or attacked notable achievements of his predecessor. The U.S. under Trump has withdrawn from the 2015 Paris climate agreement and the Iran nuclear deal while trying to undercut the Affordable Care Act or "Obamacare."
Instead of commenting on politics, Obama's speech drew on broader themes and his admiration for Mandela, whom America's first black president saw as a mentor.
When Obama was a U.S. senator he had his picture taken with Mandela. After Obama became president he sent a copy of the photo to Mandela, who kept it in his office. Obama also made a point of visiting Mandela's prison cell and gave a moving eulogy at Mandela's memorial service in 2013, saying the South African leader's life had inspired him.
Many South Africans view Obama as a successor to Mandela because of his groundbreaking role and his support for racial equality in the U.S. and around the world.
Moses Moyo, a 32-year-old Uber driver, was among the thousands attending Obama's speech. "I think he'll speak about how Mandela changed the system here in South Africa, how he ended apartheid and gave hope for the poor and encouraged education," he said. Many people in South Africa are discouraged by corruption, he added, as the ruling African National Congress struggles to maintain the legacy that Mandela and others established.
Follow Africa news at https://twitter.com/AP--Africa