Barack Obama spent the better part of 18 months mocking Donald Trump.

He ridiculed his ideas and even the notion he could win the presidency.

But after Trump’s victory, a video resurfaced — and it demonstrated just how wrong Obama was about everything.

Last spring, when Carrier announced they were shipping 1,400 jobs overseas, Donald Trump claimed companies that wanted to stick it to American workers would face consequences if he were president.

Trump also claimed he would be able to negotiate deals that would keep manufacturing jobs in America.

Later that summer, Barack Obama held a town hall event in Elkhart, Indiana.

He was asked about Carrier moving their jobs to Mexico.

Obama responded with globalist boilerplate about economic forces and job retraining programs.

But also detoured into personally attacking Donald Trump over the idea Trump would be able to keep these jobs in America.

Newsmax reports:

“What we have to do is to make sure that folks are trained for the jobs that are coming in now, because some of those jobs of the past are just not going to come back,” Obama responded.

He then took a veiled swipe at Trump, the leader in the Republican primary race. Cottonham referenced Trump’s pledge to save U.S. manufacturing jobs in his question.

“When somebody says — like the person you just mentioned, who I’m not going to advertise for — that he’s going to bring all these jobs back, well how exactly are you going to do that?” President Obama said. “What are you going to do?”

“There’s no answer to it,” he continued. “He just says, ‘Well, I’m going to negotiate a better deal.’

“Well, how exactly are you going to negotiate that?” Obama asked. “What magic wand do you have?

“And, usually, the answer is he doesn’t have an answer.”

You can watch the video of Obama’s remarks below.

President-elect Trump made Obama look like a fool barely three weeks after his election.

He announced his administration had come to an agreement with Carrier to keep 1,000 jobs in Indiana.

And he did it negotiating the type of deal Obama claimed couldn’t be made.

President-elect Trump triumphantly toured the plant at Carrier where he announced his administration’s success in keeping 1,000 jobs in America.

He also promised to work hard to prevent other companies from closing down plants and factories to move jobs overseas.

To many Americans, it was a welcome sight.

For the first time, they saw a President fighting for them instead of explaining to them how the tides of globalization are inevitable and they would just have to adjust.