A man threatened to stab hospital staff in A&E and narrowly missed stabbing a nurse.

Footage shows Joshua Byrne lunging towards a security guard at the Royal Sussex County Hospital in Brighton and shouting “I will stab you in the face”.

The 32-year-old had attended hospital earlier in the day for treatment and was seen outside the A&E department during a fire alarm after he had been discharged.

After arguing with security, he became irate and entered the A&E department, threatening staff and members of the public and taking a mobile phone from a patient by force. Police said he narrowly missed stabbing a nurse.

A member of the hospital security team located PC Greg Devlin and PC Max Setra from the Roads Policing Unit crew in Bristol Gate and the officers entered the hospital.

Byrne was Tasered and was detained on the ground.

Later, he told police that he carries a knife because he stole thousands of pounds from an Albanian drug dealer and felt the need to carry a knife “for protection”.

At Lewes Crown Court on February 20, Byrne admitted attempting to cause grievous bodily harm with intent, threatening a person while in possession of a bladed article in a public place, and affray.

Judge Christine Laing KC praised the bravery and professionalism of the hospital staff and security guards, and the RPU officers who detained Byrne.

She said hospital staff kept calm under pressure, escorted patients and members of the public to safety and protected other patients who could not be moved from the A&E department during the incident, which happened at about 11pm on October 3.

Read more: Child found dead at bottom of cliffs

Divisional Commander Chief Superintendent Rachel Carr said: “The actions of the hospital staff and security was incredible that night.

“It was a distressing incident for everyone in the hospital, but the staff’s professional actions ensured vulnerable patients were protected.

“Byrne’s actions were highly reckless, putting his own safety and the safety of everyone else at risk.

“He was swiftly arrested, and we are pleased that a dangerous criminal has now been sentenced.”

Byrne, unemployed, of Ingram Crescent East, Hove, was sentenced to five years in prison, which includes an extended licence period for a further three years.

Chief Inspector Simon Yates, Sussex Police’s force lead for knife crime and serious violence, said: “We know that there is increased concern from the public about knife crime.

“Sadly, it is becoming commonplace for police officers to encounter weapons such as hunting knives and concealed weapons which have been purchased online, with few, if any, checks to prevent them being used in crime.

“We know that knife crime can destroy the lives of those impacted, their families and loved ones, and our communities.

“Those who carry them often don’t appreciate this impact, and don’t appreciate that by carrying a knife, they are far more likely to become a victim of knife crime themselves.

“It is a priority of Sussex Police to tackle knife crime and serious violence, to educate people about knife safety, and to work with partners to reduce knife crime and fear of knife crime to keep our communities safe.”