IPC § 170 · Indian Penal Code, 1860 · Repealed on 1 July 2024
Section 170 IPC — Personating a public servant
Replaced from 1 July 2024 by BNS 204 of the Bharatiya Nyaya Sanhita, 2023. Offences committed on or before 30 June 2024 are still charged under the IPC.
The law now: BNS 204 — Personating a public servant
Whoever pretends to hold any particular office as a public servant, knowing that he does not hold such office or falsely personates any other person holding such office, and in such assumed character does or attempts to do any act under colour of such office, shall be punished with imprisonment of either description for a term which shall not be less than six months but which may extend to three years and with fine.
Source: India Code (indiacode.gov.in). The Gazette of India is the authoritative text. BNS 204 in full