The teenager faces charges under the Terrorism Act 2000

The 17-year-old, who was arrested in the Dewsbury area of West Yorkshire on Monday, was given bail after a hearing at Westminster Magistrates' Court.

It is alleged he had a copy of the "Anarchists' Cookbook", containing instructions on how to make home-made explosives.

His next court hearing has been set for 25 October.

The teenager faces two charges under the Terrorism Act 2000.

The first charge relates to the possession of material for terrorist purposes in October last year.

The second relates to the collection or possession of information useful in the preparation of an act of terrorism.

He stood in the dock wearing a baggy, blue hooded top and only spoke to confirm his name and date of birth.

After the 40-minute hearing, the teenager was released on bail under several conditions.

A second 17-year-old who is facing similar charges has already been remanded in custody and will also appear at the Crown Court on 25 October.