The making of profit by the state treasurer out of any moneys in the state treasury belonging to the state, the custody of which the state treasurer shall be charged with, by loaning, depositing or otherwise using or disposing of the same in any manner whatever, or the removal by the state treasurer, or by his consent, of such moneys, or any part thereof, or any bonds deposited by any bank in compliance with the provisions of this chapter, or of United States obligations in which he has invested state moneys, out of the vaults of the treasury department in the state capitol, except for the payment of warrants legally drawn, or for the purpose of depositing the same in the bank or banks selected as depositaries under the provisions of this chapter, or for investing in United States obligations as provided by law, or for returning or disposing of said bonds or obligations according to law, shall be deemed a felony, and, on conviction thereof, subject him to punishment by imprisonment in the penitentiary for a term of not less than two years, and he shall also be liable under and upon his official bond for all profits realized from any such unlawful using of said funds; and it shall be the duty of the attorney general to enter and prosecute to final determination all suits for a violation of any of the provisions of this chapter.
§ 30.400, RSMo