Any sheriff who fails or neglects to take a prisoner before the court as provided in section 221.240, shall be deemed guilty of contempt of court and shall be committed to the county jail and confined, without bail, until he shall comply with the statute. The court, in its discretion, may remove such sheriff from office and render him incapable of holding or executing such office thereafter. The sheriff shall forfeit to the prisoner or party aggrieved a sum not exceeding five hundred dollars, to be recovered by the prisoner or party aggrieved, his executors or administrators, in a civil action founded upon this statute.
§ 221.250, RSMo