West virginia constitution
Article IV: election & officers
Section 4

No person, except citizens entitled to vote, shall be elected or appointed to any state, county or municipal office; but the governor and judges must have attained the age of thirty, and the attorney general and senators the age of twenty-five years, at the beginning of their respective terms of service; and must have been citizens of the state for five years next preceding their election or appointment, or be citizens at the time this constitution goes into operation.