Utah constitution
Article VIII: judicial department
Section 10

Supreme court justices, district court judges, and judges of all other courts of record while holding office may not practice law, hold any elective nonjudicial public office, or hold office in a political party.