Any such officer or person who, in violation of any of the provisions of the two preceding sections, shall expend any sum or amount of money, or incur any debt or obligation, or make or participate in the making of any such contract, or shall be a party to any such transaction in any official capacity, shall be personally liable therefor, both jointly and severally, and an action may be maintained therefor by the state, or any person prejudiced thereby, in any court of competent jurisdiction, and such official shall further be guilty of a misdemeanor, and, upon conviction thereof, be fined not less than ten nor more than five hundred dollars, and may be confined in jail not less than ten days nor more than one year, and, in addition to the penalties hereinbefore provided, shall forfeit his office. And there shall be no liability upon the state, or the funds thereof, on account of any such debt, obligation or contract.
W. Va. Code § 12-3-16