Section 398
The text of the Indian Penal Code, 1860 is not held here: India Code has no complete official copy of it. The section that replaced it is below.
Source: IndiaCode Portal, Legislative Department, Ministry of Law and Justice, Government of India. Check against the official text before relying on it.
Replaced by
The Bharatiya Nyaya Sanhita, 2023, Section 312. Attempt to commit robbery or dacoity when armed with deadly weapon.
If, at the time of attempting to commit robbery or dacoity, the offender is armed with any deadly weapon, the imprisonment with which such offender shall be punished shall not be less than seven years.
Pair from: BPR&D correspondence tables (bprd.mha.gov.in; A. K. Yadav, CAPT Bhopal)