(a) A public servant who is authorized and required by law to have charge of any person charged with or convicted by any crime commits the crime of permitting escape if he knowingly:

(1) suffers, allows, or permits any deadly weapon or dangerous instrument, or anything adapted or designed for use in making an escape, to be introduced into or allowed to remain in any place of confinement, in violation of law, regulations, or rules governing the operation of the place of confinement or

(2) suffers, allows, or permits a person in custody or confinement to escape.

(b) Permitting escape by suffering, allowing, or permitting any deadly weapon or dangerous instrument to be introduced into a place of confinement is a class B felony; otherwise permitting escape is a class D felony.