An Inverkeithing man assaulted police officers then was taken to hospital where he caused more disorder which lasted for hours.

Jordan Bernard, 22, of Glebe Terrace, appeared for sentencing at Dunfermline Sheriff Court.

He previously admitted that on April 28 at Hope Street car park, he assaulted a police officer by kicking him in the stomach.

He then assaulted a second officer by making threats, pushing him and kicking him on the body.

At the Victoria Hospital, Kirkcaldy, he shouted, swore, made threats of violence, repeatedly spat, struggled with police and hospital staff when they were trying to treat him and kicked out at police officers.

Depute fiscal Azrah Yousaf said Bernard had been drinking and had an argument with a friend.

At around 11pm members of the public contacted the police to report someone lying on the ground.

This was Bernard and police found him lying on grass. The officers were going to call an ambulance when Bernard became agitated and irate.

He was shouting and swearing and threatened to "smash” one of the officers, and then pushed him, causing him to fall backwards.

He was arrested and put in a police vehicle as he kicked out at officers.

He was taken to the Victoria Hospital where his disruptive behaviour continued and he had to be dragged out of the police van.

Bernard was spitting and so a spit-hood was put on him.

“He was in the hospital for nine hours and throughout that time he was behaving aggressively to police,” added the depute.

Defence solicitor Christine Hagan said her client had moved from Kirkcaldy to live with a friend in Inverkeithing.

“He had taken alcohol to excess and is very remorseful for his actions,” she added.

Sheriff Susan Duffy imposed a community payback order with 12 months of supervision and a six-month restriction of liberty order.