(a) A person commits the offense of assault with a dangerous weapon if he or she threatens to cause, attempts to cause, or purposely causes bodily injury to another with a dangerous weapon.
(b) A person convicted of assault with a dangerous weapon may be punished by imprisonment for not more than 10 years.