Paranoid schizophrenic Samual Bradley became embroiled in a struggle with a security guard after brandishing a knife in the early hours of the morning.
The 28-year-old became involved in an altercation with a friend who lives at Furlong Court in Burslem – supported living accommodation for people with drug and alcohol issues.
He was told he would not be allowed back in the complex.
But after walking around a corner, he returned 10 seconds later holding a knife leaving the manager terrified.
A security guard then wrestled with the defendant until the blade dropped to the ground.
Now Bradley – who has two previous convictions for possessing a knife in public – has been handed a section 37 hospital order with section 41 restriction order at Stoke-on-Trent Crown Court.
Prosecutor Maria Brannan said the defendant became involved in an altercation outside Furlong Court, Burslem, at 3.30am on September 22.
Miss Brannan said: “Furlong Court is supported living accommodation for people with drug and alcohol issues. The defendant was not a resident. His friend was. Non-residents are not allowed in the premises.
“At 3.30am the defendant and his friend were involved in an altercation outside the premises.
“Staff checked the friend’s room and found some of the defendant’s belongings. They were returned to the defendant with a warning he would not be allowed back in the premsies.
“He tried to get inside and kicked the door. He was spoken to by security staff. He continued to shout and yell. He made reference to mental health issues.
“A manager called the police. She went out.
“The defendant said, ‘I will get a knife then’. He went round the side of the building and returned 10 seconds later holding a knife. He stood close to the manager and a security guard who struggled with the defendant and the knife dropped out of his hand.
“No-one was injured but the manager was frightened by his actions.”
The knife was a serrated kitchen knife with a 4cm blade.
Bradley, of no fixed address, pleaded guilty to threatening another with a knife.
Stuart Muldoon, mitigating, said the defendant has been receiving treatment at the Hatherton Centre in Stafford.
Mr Muldoon said: “He recalls very little of the incident. It is clear he is not well and does need some treatment to help him and to protect the public.”
Forensic psychologist Dr Nicholas Tarrant, who has been treating the defendant, said: “He is suffering from paranoid schizophrenia. Ongoing treatment in hospital would be the most appropriate disposal in this case. I also recommend a restriction order under section 41 of the Mental Health Act.”
Judge David Fletcher said: “No-one was injured but there was a great deal of fear caused to one of the managers of the establishment.
“I am satisfied you are suffering from a mental disorder and you are to be detained in hospital for medical treatment. The appropriate treatment is available to you at the Hatherton Centre in Stafford.
“The most suitable method of dealing with you is by making you the subject of a section 37 order. It for your own wellbeing and the wellbeing of the public.
“The section 41 order, I am satisfied because of the nature of your offending, and also having regard to your past and a history of mental illness, is necessary to protect the public.”