IPC § 220 · Indian Penal Code, 1860 · Repealed on 1 July 2024
Section 220 IPC — Commitment for trial or confinement by person having authority who knows that he is acting contrary to law
Replaced from 1 July 2024 by BNS 258 of the Bharatiya Nyaya Sanhita, 2023. Offences committed on or before 30 June 2024 are still charged under the IPC.
The law now: BNS 258 — Commitment for trial or confinement by person having authority who knows that he is acting contrary to law
Whoever, being in any office which gives him legal authority to commit persons for trial or to confinement, or to keep persons in confinement, corruptly or maliciously commits any person for trial or to confinement, or keeps any person in confinement, in the exercise of that authority knowing that in so doing he is acting contrary to law, shall be punished with imprisonment of either description for a term which may extend to seven years, or with fine, or with both.
Source: India Code (indiacode.gov.in). The Gazette of India is the authoritative text. BNS 258 in full