He also says he will battle against climate change and the Paris accord of 2015, and the proposed Trans-Pacific Partnership trade deal

Trump has promised to scrap or overhaul many of Obama's signature initiatives, such as the health care plan that bears his name

Donald's Trump's victory will be a stinging blow to Barack Obama's two terms in government

Donald Trump's jaw-dropping White House win is a slap in the face for Barack Obama, elected eight years ago as the country's first black president on the promise of a nation united.

At the political level, Hillary Clinton's defeat is certainly a setback for Obama, who campaigned hard for his former secretary of state, traveling across the country and employing the charisma and charm that she sorely lacks.

But, aside from being the loss of a typical battle between the two major American political parties, the 70-year-old real estate tycoon's success is also a stinging personal blow for Obama.

Scroll down for video

Donald Trump's jaw-dropping White House win is a slap in the face for Barack Obama (pictured on the day of the election, at the White House)

It certainly appears that as if this ever calm, cerebral and optimistic president failed to understand a large slice of the American electorate and appreciate their reflexes, fears and concerns.

Indeed, it would seem Obama has failed to take the pulse of this other America, a world of working class whites who felt they have been left in the lurch amid rapid fire change from globalization and an increasingly multicultural society.

Over the short term, Obama, whose approval ratings remain high as he prepares to leave office in January, might well ask what will even be left of his legacy after a Trump administration.

Trump has promised to scrap or overhaul many of Obama's signature initiatives, such as the health care plan that bears his name, the battle against climate change and the Paris accord of 2015, and the proposed Trans-Pacific Partnership trade deal.

Obama has stated adamantly that Trump, criticized as a loose gun on everything from foreign policy to his treatment of women, is a danger to democracy.

Mr Trump gave his victory speech after 3am, not long after Hilly Clinton called to concede the race

In his victory speech, Mr Trump promised to 'bind the wounds of division' and make sure that 'every single American' has the 'opportunity to realize his or her fullest potential'

'We can't afford the other guy. Can't do that! Can't do that!' Obama said in Las Vegas a few days ago.

At the political and human levels, it is hard to imagine two people more different than Obama and Trump.

This means their world view but also their views on women - Trump was accused during the campaign of sexual misconduct - family, money and institutions, and even their style, the way they speak and the words they use.

Obama, the son of a Kenyan father and an American mother, forged a path that led him to Columbia and Harvard. Trump inherited money from his family and developed a real estate empire centered on hotels and casinos. He has boasted about paying as little as possible in taxes.

Obama is an intellectual who likes intricately reasoned discourse, at times to a fault. Trump is a businessman who speaks his mind in blasts of short, aggressive and sometimes vulgar phrases.

'Democracy itself' is at stake in the election, Obama said recently as he lashed out at Trump.

Street portraits of Barack Obama (left), Hillary Clinton (centre) and Michelle Obama (right) in New York on the day of the presidential election

Barack Obama held a press conference to show his birth certificate after Donald Trump fuelled the 'birther' movement

Obama had come out in support of Hillary Clinton (together, on Monday at a Philadelphia rally) as he said Trump was not fit to become president

'Civility is on the ballot,' Obama added. 'Tolerance is on the ballot. Courtesy is on the ballot. Honesty is on the ballot. Equality is on the ballot. Kindness is on the ballot.'

Obama had personal reasons to try to stop Trump.

In 2011, Trump was not yet a candidate for the White House but had displayed a taste for the limelight, controversy and conspiracy theories.

For months, he fueled the so-called 'birther' movement that questioned whether Obama had been born on US soil and was thus eligible to be president.

An exasperated Obama called this nonsense and held a press conference to show off his birth certificate. He was born in Hawaii.

A few days later, at the White House Correspondents Dinner, attended by Trump, Obama cheerfully said what he thought of Trump.

'No one is happier, no one is prouder to put this birth certificate matter to rest than the Donald,' Obama said.

'And that's because he can finally get back to focusing on the issues that matter –- like, did we fake the moon landing?'

Just over five years later, Obama is getting ready to give up the White House to his former foil.