Minnesota constitution
Article VI
Section 6

A judge of the supreme court, the court of appeals or the district court shall not hold any office under the United States except a commission in a reserve component of the military forces of the United States and shall not hold any other office under this state. His term of office shall terminate at the time he files as a candidate for an elective office of the United States or for a nonjudicial office of this state.