A British Islamic State supporter encouraged “lone wolf” terrorists to attack Prince George at school and inject poison into supermarket ice creams, a court has heard.

Husnain Rashid, 32, of Nelson, Lancashire, produced an “e-toolkit for terrorism” for internet radicals, the prosecution alleges.

He is accused of calling for the young prince to be targeted at Thomas’s Battersea primary school in southwest London, The Guardian reports.

The terror sympathiser posted the address of the school, along with a photo of the prince before a silhouette of a jihadi fighter and the caption: “Even the royal family will not be left alone.”

Prospective jihadists sought out Mr. Rashid’s advice online for the use of poisons, knives, and explosives, it is claimed.

He published a magazine aimed at potential terrorists, the prosecution said, as well as distributing the al-Qaeda magazine Inspire. He also wanted to travel to Syria to fight for Islamic State terrorists himself.

ISIS Hacked Senior Goverment E-Mail Accounts In Plot To Kill Queen http://t.co/hhg1LHu6r2 pic.twitter.com/I19m29qf3h — Breitbart London (@BreitbartLondon) September 12, 2015

“He made numerous posts glorifying terrorist atrocities committed successfully against others and encouraging and inciting his readers to plan and commit more successful terror attacks of their own,” prosecutor Annabel Darlow said.

She also told a jury that he encouraged “injecting poison into supermarket ice creams” to kill innocent people. Laying out her case against him, she added:

“He provided an unstoppable and hate-filled flow of encouragement for others to commit acts of terror… attacks with vehicles, explosive devices, bombs, chemicals, any attack you can imagine one person committing on their own.”

It was also claimed he was in contact with Omar Ali Hussain, a prolific Islamic State recruiter and jihadist who was a Morrison’s supermarket security guard from High Wycombe before travelling to Syria.

Mr. Hussain advised him on how to launch various attacks, including bringing down aircraft with lasers, it was said.

When police raided his house, Mr. Rashid “hurled” a phone containing a “treasure trove” of evidence over a wall and into an alleyway, Ms. Darlow added.

Mr. Rashid denies six terrorism offences. The trial continues at Woolwich Crown Court.