Wyoming constitution
Article 5: judicial department
Section 12

No person shall be eligible to the office of judge of the district court unless he be learned in the law, be at least twenty-eight years of age, and a citizen of the United States, nor unless he shall have resided within the State or Territory of Wyoming at least two years next preceding his election.