An East Kilbride man claimed he armed himself with a decorative sword after a neighbour attacked him twice.
Robert Dobbie went exterior with the weapon and was joined by Iain McKendrick who had a knife.
The pair had been arrested when one other neighbour known as the police, Hamilton Sheriff Court docket heard this week.
Dobbie, 45, of Trinidad Means, admitted carrying a sword in public whereas McKendrick, 38, of Fundamental Road, Blantyre, admitted unlawful possession of a kitchen knife.
Dobbie was additionally charged with shouting abuse, making threats, brandishing the sword at one other man and preventing with him, however his not responsible plea was accepted.
The court docket heard police had been known as to Trinidad Means round 6am on June 5 final yr.
Aga Mathieson, prosecuting, mentioned: "Each accused had been in Dobbie's residence. That they had been ingesting all through the night time.
"Each had been intoxicated and a neighbour contacted the police.
"Officers checked CCTV and noticed the lads within the shut with weapons."
Defence agent Andy Thomson mentioned Dobbie had blended alcohol along with his treatment.
The solicitor said: "He and others had been having difficulties with a neighbour. My consumer was assaulted twice and images present an harm to his face.
"He went again to his flat the place he had a decorative sword earlier than going out once more. It appears there was then one other confrontation and the police had been known as."
Ian Scott, defending McKendrick, mentioned his consumer picked up a knife when he noticed his pal with "a really apparent harm" and a crowd of individuals exterior the flat.
Mr Scott added: "It's extremely regrettable that this developed."
Dobbie has been in jail earlier than however Sheriff Linda Nicolson was "simply persuaded" by his lawyer to permit him a community-based sentence this time.
He can be beneath social work supervision for a yr and should perform 300 hours of unpaid work.
Dobbie may also be confined to his residence between 7pm and 7am every day beneath a three-month digital tagging order.
McKendrick was ordered to do 180 hours of unpaid work.
And do you knowLanarkshire Dwellis on Fb? Why not head toour web pageand provides us a like and share.
*Do not miss the newest headlines from round Lanarkshire. Signal as much as our newslettersright here.