Ariz. Rev. Stat. § 22-301
A. The justice courts shall have jurisdiction of the following offenses committed within their respective precincts:
B. In a county with a population of more than two million persons, the justice of the peace of each justice precinct shall have original jurisdiction to hear misdemeanor offenses as set forth in subsection A, paragraph 1 of this section that occur within the respective precinct in which the justice of the peace is elected unless either of the following applies:
C. For the purposes of subsection A or B of this section, an offense is committed within the precinct of a justice court if conduct constituting any element of the offense or a result of the conduct occurs: