A mother-of-two was arrested after becoming upset when her ex-partner refused to let her see her children, a court heard.
Kadiatou Hartley, of Heys View in Rawthorpe, was convicted after a trial of resisting a constable acting in the execution of his duty.
A domestic incident was reported to be taking place there and the officers were met by Hartley.
She said that she had just been released from hospital and come to collect her two children.
Due to the time of night the 28-year-old had been told by her ex to leave and this upset her.
Geoff Ellis, prosecuting, said: “She was asked to calm down, refused and was arrested to prevent a breach of the peace.
“The defendant continued to shout at the officers and in the police vehicle lunged her head forward, the officer believing that she was going to headbutt him.”
Zahid Majeed, mitigating, said that his client was entitled to have her children that day and had gone to her ex’s home.
He told magistrates: “She was told by him that because of the lateness it was not appropriate to have the children and became emotional.
“When she was arrested and put in a police van she was aggrieved because there was a court order in place.
“There was an element of resistance but the police were heavy-handed and put the handcuffs on tightly.”
Magistrates gave Hartley a 12-month conditional discharge.
She must still pay £85 costs and £15 victim surcharge.