Mohammad Farooq, 28, planned to "kill as many nurses as possible".
But the hospital worker was talked down from detonating his pressure cooker bomb by Nathan Newby who saw him acting agitatedly outside.
The patient called the police, who arrested Farooq at St James's Hospital in Leeds on January 20 last year.
He was found with 10kg of low explosive, two knives, black tape and a blank firing imitation firearm.
Prosecutor Jonathan Sandiford KC said Farooq's plan was to detonate the bomb then stab as many people as possible before using the fake gun to incite police to shoot him dead. He had immersed himself in an extremist Islamic ideology and went to the hospital to "seek his own martyrdom".
Farooq had a grievance against several ecolleagues at the hospital and had been conducting a poison pen campaign against them.
This story is from the July 03, 2024 edition of Daily Record.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber ? Sign In
This story is from the July 03, 2024 edition of Daily Record.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber? Sign In
GLOVE STORY
New Dons keeper Mitov is delighted his St Johnstone mentor has signed at Pittodrie as pair eye another big chapter in their careers
HAGI CAN PULL THE STRINGS
I'd forgotten all about lanis until he appeared on my screen wearing a tea cosy... he can still come to boil at Gers
CAM STILL THE ONE TO WATCH
Norrie proves a point by seeing off top Briton Jack
TIPPING POINT
Jacob stars with help from Andy
SHE'S MY KIND OF GIRL
RAPIDO GIRL (5.0) looks set to show her rivals a clean pair of heels on a tricky card at Doncaster.
Man quizzed over murder of Scots labourer 22 years on
A MURDER suspect has been arrested more than two decades after a Scots labourer vanished.
MISSING TOURIST IS FOUND
Polish cops trace Sam after family plea
COPS SWOOP ON TINDER DATES RAPE ACCUSED
Keep-fit obsession led police to suspect
Holly: No woman should feel unsafe Star thanks undercover cop who snared predator days from murder plot
HOLLY Willoughby has spoken of her undying gratitude to the undercover US police officer who snared a predator on the verge of kidnapping, raping and murdering her.
Fury as sheikh's eighth Highland home approved
THE billionaire ruler of Dubai has won permission to build an eighth house on his Highland estate.