Prosecutors allege the man was armed with a .40-caliber “fully automatic” Glock pistol that had been modified with a short rifle barrel and magazine that held 40 rounds.