A 24-year-old woman who admitted assaulting two police officers and damaging a police vehicle was ordered to carry out 120 hours of unpaid community work.
Sentence had earlier been deferred at Inverness Sheriff Court on Amy Robertson of Anderson Court for a background report.
At that hearing, the court was told that Robertson was in High Street, Inverness in the early hours of June 19 when she became angry at a man nearby.
Fiscal depute Ross Carvel said: “She then punched a wing mirror on the police vehicle. Officers rushed to deal with her and had to pin her up against the vehicle.
“It took four constables to deal with her as she was lashing out with her arms and legs. She hit one officer on the leg and another on her head.
“She was placed in a police van and taken to the custody area of the police station where she spat on the sergeant. He took a step back but the spit landed on his police shirt.”
Mr Carvel added that a spit hood was then placed over her head.
“She was placed in a cell and later that morning as she was being processed, she showed no remorse and seemed proud of her behaviour.
“She was boasting about telling her brother about her conduct when she was released from custody.”
Defence solicitor John MacColl said: “She has no previous convictions and has no recollection of events.”
Sheriff David Sutherland also placed Robertson under supervision for two years.