Equivalent Legacy Law: IPC Section 220
BNS Section 258 defines the rules, regulations, and penalties regarding: "commitment for trial or confinement by person having authority who knows that he is acting contrary to law". This section is part of the updated criminal code of India (BNS, 2023) which modernized the legal framework.
Real-World Scenario
"If an individual is found violating the provisions regarding commitment for trial or confinement by person having authority who knows that he is acting contrary to law as defined under this Section, they will be charged under BNS Section 258 instead of the old IPC sections."