(1) Whoever voluntarily causes 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 five years, or with fine, or with both.
(2) 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 shall not be less than one year but which may extend to ten years, and shall also be liable to fine.
Law reference / Bharatiya Nyaya Sanhita, 2023 / Chapter VI
Section 119. Voluntarily causing hurt or grievous hurt to deter public servant from his duty
OF OFFENCES AFFECTING THE HUMAN BODY
Please note: this text is the Bharatiya Nyaya Sanhita Bill, 2023 (Bill No. 121 of 2023, as introduced in the Lok Sabha). Parliament later passed a revised version as Act No. 45 of 2023, which is the law in force from 1 July 2024. Many section numbers differ (for example, murder is clause 101 here but section 103 in the Act), so use the IPC ↔ BNS table for the numbers of the Act and check the official text on India Code before quoting a section.