A man stole a police officer’s pepper spray and tried to douse her with it.
Peter McGinlay, 42, initially spat at PC Louise McCombes before punching her on a train in Glasgow’s Springburn on February 20 this year.
He also carried out a similar attack on PC David Montgomery and put him in a headlock.
McGinlay was sprayed twice to no effect before prying it from the officer’s grasp.
McGinlay was unsuccessful in deploying the spray and was arrested.
On Monday, he pleaded guilty at Glasgow Sheriff Court to the two police officer assaults.
The court heard he was acting agitated and erratic on the train and a 999 call was made by train staff.
McGinlay clenched his fists at the officers and repeatedly spat at PC McCombes then lunged at PC Montgomery.
PC Montgomery tried to deploy the spray but it failed to fire while PC McCombes was able to spray towards McGinlay’s face.
Prosecutor Amy Hunter said: “The officers tried to restrain McGinlay who was kicking out and punched both of them to the face and head.
“He then placed PC Montgomery in a headlock and PC McCombes discharged the spray towards McGinlay again.
“Again, with no effect, McGinlay grabbed hold of the spray to try and wretch it from her hold.
“He then attempted to spray PC McCombes with the captor spray.”
McGinlay was then arrested after a further struggle with the officers and train staff.
PC Montgomery suffered swelling to the head, bruising to the left eye and scratches to his neck.
PC McCombes had bruising and swelling to her cheek and eye as well as lower back pain.
Miss Hunter added: “Both officers suffered after-effects of the captor deployment during the incident.”
Sentence was deferred for background reports until next month.