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.

Fare Dodger Admits Assaulting Police Officer at London Tube Station
Aylesbury Drug Dealer Jailed for Two Years
Leeds in Running to Host 2035 FIFA Women's World Cup Matches
Bradford Hospital Staff Unite to Rescue Stray Cat Family
Richmond Council calls for West London Orbital extension
Seven jailed for helping Iranian nationals enter UK illegally
Leeds man jailed after naming false driver in speeding case
Final four men jailed for child sexual abuse in Bradford case
London SEND School Becomes First in England to Win World's Best School Prize
New and Improved Bus Services Launch Across Blackburn with Darwen
Reopening Keighley Tip Unlikely to Reduce Fly-Tipping, Council Warns
Leeds Economy Strengthens as City Targets 100,000 New Jobs
Alim OnAir
Legal Show
The Golden Era
Remix Saturdays