A jobless man admitted sharing two terrorist videos on Google+ before launching a rant from the dock of the Old Bailey about being in an "enemy of Islam court".

Atiq Ahmed, 32, from Copster Hill Road, Oldham, Manchester, appeared before judge Michael Topolski charged with three terror-related offences.

Ahmed, who has a history of mental health problems, pleaded guilty to two counts of dissemination of a terrorist publication.

They related to two videos with Arabic titles he posted links to on his publicly accessible Google+ account over a period between January and March and on or around March 8 this year.

He pleaded not guilty to a charge of possession of information useful for terrorist purposes contrary to Section 58 of the Terrorism Act.

The 60-page document entitled Hijrah to the Islamic State (IS) was published by IS and contains a how-to guide for aspiring jihadists. It was allegedly found on Ahmed's Hewlett Packard laptop computer on March 9.

Ahmed's lawyer Andrew Selby said the guilty pleas were made on the basis he was "reckless" when he posted the links.

Prosecutor Steven Gray said this was accepted by the Crown but not his assertion that he acted out of "curiosity and study".

Judge Topolski ordered a pre-sentence report before remanding Ahmed in custody ahead of a sentence hearing on September 21.

He confirmed that the outstanding charge will be ordered to lie on file.

Ahmed wore a grey tracksuit and muttered to himself throughout the brief hearing.

He began ranting about killings and bloodshed as he was led away from the dock by two officers.

During the brief outburst, Ahmed said he should be before an Islamic court and not in an "enemy of Islam court".