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 After Man Reports Rape in Slough
Keighley Drug Dealer Ordered to Pay Back £170,000
New Bike and Street Trading Rules Coming to Leeds City Centre
Bradford Homes, Hospital and Schools to Benefit from £9.7m Heat Network Expansion
Former Leeds Accountant Jailed for Five More Years Over Unpaid £490,000 Confiscation Order
Manningham Housing Association Achieves LGBTQ+ Housing Pledge Pioneer Status
Police Warn Over New Trend Offering Cash to Accept Parcels
Tributes Paid to Former Buckinghamshire High Sheriff Peter Kara
Calderdale House Builder Fined £300,000 After Worker Suffers Serious Spinal Injuries
Bradford Youth Orchestra Hits the Right Notes on German Tour
Alim OnAir
Legal Show
Remix Saturdays
The Golden Era