Offender jailed after pleading guilty to assaulting a police officer