A man found crying in a Blackpool telephone box told police he wanted to throw himself in front of a bus and get arrested – otherwise he would hurt himself or his family.
Matthew Mallea said he had been kicked out of his home and had resorted to sleeping in Stanley Park.
Preston Crown Court heard he assaulted a woman who had gone to carry out a mental health assessment on him at a police station.
The 36- year-old of Hornby Road, Blackpool, was sentenced to 65 weeks in prison, suspended for two years, after admitting making a threat to kill, common assault and possession of cannabis.
A police officer had been asked to go to Talbot Road near Layton Cemetery, following a report of a man acting suspiciously.
Richard Haworth, prosecuting, said Mallea was in a telephone box on August 28 crying and saying he wanted to kill himself. The defendant had a small amount of cannabis on him.
Mallea was arrested over the cannabis and taken to the police station.
Inquiries showed that before his arrest, he had got into an argument with his partner and was making threats to harm himself and his family.
Officers decided to visit the partner, who said there had been an incident when he was under the influence of drink and drugs.
She hoped the matter would resolve itself. But when told of the continuing threats, she became concerned for her safety.
CCTV of the police custody suite showed Mallea had been saying he had been on his way round to commit murder but he had called 999 instead.
A woman went to carry out a mental health assessment on him.
During the assessment Mallea got agitated and ended up hitting the woman on the head.
Andrew Scott, defending said Mallea had settled his differences with his partner and was attending counselling.
He said: “He has engaged and has addressed mental health problems in prison.”
Mallea was also made the subject of a two-year supervision order and told he must attend a “safer relationships” programme.