(a) A person who knowingly aids another in escaping from lawful custody or from any place of lawful confinement shall, upon conviction thereof, be punished by imprisonment for not less than one nor more than five years.
(b) A peace officer or employee of any place of lawful confinement who recklessly permits any person in his custody to escape is guilty of a misdemeanor.