The next president and I could not be more different. But American democracy is bigger than any one person.
In a speech given in Greece Wednesday, referencing last week's election victory of Donald Trump, President Obama denounced nationalistic impulses and promoted globalization.
Obama also touted free elections "even if your candidate doesn't always win," which drew some laughs.
Democracy opens your heart to people in need.
Obama also touted the biggest diplomatic victories accomplished during his presidency, including the Iran nuclear deal and the Paris Agreement on climate change.
He praised Greece for their work with refugees, which he said democracy helped make possible.
If people feel they are losing control of their future, they will push back.
Technology and politics
Obama said globalization, while ultimately positive, can lead to a backlash among voters in democratic nations.
Modern technology and a profusion of media can lead to "increasing awareness of inequality," tying that dissonance to Brexit and Trump's election.
WATCH | Obama took some time to sightsee in Greece, visiting the famed Acropolis in Athens.
Not all of Greece was excited about this
On Tuesday night, police used tear gas and stun grenades to disperse about 3,000 left-wing marchers protesting President Obama's visit to Greece.
Demonstrators with wooden clubs and petrol bombs tried to break a police barrier before starting street fights with police.
Thursday marks a day of anti-American protest in Greece, commemorating a bloody uprising against a U.S.-backed military dictatorship.
WATCH | Here's a look at the chaotic scene on Athens' streets during the protests.