US President Donald Trump says he has cancelled his trip to London because of a “bad deal” over the relocation of the American embassy.

Mr Trump had been expected to travel to the British capital next month to open the embassy, which will move from Grosvenor Square to Nine Elms.

He took to Twitter to explain why he called off the visit, which had sparked fears of mass protests and would have been his first to the UK as President.

“I am not a big fan of the Obama administration having sold perhaps the best located and finest embassy in London for ‘peanuts’, only to build a new one in an off location for 1.2 billion dollars,” Mr Trump said.

 However, the embassy website showed the decision to move the location was made in 2008 under George W Bush, months before Barack Obama took office in January 2009.

It would have been impossible to retrofit the aging concrete building with the security measures needed, officials said at the time.

There was an outburst on social media after the visit was announced last year, when protesters vowed to turn out in great numbers to let the US President know that he was not welcome in the UK.

Calls for British Prime Minister Theresa May to cancel his visit amped up again in late November when Mr Trump retweeted anti-Muslim videos shared by a British far-right group.

Downing Street condemned the tweets but rejected calls from opposition MPs to revoke Mr Trump’s invitation.

The US will leave behind an imposing 1960 stone and concrete embassy in London’s upmarket Grosvenor Square — an area known as ‘Little America’ during World War Two, when the square also housed the military headquarters of General Dwight D Eisenhower.

When the deal was made in 2008, the US Government said their “goal of a modern, secure and environmentally sustainable embassy could best be met by constructing a new facility”.

The new embassy on the South Bank is a veritable fortress set back at least 30 metres from surrounding buildings — mostly newly-erected high-rise residential blocks — and incorporates living quarters for the US Marines permanently stationed inside.

The $US1 billion construction, overlooking the River Thames, was wholly funded by the sale of other properties in London.