Whoever assaults or uses criminal force to any person being a public servant in the execution of his duty as such public servant, or with intent to prevent or deter that person from discharge his duty as such public servant, or in consequence of anything done or attempted to be done by such person in the lawful discharge of his duty as such publ...