Arizona constitution
Article 6
Section 18

The superior court or any judge thereof may issue writs of mandamus, quo warranto, review, certiorari, prohibition, and writs of habeas corpus on petition by or on behalf of a person held in actual custody within the county. Injunctions, attachments, and writs of prohibition and habeas corpus may be issued and served on legal holidays and non-judicial days.