Two 14-year-old boys arrested by counter-terrorism officers have appeared in court charged with conspiracy to murder at a school.
The teenagers were initially arrested on suspicion of preparing an act of terrorism in Northallerton, North Yorkshire, on Saturday.
Searches were carried out at a number of properties in the market town.
Lawyers for the boys indicated at Leeds Magistrates' Court they will deny the conspiracy charge.
One of the boys also faces a charge of aggravated burglary.
The pair, who cannot be named, were remanded into secure youth justice accommodation.
They will appear at Leeds Crown Court on 4 December.