INDIAN PENAL CODE, 1860

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.