If any sheriff, jailer, constable, marshal, or other officer, shall wilfully and corruptly refuse to execute any lawful process directed to him or any of them, requiring the apprehension or confinement of any person charged with a criminal offense; or shall corruptly and wilfully omit to execute such process, by which such person shall escape; or shall wilfully refuse to receive in any jail under his charge any offender lawfully committed to such jail and ordered to be confined therein on any criminal charge or conviction, or any lawful process whatever; or shall suffer any person lawfully committed to his custody to escape and go at large, either wilfully or negligently; or shall receive any gratuity or reward, or any security or engagement for the same, to procure, assist, or connive at, or permit any prisoner in his custody on any criminal charge or conviction to escape, whether such escape be attempted or effected or not, he shall, upon conviction, be punished by imprisonment in the county jail not exceeding one (1) year, or by fine not exceeding One Thousand Dollars ($1,000.00), or both.