A man who had taken an overdose became aggressive after hospital doctors refused to give him a bed.
James Morley, 48, was escorted out of the Royal Sussex County Hospital, in Brighton, but when he would not leave the grounds the police were called.
Morley admitted disorderly behaviour at a hearing at Brighton Magistrates’ Court .
The court was told he went to the hospital, in Eastern Road, twice on June 20.
During his second visit he asked doctors to give him a bed for the night but he became abusive when they refused.
Brian Noel, prosecuting, told the court: "The doctors told him to go away because he was being disruptive. His behaviour became abusive to nursing staff."
Security staff also asked him to leave before escorting him from the accident and emergency department towards the edge of the hospital grounds.
Mr Noel said: "He turned towards them. He was looking extremely aggressive. He was shouting and making threats."
Morley, of Marine Parade, Brighton, was restrained on the ground in the road until police arrived.
Ray Papp, defending, said Morley had a history of mental health problems and had made previous suicide attempts. On the evening of his arrest he had taken an overdose of his medication before going to the hospital.
He said: "That day he tried to commit suicide. He took a substantial overdose of anti-depressants and sleeping tablets. He remembers hardly anything about the offence."
Morley was given a nine-month conditional discharge and ordered to pay £43 costs.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereComments are closed on this article