A teenager made the mistake of trying to snatch an off duty policewoman’s bag while she was on a night out in Huddersfield.

Then when the officer and a colleague went after Mavahiv Sharif to arrest him he laughed and grabbed her buttock, Leeds Crown Court heard.

Richard Walters prosecuting said the offences happened in the early hours of September 4 when the two women were on a night out. They were on their way to be picked up by a friend when the victim suddenly felt tugging on her clutch bag.

She looked round to see Sharif trying to pull it from her and a “tug of war” ensued between them as she tried to keep hold of it.

Her friend came to her assistance and Sharif was told to remain where he was while the police were contacted.

He told her to do that and initially did stay by them but then began walking away. He was detained nearby and it was then he grabbed the complainant’s left buttock and squeezed it.

She told him to get off and another friend who had witnessed the incident joined her colleague in taking hold of Sharif’s hands so he could not repeat his actions.

A uniformed officer then arrived and arrest Sharif who said: “I’ve done nothing wrong," before making a disparaging remark against women.

Michael Sisson-Pell representing Sharif said he was a very immature 18-year-old who had treated the matter as a joke that night and not appreciated the seriousness of what he was doing.

“It was a student night. He thought he was being mischievous when he grabbed her in the way he did.”

He was from a law-abiding family who confirmed he had acted totally out of character. He hoped to study for accountancy exams if given the opportunity.

Sharif, 18 of Larch Road, Paddock, admitted attempted robbery and sexual assault and was given a 12 month community order with 200 hours unpaid work, 30 days activity requirement and to pay £340 costs.

Judge Guy Kearl QC described him as “an immature boy” who had a choice to make for his future.

“You come from a law abiding family, your grandfather was a bus driver, of his children two are solicitors, one works for British Airways and one has worked for the council for more than 25 years. You are to study for accountancy exams and will have to mature before you do that.”