A Bradford teenager is in court accused of making a CO2 bomb.
Leeds Crown Court heard the 16-year-old, who cannot be named, made a potential explosive filled with shrapnel and told pupils he was going to "go on a rampage" and "kill many people".
The court was also told the boy said to fellow students in 2017 he was going to carry out a school shooting and had praised Adolf Hitler.
He denies five terrorism-related offences. The trial continues.
Stage set for return of Leeds Summer Series
Three jailed over Rochdale machete attack linked to crime feud
Police appeal to trace wanted Bradford man
Wakefield man convicted of manslaughter after pub incident
Nominations open for Blackburn with Darwen Community Volunteer Awards
Woman arrested after attempted robbery in Cheetham Hill
Bradford Council seeks inclusion in grooming gangs inquiry
Former care home worker jailed for 25 years over child abuse offences
Bradford man jailed for sexual assault on teenager
Culture at the Heart of Stockport’s Transformation
South Asian Art Exhibition Opens at Cartwright Hall
Men’s Mental Fitness Programme Launches in Blackburn
Alim OnAir
Remix Saturdays
Bhangra Nights
The Golden Era