The President of the United States attacked the Mayor of London in a tweet on Saturday morning which read: "With the incompetent Mayor of London, you will never have safe streets!"
The President’s has quoted a tweet from right-wing commentator Katie Hopkins which said officers have "lost control of London streets" and "lost control of their twitter account too".
The comments were in relation to a series of unauthorised tweets on the Metropolitan Police's official Twitter account.
The force denied that its IT system was hacked, adding that the security issue had only affected its MyNewsDesk account, which it uses to issue news releases.
Late on Friday, a series of tweets were sent out expressing anti-police sentiments and calling for the release of drill rap artist Digga D.
Apparently they lost control of their twitter account too.
A Scotland Yard superintendent said the Met's official account had "been subject to unauthorised access".
Superintendent Roy Smith tweeted: "Our media team are working hard to delete the messages and ensure the security of the account. Please ignore any Tweets until we verify that it is back under official control."The offending messages were taken down in the early hours of Saturday.
A Metropolitan Police spokesman said there has been no "hack" of its IT infrastructure following the incident.
Scotland Yard said the security issues only related to its online provider called MyNewsDesk, which it uses to issue news releases.
A spokesman said the force was working to establish exactly what happened.
"We have begun making changes to our access arrangements to MyNewsDesk," the Met said in a statement.
"At this stage, we are confident the only security issue relates to access to our MyNewsDesk account," it added.