It shall be unlawful for any officer of this state, or for any officer of any county or any levee board in this state, to deposit, carry, send, or to permit to be deposited, carried, or sent to any point beyond the confines of this state any part of any fund, money, bonds, or securities of any kind whatever belonging to the State of Mississippi, or to any county or subdivision of any county within this state, which may have come into his possession or custody by virtue of his office, unless paid out by due and legal authority. Any state or county officer violating the provisions of this section shall, upon conviction, be fined not less than Two Hundred Dollars ($200.00) and not more than One Thousand Dollars ($1,000.00), or be imprisoned in the state penitentiary for a term not exceeding five (5) years, or both, at the discretion of the court.