A teenager from Bradford has been jailed for making a potential bomb.
Leeds Crown Court heard the 16-year-old had researched bomb-making and made a device that could have been a "viable C02 bomb".
The court was told how the device he made could, with the addition of gunpowder and a fuse, have been a credible threat.
He was convicted of making an explosive substance and three counts of having a document useful to someone committing or preparing an act of terrorism.
He was cleared of a more serious offence of making an explosive substance with intent.
The boy, who cannot be named, will be sentenced at the same court next month.

Police Appeal to Two Women Following Indecent Exposure Report in Slaithwaite
West London Family Home Approved for Turkmenistan Embassy
Manchester Welcomes £7 Million Boost for Northern Olympic Games Bid
Murder Investigation Launched After Man, 38, Attacked in Leeds
Garforth Man Jailed for Manslaughter After Death of 79-Year-Old at Bus Stop
TfL Reveals £900 Million Cost of Proposed West London Orbital Railway
Calderdale Named Among England’s Top 25 Places for Children to Grow Up
Five Young Men Sentenced Over Violent Attacks in Bradford
Man, 35, Named as Victim of Fatal Enfield Pub Shooting
Full Leeds Route Revealed for 2027 Tour de France Femmes
Bradford Solicitor Filmed Allegedly Advising How to Avoid £45,000 Immigration Fine
The Golden Era
Remix Saturdays
Bhangra Nights
Legal Show