The two men were charged with armed robbery and unlawful possession of a weapon.