Any jailer or other public officer or employee who voluntarily permits, aids or abets in the escape or attempted escape of any person in custody by reason of a conviction or charge of any crime, commits the crime of permitting a prisoner to escape which is subject to the following penalties:
1. If the prisoner is in custody by reason of a conviction or charge of a class "A" felony, the defendant commits a class "C" felony.2. If the prisoner is in custody by reason of a conviction or charge of any public offense other than a class "A" felony, the defendant commits a class "D" felony.C51, §2661 - 2663; R60, §4288 - 4290; C73, §3953 - 3955; C97, §4891 - 4893; C24, 27, 31, 35, 39, §13359 - 13361; C46, 50, 54, 58, 62, 66, 71, 73, 75, 77, §745.9- 745.11; C79, 81, §719.5