County superintendents, trustees of schools, township treasurers and directors, or either of them, or any other officer having charge of school funds or property, shall be pecuniarily responsible for all losses sustained by any county or township fund by reason of any failure on his or their part to perform the duties required of him or them by this Act or by any rule authorized to be made by this Act, and each of such officers shall be liable for any such loss sustained, the amount of which may be recovered in a civil action brought in the circuit court, at the suit of the State of Illinois, for the use of the county, township or fund injured. The amount of the judgment obtained in such suit shall, when collected, be paid to the proper officer for the benefit of the county, township or fund injured.
105 ILCS 5/22-7