The INDIAN PENAL CODE

OF OFFENCES AGAINST PROPERTY

Section 398: 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.