New mexico constitution
Article VI: judicial department
Section 13

The district court shall have original jurisdiction in all matters and causes not excepted in this constitution, and such jurisdiction of special cases and proceedings as provided by law, and appellate jurisdiction of cases originating in inferior courts and tribunals in their respective districts as provided by law, and supervisory control over the same. The district courts, or any judge thereof, shall have power to issue writs of habeas corpus, mandamus, injunction, quo warranto, certiorari, prohibition and all other writs, remedial or otherwise in the exercise of their jurisdiction; provided, that no such writs shall issue directed to judges or courts of equal or superior jurisdiction. The district courts shall also have the power of naturalization in accordance with the laws of the United States. Until otherwise provided by law, at least two terms of the district court shall be held annually in each county, at the county seat.