Former US President Barack Obama found the time to catch up with ex-Prime Minister David Cameron during his trip of the UK.

Mr Obama is on a trip of the country and dropped in on Mr Cameron for a social meeting on Saturday, just months after he passed on his duties as leader of the free world to Donald Trump.

The meeting between the pair, in an undisclosed plush looking location, is the first since Mr Obama sparked fury after he warned Britain would have to 'go to the back of the queue' if it were to leave the European Union for its own trade deal with the United States.

Obama is on a trip of the country and dropped in on Mr Cameron for a social meeting on Saturday

A US-UK trade agreement is not going to happen 'any time soon,' Obama said months before the EU referendum

He made the remarks during April 2016 as he rallied behind Cameron to urge British citizens to vote 'remain' in the June referendum in a highly controversial intervention in the campaign.

Former London Mayor Boris Johnson accused him of making an 'incoherent' and 'inconsistent' argument.

A furious Johnson said of the comments: 'The Americans would never contemplate anything like the EU, for themselves or for their neighbors in their own hemisphere. Why should they think it right for us?'

However Mr Obama's warnings were not adhered to by the majority of the UK electorate in the voting booths as the country chose to leave the EU.

Mr Cameron tendered his resignation from his post the day after the vote and Mr Obama was replaced by Mr Trump in January after he saw off his Secretary of State, Hillary Clinton, in November's presidential election.

Mr Trump welcomed Britain's vote to leave the bloc and said he would work hard to get a quick bilateral trade deal done.

Prime Minister Theresa May also became the first leader to visit the new US president at the White House soon after his inauguration.

Mr Cameron appears to be enjoying his extra free time since retiring from politics. The former Witney MP attended a David Hockney art exhibition on Friday at the Tate Britain and urged his Twitter follows not to miss it.

Prince Harry (left) with former US President Barack Obama following a meeting at Kensington Palace in London

The ex-Prime Minister also found the time to support the election bid of Conservative candidate Edward Timpson in Crewe and Nantwich where he gave out flyers and met with locals.

Earlier on Saturday Mr Obama also met with Prince Harry at Kensington Palace to discuss this week's terror attack in Manchester and another of other issues.

Mr Obama is said to have offered his condolences to the 22 victims and support for those recovering from injuries after a suicide bomber detonated his explosives at the end of an Ariana Grande concert at the Manchester Arena.

They also discussed a range of 'shared interests including support for veterans, mental health, conservation, empowering young people and the work of their respective foundations,' according to a press release from Kensington Palace.

Former US president Barack Obama boards his private jet to leave Edinburgh on his Scottish visit

Mr Obama is on a visit of the UK arriving in Scotland on Friday before jetting off in a private jet to meet with Prince Harry.

In his first ever visit to Scotland Mr Obama enjoyed a round of golf at St Andrews before a charity dinner in Edinburgh in an event not attended by media.

The two men developed a friendly rivalry in the run-up to Harry's Invictus Games for wounded servicemen last year, when the former president challenged the Prince to get the Queen involved in their competition over whether the US or UK would triumph in the contest.

Obama's small private jet took him to Scotland and then onto London

Former US president Barack Obama shakes hands with spectators as he plays a round of golf at St Andrews Golf Club, near Dundee in Scotland.

The pair also met in 2016 during Mr Obama's visit to the UK along with First Lady Michelle, during a dinner with the Duke and Duchess of Cambridge.

Prince Harry's meeting with Mr Obama comes a week after he attended the wedding of Pippa Middleton and James Matthews.

The Prince was seen walking with his brother, Prince William, to the Berkshire church without his actress girlfriend Meghan Markle, who may have chosen to stay away from the ceremony to avoid upstaging Pippa and bringing more attention to her relationship with Harry.