A. A person who with criminal negligence discharges a firearm within or into the limits of any municipality is guilty of a class 6 felony.
B. Notwithstanding the fact that the offense involves the discharge of a deadly weapon, unless the dangerous nature of the felony is charged and proven pursuant to section 13-604, subsection P, the provisions of section 13-702, subsection G apply to this offense.
C. This section does not apply if the firearm is discharged:
1. As allowed pursuant to the provisions of chapter 4 of this title.
2. On a properly supervised range.
3. In an area recommended as a hunting area by the Arizona game and fish department, approved and posted as required by the chief of police, but any such area may be closed when deemed unsafe by the chief of police or the director of the game and fish department.
4. For the control of nuisance wildlife by permit from the Arizona game and fish department or the United States fish and wildlife service.
5. By special permit of the chief of police of the municipality.
6. As required by an animal control officer in the performance of duties as specified in section 9-499.04.
7. Using blanks.
8. More than one mile from any occupied structure as defined in section 13-3101.
9. In self-defense or defense of another person against an animal attack if a reasonable person would believe that deadly physical force against the animal is immediately necessary and reasonable under the circumstances to protect oneself or the other person.