Whoever, with intent to commit larceny or any felony, confines, maims, injures or wounds, or attempts or threatens to kill, confine, maim, injure or wound, or puts any person in fear, for the purpose of stealing from a building, bank, safe, vault or other depository of money, bonds or other valuables, or by intimidation, force or threats compels or attempts to compel any person to disclose or surrender the means of opening any building, bank, safe, vault or other depository of money, bonds, or other valuables, shall whether he succeeds or fails in the perpetration of such larceny or felony, be punished by imprisonment in the state prison for life or for any term of years.
Mass. Gen. Laws ch. 265, § 21