Whoever voluntarily causes grievous hurt for the purpose of extorting from the sufferer or from any person interested in the sufferer any property or valuable security, or of constraining the sufferer or any person interested in such sufferer to do anything that is illegal or which may facilitate the commission of an offence, shall be punished with [imprisonment for life], or imprisonment of either description for a term which may extend to ten years, and shall also be liable to fine.
Section 329 IPC
Voluntarily causing grievous hurt to extort property, or to constrain to an illegal act
The Indian Penal Code, 1860 is repealed. It was replaced by The Bharatiya Nyaya Sanhita, 2023 from 1 July 2024; this provision still applies to matters that arose before then.