A MAN on trial for terrorism offences discussed livestreaming “an incident” and said he wanted First Minister Nicola Sturgeon “to die” in an online pro-fascist forum, a court has heard.

Sam Imrie has been charged with posting statements on social media platform Telegram suggesting he was going to carry out an attack on the Fife Islamic Centre in Glenrothes, Fife.

The 24-year-old has also been accused of planning to stream live footage of “an incident”.

Giving evidence at the High Court today, Detective Constable Jonathan Leitch, who works in counter-terrorism, discussed messages allegedly posted by the accused in a Telegram channel called “Fashwaveartists.”

READ MORE: Mosque attack suspect told mum he'd ‘done something stupid’, Edinburgh court hears

In a series of posts in July 2019, Imrie allegedly wrote: “I just want them all dead. I just want my people to live free.

“I don’t give a f*** who I have to kill to make it happen. I will meet them at the door with closed fists, ready to fight.

“I’m tired of being nice, I want to atom bomb all of the Middle East and all of Africa. F*** all you n******.

“I want to stream it but I also don’t want to get caught. I think I will stream it though. We are going to kill the invaders.”

Imrie also hit out at the SNP over their immigration policies.

“The SNP Party wants millions of Muslims to come in so obviously I want Sturgeon to die,” he wrote.

The accused was warned by other users not to discuss the issue in the group.

He responded: “There is no going back. Any chance I actually get away with it?”

Other users appeared to try to dissuade the accused.

One said: “Throwing you life away doesn’t make you a martyr, especially when you throw it away on a whim.

“Targeting innocents at this stage will only harm the rest of us.”

Imrie replied: “No invader is innocent.

“F*** it, why wait? Hypothetically if I was going to livestream something cool, where should I do it?”

Among other charges, Imrie has been accused of being in possession of neo-Nazi, anti-Semitic and anti-Muslim material and extreme pornography, including indecent images of children and an image involving a human corpse.

Imrie is also charged with driving while under the influence of drugs and alcohol in July 2019.

He denies all of the nine charges against him, three of which come under the Terrorism Act.

The trial, before Lord Mulholland, continues.