The complaint was demurred to on three grounds, the third being that it failed to state a cause of action. We shall only consider that objection. In support of the demurrer it is insisted by the learned counsel for the defendants, that if the judgments rendered by the justice were void, then *206the moneys collected and paid the justice did not come to his hands by virtue of his office, and consequently his sureties are not liable. It is said that the object of giving the instrument set out in the complaint was to secure the payment of moneys collected and paid over to the justice on legal process. The sureties undertake to pay on demand to every person who may be entitled thereto, all such moneys as the justice may be liable to pay on account of funds which may come to his hands by virtue of his offiee. It is moneys which the justice receives officially in his character as justice, for which the sureties are responsible. But the sureties do not undertake to pay money which the justice may obtain in some unlawful manner, as by a mere trespass. And if the justice never acquired jurisdiction in the attachment suits, if his proceedings therein were void, as stated in the complaint, then it follows that the justice committed a trespass, the same as though he had taken or obtained the same amount of money without the issue of any process whatever.
It seems to us this argument is conclusive upon the question we are considering. Because, if the justice never acquired jurisdiction in the attachment suits, and his proceedings therein were void, there is no ground for saying that the money came to his hands by virtue of his office. The case of Taylor v. Parker, 43 Wis., 78, is strictly in point, and is decisive of the question. There the sureties in a constable’s bond jointly and severally agreed to pay to the persons entitled thereto all such sums of money as the constable might be liable to pay by reason of, or on account of, any process delivered to him for collection, and all moneys which should come into his hands as constable. The constable, by virtue of attachments against one Porter, seized and carried away the plaintiff’s property. It was held that the sureties were not liable for the trespass of the constable. The extent of the obligation which the sureties assumed was held to be only for a neglect or failure of the constable to legally do some act which the due execution of his office authorized and required him to perform. The sureties were answerable for nonfeasance or misfeasance in respect *207to an official act, and. not malfeasance as respects a third party. See Gerber v. Ackley, 37 Wis., 43.
We have no occasion, to consider, and of course do not decide, whether the justice himself would he liable upen the facts stated in the complaint, in an action of trespass. We only hold tliat if the justice acted without jurisdiction, and all his proceedings were void, then he was a mere trespasser, and the moneys did not come to his hands by virtue of his office. The counsel for the plaintiff refer to The State v. Woodman, 36 Ind., 511, and Widener v. The State, 45 id., 244, on the question as to the liability of sureties on bonds given by a justice. We have examined those cases, but find nothing in them in conflict with the views above expressed. In Widener v. The State, the justice received a note for collection in his official capacity, collected the same, and appropriated the money to his own use. The sureties on his bond were held liable therefor to the party injured. In State v. Woodman, it was held that the complaint did not state a cause of action against the justice and his sureties, for reasons given-in the opinion.
If the judgments were valid in the attachment suits, then, as a matter of course, it was the duty of the justice to pay over to the plaintiffs in the attachment suits the moneys which had come to his hands in those actions. In whatever aspect the case is considered, no breach of the instrument is shown in the complaint. It follows that the demurrer should have been sustained.
By the Gotirt. — The order of the circuit court is reversed, and the cause remanded for further ^proceedings.
Eyas', O. J., took no part.