A leading figure in the British push to exit the European Union says President Obama accidentally helped the Brexit cause.

Nigel Farage on Friday said Obama's calls for the United Kingdom to stay in the EU caused people to vote to leave.

ADVERTISEMENT

“Threatening people too much insults their intelligence,” the United Kingdom Independence Party head said.

“A lot of people in Britain said, ‘How dare the American president come here and tell us what to do?’ ” Farage continued on Sirius XM’s “Breitbart News Daily,” citing Obama’s U.K. trip in April.

“It backfired. We got an Obama-Brexit bounce, because people do not want foreign leaders telling them how to think and vote.”

Britain on Thursday voted to leave the EU in a move experts predict will lead to worldwide financial uncertainty.

British Prime Minister David Cameron promptly resigned Friday morning.

Obama warned Britain against leaving the EU during a visit in April, saying it could hurt potential trade deals with the U.S.

“The U.K. is going to be in the back of the queue,” he said during an appearance alongside Cameron.

“Not because we don’t have a special relationship but because given the heavy lift of any trade agreement, us having access to a big market with a lot of countries rather than trying to do piecemeal trade agreements is hugely inefficient.”

Donald Trump Donald John TrumpUS reimposes UN sanctions on Iran amid increasing tensions Jeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Trump supporters chant 'Fill that seat' at North Carolina rally MORE on Friday mocked Obama for being on the losing side in the Brexit vote.

“The world doesn’t listen to him,” the presumptive GOP presidential nominee said during a press conference in Turnberry, Scotland.

Trump said he wholeheartedly backed Britain’s decision to leave the EU and once again forge its own path.

“You just have to embrace it,” he said. "It’s the will of the people. What happened should have happened, and they’ll be stronger for it.”

Farage on Friday said Britain’s exit from the EU could ultimately jeopardize the organization’s existence.

“I think we’ve changed not just the future of British history, I’m sure the European Union project itself will come tumbling down. People power can beat the establishment if they try hard enough."