A Glasgow teenager has been charged in connection with a cyber attack on the Metropolitan Police during the summer.

Several messages goading officers were posted the force's Twitter account in July, while a series of unusual emails were also sent from its press account.

READ MORE: Hackers post bizarre ‘unauthorised’ messages on Met Police Twitter account

One of the posts, which read "what you gonna do phone the police?," was retweeted as part of a rant by US president Donald Trump on the state of the English capital under mayor Sadiq Khan.

Scotland Yard confirmed their site had"been subject to unauthorised access," but denied it constitued a "hack".

The 19-year-old and an 18-year-old from Moray have since been arrested and charged over the incident.

A report will be submitted to the Procurator Fiscal.

A Police Scotland spokesperson said: "Two men, aged 18 and 19, from the Lossiemouth and Glasgow areas respectively, have been arrested and charged in connection with unauthorised access and publication of content on the Metropolitan Police Service's news platform on Friday, July 19."

"A report will be submitted to the Crown Office and Procurator Fiscal Service."