By the Court,
Emott, J.The bond taken by the defendant as sheriff, upon the arrest of Seth B. Cole, was in all respects in conformity with the statute, except that it was executed by one surety only, instead of two. The theory of the present action is, that this bond was illegally taken “ colore officii,” and is altogether void. The statute (2 R. S. 286, § 66) enacts that no sheriff or other officer shall take any bond, obligation or security, by color of his office, in any other case or manner than such as are provided by law; and any such bond, obligation or security taken otherwise than *182as herein directed, shall be void. The phrase “ colore officii,” says the author of Termes de La Ley, (p. 156,) is always taken in the worst sense, and signifies an act evilly done by the countenance of an office. At common law, and under the statute of 23 Henry IV. chap. 9, any instrument or agreement contemplating an act contrary to the duty of an officer, tending either to official oppression or to the injury of a plaintiff or party interested in the process, was uniformly held void. Such instruments were not allowed to avail the . officer, either in his own defense or against the party from whom they were obtained. Thus" an agreement in writing, with a bailiff holding mesne process, to put in bail on the return day or- surrender the defendant’s body, or pay the debt and costs, was held void because it was not given to the sheriff but to the bailiff, and was given for more than the law required. (Rogers v. Reeves, 1 T. R. 418.) So where a sheriff took a bond of indemity for delivering up a prisoner whom he had then in custody in execution for a debt, the bond was held void. (Plowd. 60.) In this state the same doctrine has, been affirmed in many cases, under statutes similar to the English acts of parliament. (7 John. 139. Id. 426. 1 Cowen, 46.) The section of the revised statutes which I have quoted is a re-enactment of this rule, and the cases under it have adhered to the principle. Thus, in Webber’s Ex’rs v. Blunt, (19 Wend. 188,) a promise to indemnify a sheriff for discharging a prisoner under arrest upon attachment, was held void. In Millard v. Canfield, (5 Wend. 61,) it was held that bail or security taken by a constable for the appearance of a defendant, against whom the constable held a warrant from a justice in a civil action, was void,, and that a deposit of money made with the person becoming security, in order to indemnify him, might be recovered back. These are some of the cases in which securities or agreements have been" held void as contravening the statute, having been given in cases not allowed by law. So, also, bonds, undertakings or agreements in a manner hot allowed or provided by law *183are utterly void. This is the other case referred to in the statute. (2 R. S. 286, § 66.) Among instances of violations of this provision may be mentioned such as the following: A bond taken in a bastardy proceeding, conditioned not only as the statute requires for the indemnity of the town, &c. (1 R. S. 650,) but also for the payment of such sums for the support of the mother and child as the justice issuing the warrant and his associates, or the court of sessions, should direct, was held void. (The People v. Meighan, 1 Hill, 298.) So where an attachment had issued on a rule of course, and without any order fixing the amount of bail, and the sheriff had taken a bond in a penalty of $4000 on discharging the defendant, the bond was held void for the excessive penalty. (Bank of Buffalo v. Boughton, 21 Wend. 57.)
It is very clear in this case that the bond taken by the sheriff is not within the purview of the statute as taken in a case not allowed by law. The question is whether, although taken in a case which the law directs, and with the condition which it requires, it is void, as given in a manner not allowed by law, because it was given by one surety only, when the law requires two. There has been no authority cited to us which goes to such a length. In Kesler v. Haynes, (6 Wend. 547,) the court held that where a sheriff took a replevin bond with one surety, the proceedings were not even irregular so as to justify treating the defendant as in default. The statute of replevin is not as explicit as that of contempts, in regard to the number of sureties in the bonds which they respectively provide for; but the' replevin act speaks of sureties in the plural, and implies that more than one is called for. In the present case the plaintiffs might have objected to the bond taken by the sheriff, and held him liable for an escape. But the proceeding of the sheriff in accepting one surety where he had a right to demand two, can hardly be said to come within either the letter or the spirit of the statute. It cannot be said to contemplate either the oppression of the defendant or the injury of the plaintiff in the process, *184any more than would taking insufficient sureties in a similar case. The statute is designed to prevent the oppression of defendants or the willful injury of plaintiffs. When it speaks of the “manner” provided by law for any bond, obligation or security, it refers mainly, if not altogether, to the terms and conditions of the instrument—to an obligation which exacts either more or less than the law requires in a given case. In the language of Lord Kenyon in Fuller v. Prest, (7 T. R. 109,) an officer is not to be allowed to fix the price of his own indulgence, instead of complying with the provisions of the statute.
If this case had stood upon the action of the sheriff only, and if it appeared that he had discharged the prisoner upon a bond with one surety, and that the plaintiffs had done nothing to adopt his act, he might be liable for an escape. But the parties to an action may enter into agreements which are forbidden to officers holding the process, and may enforce such agreements. (See Winter v. Kinney, 1 Comst. 365, and the cases there referred to.) The bond taken in this case is not utterly void as forbidden by statute, or taken corruptly colore officii. It was irregular, and the plaintiffs were not bound to receive it. If they did not receive it, they might hold the sheriff, as I have said, for an escape of the prisoner. Whether the bond in such a case could be made at all available to the sheriff, is a question. But if the plaintiffs waived all objections to the bond on account of its having been given by one surety only, it would not lie with the obligors in the bond to dispute their obligation upon it. Of course they could not successfully do so unless their obligation was utterly void, and not when it is merely irregular, or even voidable.
After the sheriff, in the present case, had returned the attachment against Cole, and produced the bond which he-had taken, Cole having failed to appear, the plaintiffs obtained an order for the assignment to them of the bond, and for the issuing of a farther attachment. After this, Cole was sur*185rendered by bis bail, but the plaintiffs failed to issue their farther attachment and he was discharged.
[Dutchess General Term, May 12, 1862.I am of opinion that by these proceedings the plaintiffs waived the irregularities of the sheriff’s proceedings, and adopted his acts and the security which he had taken, at least so far as to excuse him from liability for an escape.
The present judgment should be reversed, and there should be a new trial, (a)
All the judges concurred in this opinion.
Judgment reversed.
Emott, Brown, Scrugham and Lott, Justices.]