David Dixon’s spit landed on the officer’s cheek as he tried to bring the foul-mouthed boozer under control while shocked members of the public looked on.
Chesterfield Magistrates Court heard how during the June 27 incident police were called by “concerned” CCTV operators.
Prosecutor Emma Cornell described how as officers approached him Dixon - slurring and unsteady on his feet - shouted “what the f*** do you want?”.
Derbyshire offenders - from Chesterfield to Alfreton, Matlock, Belper and Ilkeston - in court
14,000 visitors flock to hottest Ashover Show on record captured in 25 photos
Care home near Chesterfield placed into special measures after inspectors brand it ‘unsafe’
Praise for staff at Chesterfield’s Batch House - as investigation continues after 'horrific' crash
Chesterfield law firm will relocate to Glass Yard complex
Police used pepper spray on Dixon to get him into handcuffs however he then “put his head back and spat directly” at an officer.
The defendant, of Fairview Road, Dronfield, admitted being drunk and disorderly and assault by beating an emergency worker.
Solicitor Karl Meakin said Dixon had “significant mental health issues” and come to court with a “cocktail” of medications.
His case was adjourned for a pre-sentence report.