Mapped-provision comparison: IPC Section 171D and BNS Section 172.
Leaving aside punctuation, capital letters and amendment brackets, BNS Section 172 repeats IPC Section 171D word for word: 116 words in each. Both texts have one proviso.
Worked out word by word from the two official texts. Read the official text before you rely on it.
Official text
IPC Section 171D: Personation at elections
Whoever at an election applies for a voting paper on votes in the name of any other person, whether living or dead, or in a fictitious name, or who having voted once at such election applies at the same election for a voting paper in his own name, and whoever abets, procures or attempts to procure the voting by any person in any such way, commits the offence of personation at an election:
[Provided that nothing in this section shall apply to a person who has been authorised to vote as proxy for an elector under any law for the time being in force in so far as he votes as a proxy for such elector.]
Indian Penal Code, 1860, page 46
Where it sits in the Bharatiya Nyaya Sanhita, 2023, opening words only:
BNS Section 172: Personation at elections
Whoever at an election applies for a voting paper on votes in the name of any other person, whether living or dead, or in a fictitious name, or who having voted once at such election applies at the same election for a voting paper in his own name, …
IPC Section 171D is in Chapter IXA (Of offences relating to elections) of the Indian Penal Code, 1860, which runs over Sections 171A to 171-I. In the BNS, Section 172 is in Chapter IX (Of offences relating to elections), which runs over Sections 169 to 177.
IPC Section 171F, Punishment for undue influence or personation at an election, now BNS Section 174
IPC Section 171G, False statement in connection with an election, now BNS Section 175
Which code applies
The Bharatiya Nyaya Sanhita came into force on 1 July 2024. An offence committed before that date is still punished under the Indian Penal Code, because the BNS keeps the repealed Code's penalties and proceedings alive.
“Notwithstanding the repeal of the Code referred to in sub-section (1), it shall not affect,— … (c) any penalty, or punishment incurred in respect of any offences committed against the Code so repealed;”
Which code governs your matter can turn on the date of the offence and the stage the case had reached on 1 July 2024. Read the official text before you rely on any table, and see IPC or BNS: which criminal law applies for the savings sections worked through.
Frequently asked questions
What is IPC Section 171D in BNS?
Section 171D of the Indian Penal Code, 1860, Personation at elections, is now Section 172 of the Bharatiya Nyaya Sanhita, 2023.
Is IPC Section 171D still in force?
The Indian Penal Code, 1860 was replaced by the Bharatiya Nyaya Sanhita, 2023 on 1 July 2024. An offence committed before that date is still punished under the Indian Penal Code, because the BNS keeps the repealed Code's penalties and proceedings alive.
What changed from IPC Section 171D to the BNS?
Mapped-provision comparison: IPC Section 171D and BNS Section 172. Leaving aside punctuation, capital letters and amendment brackets, the wording did not change.
Sources
Section numbers follow the correspondence table prepared by the Central Academy for Police Training, Bhopal, of the Bureau of Police Research and Development. Headings are taken from the Indian Penal Code, 1860 and the Bharatiya Nyaya Sanhita, 2023 as published. The text of each section is reproduced from those official copies: the Gazette of India for the 2023 Acts and India Code for the earlier ones, with page furniture and amendment footnotes left out. The judgments citing a section are found by Vakilat's index of the Supreme Court's judgments, and each links to the court's official copy. The official text governs: read the section itself before you rely on it.
Research IPC 171D in Supreme Court judgments
Ask Vakilat a question about IPC Section 171D in plain English. Each authority in the answer opens at the paragraph it relies on. Five research answers are free.