All penalties on general taxes and interest on certificates of sale issued, or deemed to be issued to the county, or tax liens against the property belong to the county and become a part of the general fund or of any other fund as the county commissioners may direct, except penalties and interest collected on taxes and parts of taxes due to townships, cities, school districts, and park districts and on special assessments for public improvements, which must be paid to the municipality levying the same, or whatever other taxing district or agency thereof is entitled to the original amount of the taxes or assessments.
N.D.C.C. § 57-20-22