It shall be unlawful for any county official to deposit public or trust funds with individual or private funds in any bank or other depository in this State or for any such officer to withdraw any such public or trust funds or any part thereof for any purpose other than that for which they were received and deposited. Any county official violating this provision of law shall be subject to a fine or imprisonment at the discretion of the court and in addition shall be subject to removal from office for malfeasance in office. This section is intended to require all county officers to carry a county fund not required to be deposited by them in the State Treasury under the provisions of § 11-13-110 in a separate account to be known as public or trust funds without allowing any private funds to be deposited in such account.