Any commissioner, treasurer, attorney, or other subordinate officer appointed by a municipal board of improvement who uses or lends, or who participates, directly or indirectly, in any loan or use of funds belonging to the improvement district, for other than district purposes, shall be guilty of a felony. Upon conviction, he shall be confined in the penitentiary for a period of not more than five (5) years nor less than two (2) years.