(a)
Except as otherwise authorized by law, any person who willfully discharges a firearm in a grossly negligent manner which could result in injury or death to a person is guilty of a public offense and shall be punished by imprisonment in a county jail not exceeding one year, or by imprisonment pursuant to subdivision (h) of Section 1170.
(b)
Except as otherwise authorized by law, any person who willfully discharges a BB device in a grossly negligent manner which could result in injury or death to a person is guilty of a public offense and shall be punished by imprisonment in a county jail not exceeding one year.
(c)
As used in this section, “BB device” means any instrument that expels a projectile, such as a BB or a pellet, through the force of air pressure, gas pressure, or spring action.