Such bond shall be executed by the prisoner and one or more sureties, to be approved by the sheriff, in a sum not less than double the amount of the sum in which the sheriff was required to hold the defendant to bail, or double the amount directed to be collected by the execution, or double the amount of the costs or sum of money ordered to be paid, as the case may be, and shall be conditioned that such defendant shall remain a true and faithful prisoner and shall not escape or go without the limits of such jail liberties until discharged by due course of law. Every such bond shall be held for the indemnity of the sheriff taking the same and of the party at whose suit or for whose benefit such prisoner is confined.
Wis. Stat. § 898.17