The amount due by a delinquent officer is declared to be a lien upon the lands, tenements and hereditaments of such officer and his sureties, from the date of a levy in pursuance of the warrant of distress issued against him or them, and a record thereof made in the office of the clerk of the district court of the proper judicial division, until the same is discharged according to law.