Former President Barack Obama took several thinly veiled shots at President Donald Trump and "strongman politics" during a speech in Johannesburg this week.

Without mentioning Trump by name, Obama said that we "are living in strange and uncertain times."

This week, I’m traveling to Africa for the first time since I left office – a continent of wonderful diversity, thriving culture, and remarkable stories. As I prepare for this trip, I wanted to share a list of books that I’d recommend for summer reading: https://t.co/W4Jc0N23iy — Barack Obama (@BarackObama) July 13, 2018

He told the crowd that he is "not being alarmist [but] simply stating the facts."

"Strongman politics are ascendant suddenly. Whereby, elections and some pretenses of democracy are maintained [but] those in power seek to undermine every institution or norm that gives democracy meaning," Obama said at the event, which marked what would be the 100th birthday of Nelson Mandela.

'Not the Patriot He Should Have Been': 'Outnumbered' Agrees Trump Was Not Tough Enough on Putin

'Proudly Ignorant': Dem Socialist Candidate Ridiculed for Claiming Israel Occupying Palestine

Obama said that international progress is "threatened by the rise of nationalism," but told the crowd that the world has been through "darker times."

Obama also quoted Mandela in one of his apparent jabs, saying that people are not born racist or discriminatory, but "people must learn to hate."

"They can be taught to love," he added, quoting the late anti-apartheid leader.

Watch more above from Rick Leventhal's report on Shepard Smith Reporting.

The Left-Wing 'Mob' Won: Business Insider Deletes Piece Defending Scarlett Johansson

Chris Wallace Grills Putin: Why Do So Many of Your Political Opponents 'End Up Dead?'