Indian Penal Code, 1860 · Chapter IX: Of Offences by or Relating to Public Servants
Section 170: Personating a public servant
The Indian Penal Code, 1860 was repealed and replaced by the Bharatiya Nyaya Sanhita, 2023 from 1 July 2024. It still applies to offences and proceedings from before that date.
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 may extend to two years, or with fine, or with both.
Corresponding sections were matched by comparing the wording of both official texts, and for the IPC and BNS, also against a published correspondence table. Wording, punishments and structure often changed, so read both sections before relying on the match.
Source: India Code (Legislative Department), the text of the Act as it stood before its repeal. Words in square brackets [ ] were inserted or substituted by later amending Acts, and *** marks words omitted by an amendment. The amendment footnotes are not reproduced here.