Definition: Generate an appropriate title for the given text. The generated title must be short and include the main topic of the text. The preferred titles are under fifteen words.
Input: Daniel Hagerty, 32, of Edinburgh Walk, Worksop, was arrested after officers were called to the same street after a report of an assault on Sunday. Nottinghamshire Police said he became aggressive before "deliberately spitting" on both officers' faces. Hagerty admitted two counts of assault by beating of an emergency worker. He was sentenced to 26 weeks in prison at Nottingham Magistrates' Court earlier. He was also ordered to pay £250 compensation. The force had said the officers would be "tested as necessary for Covid-19". Ch Sup Rob Griffin said: "In these worrying times for us all having someone deliberately spitting at front line officers is both despicable and appalling. "Our officers are putting themselves at risk every single to day - they should not and will not have to tolerate this sort of abusive behaviour. "This sentence sends a clear message that vile acts such as this will not be put up with in any shape or form and especially not now in the current climate." Follow BBC East Midlands on Facebook, Twitter, or Instagram. Send your story ideas to eastmidsnews@bbc.co.uk.

Coronavirus: Man spat in faces of police officers jailed