A Buxton man bit a policeman who was trying to break up a fracas outside a pub, a court heard.
Paul Jackson, 33, was convicted following a trial of assaulting PC Leigh Gyte and PCSO Patrick Hayley on June 14 in the beer garden of the Eagle, on Eagle Parade, Buxton.
The 33-year-old, of Fairfield Road, admitted resisting a constable in the execution of his duty.
High Peak Magistrates heard on Monday that police were attempting to break up an altercation between the defendant and a woman.
Prosecutor Jennifer Fitzgerald said Jackson pushed the PCSO onto his chest and took a swing and knocked his hat off. He then pushed PC Gyte over a wooden planter causing him to fall onto a table of glasses, smashing them, before biting his left thumb when he attempted to handcuff him.
Jackson had drunk a cocktail made from rum, vodka, red wine and alcopop. Annis Rowlands, defending, said that in relation to the original argument, her client was not the aggressor.
Chairman of the bench Pam Ashton sentenced Jackson to 280 hours unpaid work and ordered him to pay £260 court costs, a victim surcharge of £60 and compensation of £150 to PC Gyte and £50 to PCSO Hayley.