The IPC 1860 was replaced by the BNS 2023 (in force 2024-07-01); no verified section mapping on file for Section 166 — confirm the corresponding provision (savings: Section 358, BNS 2023).
Whoever, being a public servant, knowingly disobeys any direction of the law as to the way in which he is to conduct himself as such public servant, intending to cause, or knowing it to be likely that he will, by such disobedience, cause injury to any person, shall be punished with simple imprisonment for a term which may extend to one year, or with fine, or with both. Illustration A, being an officer directed by law to take property in execution, in order to satisfy a decree pronounced in Z's favour by a Court of Justice, knowingly disobeys that direction of law, with the knowledge that he is likely thereby to cause injury to Z. A has committed the offence defined in this section. CLASSIFICATION OF OFFENCE Punishment--Simple imprisonment for 1 year, or fine, or both--Non-cognizable--Bailable--Triable by Magistrate of the first class--Non-compoundable.