Section 398 of IPC 1860: Attempt to commit robbery or dacoity when armed with deadly weapon
Attempt to commit robbery or dacoity when armed with deadly weapon-Indian Penal Code
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.