A man armed himself with a meat cleaver and made threats when his landlord’s family turned up to evict him.
Gameel Al-Alimi was told by a judge the speed at which he got hold of a weapon was “terrifying” and his behaviour had been “disgraceful”.
Preston Crown Court heard how the people who went to his Westmorland Avenue flat in Blackpool did not react to his goading, anger and threats.
And the judge, Recorder Guy Mathieson, said they deserved credit for keeping their cool.
The incident was captured on film and played in court at a sentencing hearing.
Al-Alimi, 27, had pleaded guilty to charges of affray and criminal damage over the events on April 13.
Bob Elias, prosecuting, said the family had knocked on the door for quite a while. They had a key and so let themselves in.
Al-Alimi, the tenant, was inside and a confrontation took place.
He went on to make a threat and for a brief time was seen to be waving a meat cleaver about.
He was filmed saying: “I’m gonna flip, I’m gonna go mad.
“Get out of my flat now. I’ll kill you”.
The prosecution said the defendant eventually calmed down and stopped. Two people stayed there until the police arrived.
On a previous occasion he had caused various damage at the flat, damaging doors and other property, said Mr Elias.
Alison Heyworth, defending, said people had gone to the flat to try and evict him. Five people had entered the flat that morning.
She added: “The defendant was asleep. He was woken by his heavily pregnant girlfriend.
“He thought intruders were in there. He went out and completely over reacted. He only had the weapon in his hand for a very short period before discarding it.
“He says he had the weapon to hand in his room because of concerns about individuals in that area. He had been subjected to anti social behaviour and had it there in case he needed to frighten people out of his flat.”
Miss Heyworth added that he needed to address how he should respond when frustrated. He needed to learn to control his temper.
“The community would be better served by him being put on supervision, rather than him going to custody and coming out none the wiser” she said.
The judge told Al-Alimi: “Arming yourself in that way is unacceptable in any circumstances. The speed with which you went and got a pretty ferocious weapon in response to these people, whether they had a right to be there or not, is terrifying. It wouldn’t have taken much, given the state you were in, for this to have taken a phenomenally worse turn.”
Al-Alimi was placed on a two-year community order, which will involve two years’ supervision and a cognitive behaviour programme. He will also have to pay a £60 surcharge.