An alleged supporter of the Islamic State group is on trial in Britain accused of encouraging attacks on 4-year-old Prince George.

Prosecutors say 32-year-old Husnain Rashid provided an "e-toolkit for terrorism" on an online channel he ran under the name the Lone Mujahid.

Prosecutor Annabel Darlow told a jury Wednesday that Rashid encouraged attacks on a range of targets, including "injecting poison into supermarket ice creams and targeting Prince George at his first school."

Prosecutors say one post included a photo of the prince, his school's address, a silhouette of a jihadi fighter and the message "even the royal family will not be left alone."

Rashid denies preparing terrorist acts, encouraging terrorism and disseminating a terrorist publication.

His trial at London's Woolwich Crown Court is expected to last six weeks.