Any executive, legislative, judicial or ministerial officer, or member of the Legislature, who shall demand, receive or accept any gift, gratuity, money, testimonial or other valuable thing, or shall exact any promise to make such gift or to pay to him, money, testimonial or other valuable thing, or to do any act beneficial to such officer or member of the Legislature, from any person, company or corporation, under an agreement or understanding that his vote, opinion, judgment or decision shall be given or withheld in any particular manner upon a particular side of any question, cause or proceeding, which is, or may be by law brought before him in his official capacity, or that in such capacity he shall make any particular nomination or appointment, or for any vote or influence he may give or withhold as such officer or member of the Legislature, or that such officer will fail to perform or improperly perform any of his official, public duties, shall be guilty of a felony and, upon conviction thereof, shall be confined in the penitentiary not less than one nor more than ten years; and in addition thereto such officer or member of the Legislature shall forfeit the office then held by him and shall be forever disqualified from holding any office or position of honor, trust or profit in this state.
W. Va. Code § 61-5-5