Whoever voluntarily causes grievous hurt to any person being a public servant in the discharge of his duty as such public servant, or with intent to prevent or deter that person or any other public servant from discharging his duty as such public servant, or in consequence of anything done or attempted to be done by that person in the lawful discharge of his duty as such public servant, shall be punished with imprisonment of either description for a term which may extend to ten years, and shall also be liable to fine.
331 IPC Voluntarily causing grievous hurt to extort confession, or to compel restoration of property
332 IPC Voluntarily causing hurt to deter public servant from his duty
333 IPC Voluntarily causing grievous hurt to deter public servant from his duty
334 IPC Voluntarily causing hurt on provocation
335 IPC Voluntarily causing grievous hurt on provocation
336 IPC Act endangering life or personal safety of others
337 IPC Causing hurt by act endangering life or personal safety of others
338 IPC Causing grievous hurt by act endangering life or personal safety of others