Matthew Bamber's vehicle had been stopped in Longridge after officers suspected he was under the influence of drink or drugs.
Bamber, from Grange Avenue, Ribbleton, assaulted the officers and said he had coronavirus.
Once in police custody, Bamber refused to provide a sample of his breath and it was discovered that he had expired provisional driving licence and no insurance for his vehicle.
Thunderstorms and heavy downpours of rain predicted to hit Lancashire as Met Office issues yellow weather warning
Man killed in late night crash on A6 Chorley Road near Blackrod
M6, M61 and M55 delays in Preston due to Blackpool Air Show and Lake District holiday traffic
Preston man remains in a critical condition as Lancashire Police appeal for witnesses
Video shows man in van wielding weapon in Preston city centre fight
Bamber has pleaded guilty to assaulting two emergency service workers in the course of their duty,
He was sentenced to eight weeks imprisonment and also four weeks imprisonment to run concurrently. He was also disqualified from driving for 12 months.