Any person who shall refuse or knowingly neglect to perform any duty enjoined on him by law, or who shall consent to or connive at any evasion of the provision of the first section of the Act of March 3, 1881 (§ 47-211), or § 13 of the Act of August 14, 1894 (§ 47-602), or any other provision of this chapter shall, for each offense, be removed from office and fined not more than the amount set forth in [§ 22-3571.01], or imprisoned for no longer than 1 year, or both, in the discretion of the court.