Alaska constitution
Article IV: the judiciary
Section 14

Supreme court justices and superior court judges while holding office may not practice law, hold office in a political party, or hold any other office or position of profit under the United States, the State, or its political subdivisions. Any supreme court justice or superior court judge filing for another elective public office forfeits his judicial position.