President Barack Obama remarked on his legacy in the aftermath of the election of Donald J. Trump as the 45th President of the United States. 

The president noted that a "pretty healthy majority" of Americans still agree with his views on a host of issues, attributing Trump's victory to people who "wanted to try something to shake things up."

He cautioned against 'us versus them' worldviews taking root and said that "the future of the world is gonna be defined by what we have in common, as opposed to those things that separate us and ultimately lead us into conflict." 

"I do believe, separate and apart from any election or movement, that we are going to have to guard against a rise in a crude sort of nationalism, or ethnic identity or tribalism that is built around an us and a them," he said during a news conference with the Greek prime minister in Athens. 

He used Europe as an example, saying "we know what happens when Europeans start dividing themselves up and emphasizing their differences."

"In the United States, we know what happens when we start dividing ourselves along lines of race or religion or ethnicity. It's dangerous," he said.

Watch his full comments above.

'A Terrifying Man': Beck Says Trump Chief Strategist Steve Bannon Is a 'Nightmare'

O'Reilly: You're Living in a Fantasy World If You Think Obama Has Been Inclusive

Krauthammer: Obama Destroyed His Presidency With 'Liberal Overreach'