A cancer sufferer attacked his partner's ex-husband at a swanky bar while armed with a knife during an after work drinking session.
William Orr, 50, lashed out at James Naismith in a brawl that was captured on CCTV cameras at Bar 1906, in Cumnock, East Ayrshire.
Orr, of Cumnock, tried to punch and kick Mr Naismith on the body after losing the plot in the bar, which is part of The Royal Hotel in the town.
And he was found to have a lock knife on him when police arrived to investigate his lawbreaking.
Orr, who admitted his guilt over the offences last month, was spared jail when he returned to the dock at Ayr Sheriff Court this week to learn his fate.

He pleaded guilty to charges of assaulting Mr Naismith and being in possession of a knife in public on January 12 last year.
His not guilty pleas were accepted to charges of also assaulting worker George McBride by repeatedly attempting to punch him, and behaving in a threatening or abusive way.
Prosecutor Alison McFadyen explained: "Mr Naismith and Mr McBride are employed at the bar as door stewards.
"The accused was staring at them. He finished his drink and he left at about 9pm.
"He returned at 11.55pm and continued to stare at both complainers."
She said they had experienced 'issues' with him previously and tried to escort him from the premises.
The Procurator Fiscal Depute explained: "Mr Naismith opened his arms and the accused began to say, 'you're not touching me'.
"Mr Orr grabbed Mr Naismith's wrist. The accused said, 'f*** it, I'm for you'.
"Mr Naismith grabbed his arms and pushed them up his back, in order to get him out of the bar at that time."
The court heard they managed to get him out, as Orr swung kicks and punches which didn't land, before he was punched to the ground by Mr Naismith.
They then restrained him until police arrived, with officers finding the knife in one of the pockets in his jeans.
Defence solicitor Tony Currie said: "He has a record [of previous convictions] which is slowing down.
"His last conviction was in 2015 and he was last sent to custody in 2010.
"He has a form of stomach cancer. That has left him, unfortunately, a legacy of ill health.
"He was volunteering at a garage in Catrine, he was helping out testing vehicles at an MOT centre.
"Everyone from work had gone out straight after work, from work - he was still in the same clothing he'd worked in that day.
"He is not in the habit of drinking alcohol because of his ill health.
"Mr Naismith's ex-wife is Mr Orr's current partner. There has been some ill feeling felt by Mr Orr from Mr Naismith towards him since he began a relationship with Mr Naismith's ex wife."
Sheriff Scott Pattison told Orr he was "lucky" to be avoiding custody as he placed him on Community Payback and Restriction of Liberty Orders.
The Community Payback Order will see him supervised by social workers for 18 months and paying Mr Naismith £500 in compensation over 16 months.
He is also banned from entering the pub for 18 months, will be fitted with an electronic tag and was told to remain within his home between 7pm and 7am for six months.
The judge added: "This is an alternative to custody. If you breach the orders the court will strongly be considering a custodial sentence."