A DRUNKEN row which culminated with an assault on a police officer led to a prison sentence for one man at Dunfermline Sheriff Court.

Raymond Lynch (32), of Granton Mains Avenue, in Edinburgh, appeared for sentencing on Wednesday and admitted behaving in a threatening manner which was likely to cause a reasonable person to suffer fear or alarm at a house in Lochore on December 4 2016.

He acted in an aggressive manner, repeatedly shouted and swore, uttered threats of violence and repeatedly kicked an internal door, causing it to break.

He also assaulted a police officer when he attempted to headbutt him and kicked him on the body.

Lynch also admitted breaching a bail condition on December 6 which had banned him from going to the house in Lochore or contacting or approaching a witness.

Depute fiscal, Dev Kapadia, said Lynch and his partner had been drinking with another friend and an argument had broken out when the partner asked to listen to a particular song.

"The accused's mood changed at this and became aggressive," he said. "He started shouting at the partner and her friend. The accused was asked to leave repeatedly but refused. He then started kicking the kitchen door causing the bottom hinge to break and resulting in a hole in the door."

Police arrived and, after being told he was being detained, he attempted to headbutt one of the police officers and kicked him on the leg.

Defence solicitor, Chris Sneddon, said his client had been in a relationship with his then partner for 15 years.

"Alcohol consumption has been an issue for both parties in recent years," he told the Court.

"As far as the relationship is concerned, it is over. He has finished with the relationship and with Fife."

The breach of bail, Mr Sneddon said, happened when Lynch had left his wallet at the property. "His partner had said he could come to get it and she changed her mind. He did not react well."

Sheriff Charles Macnair said Lynch had four previous convictions for domestic offences and previous community payback orders had "made no effect whatsoever" on his offending.

"It is also an assault on a police officer," he said. "Assaults on police officers will not be tolerated. Police are doing a difficult job and they are entitled to the protection of the Courts.

"In my view, the time has now come where there is no appropriate alternative but a custodial sentence."

He sentenced Lynch to a total of 190 days imprisonment.