The defendant in error made a complaint in Avriting, under oath, to the municipal judge of the city of Eau Claire, charging one George P. Davis Avith having committed the crime of larceny, by stealing the property of *96Anna Smith, of the value of $60. On the examination the municipal judge discharged Davis, on the ground that the evidence did not show that any offense had been committed by him. The municipal judge found, and certified in his docket, that the complaint made by the defendant in error was wilful and malicious and without probable cause, and entered a judgment against him for the costs of the proceedings, including witness’ fees, pursuant to sec. 4191, R. S. An execution was issued to enforce this- judgment as in actions of tort, and for want of goods and chattels to satisfy the same the complainant was committed to the common jail of the county until these costs were paid, or until he was discharged therefrom. Thereupon Smith presented his petition to a court commissioner of the county for a writ of habeas corpus, and asking to be discharged from imprisonment. In his return to the writ the under-sheriff set forth the commitment and warrant by virtue of which he held the petitioner in custody. On the hearing the commissioner discharged Smith from custody, on the ground that his imprisonment was unlawful. The cause was then brought to the circuit court by certiorari, where the order of the commissioner discharging the petitioner was affirmed. The cause has been brought to this court by a writ of error for a review of this decision.
The counsel for the defendant in error, while not admitting that a writ of error lies to review this decision of the circuit court, declined to argue the question of practice. The assistant attorney general, however, discussed the question, claiming that a review of the decision may be had in that manner. He insists that the decision of the circuit court affirming the order of the commissioner is in the •nature of a final judgment, which may be reviewed by this court on writ of error. In numerous cases this court has reviewed proceedings on habeas corpus had before commissioners or a judge at chambers on cei'tiorari, but the precise *97question now presented has not been decided. There is no express provision made by statute for reviewing such a decision of the circuit court, but we are inclined to hold that it may be had on a writ of error. The order made in such a proceeding by the court is in the nature of a final judgment, and the policy of our constitution and laws is to allow a review of such an adjudication; and it is most in accord with our rules of practice and the analogies of the law to allow this to he done on writ of error. So far as the dicta of our decisions bear upon the point, they favor that practice. See In re Crow, 60 Wis. 349. It is true there is much authority for holding that a review of a decision on habeas corpus cannot be had by writ of error without a statute authorizing it, and the reason given is that the decision is not in the nature of a final judgment. But there is also much authority the other way. See Yates v. People, 6 Johns. 335; Ableman v. Booth, 21 How. 506; and cases cited by Mr. Justice Beeesb in his dissenting opinion in Hammond v. People, 32 Ill. 446-457. But we shall not further discuss the question, but sustain the writ.
Both the commissioner and the circuit court held that the petitioner was entitled to be discharged from imprisonment, on the ground that sec. 4791, R. S., which authorized the municipal judge, on determining that the complaint was wilful and malicious and without probable cause, to enter a judgment against the complainant for all the costs, etc., was unconstitutional and void. We think the objection taken to the validity of this statute is not well founded. The assistant attorney general shows that a provision of a similar import has been upon our statute books since 1839. See sec. 7, p. 380, and sec. 11, p. 342, Terr. Stats, of 1839; secs. 20, 22, ch. 89, and sec. 9, ch. 144, R. S. 1849; and sec. 20, ch. 121, R. S. 1858. This fact is entitled to some Aveight in passing upon the validity of the provision. But it is said a judgment is entered against the complainant without due *98process of law, or without giving Mm a trial by jury, or any opportunity to produce witnesses or make a defense. But a complaining witness who instigates a criminal prosecution maliciously, and without probable cause, in a sense makes himself party to it. His position is similar to that of a party who signs as surety an undertaking for the return of property replevied. Such a surety becomes a quasi party to the suit, and is liable to have judgment entered against Mm, with his principal, on the failure of the latter to maintain Ms cause. Pratt v. Donovan, 10 Wis. 378. We must assume that the defendant in error instituted the criminal prosecution in his own wrong, to harass and oppress an innocent party. There is no hardship in holding that by so doing he submitted himself to the jurisdiction of the examining magistrate. In re Ebenhack, 17 Kan. 618. The statute gave the defendant in error the right of appeal from the judgment where he could have had a trial upon the merits in the appellate court. The law in this respect has been changed since the case of State v. Rusch, 44 Wis. 582, was decided. As it now stands it obviates an objection which has sometimes been taken to a provision authorizing the examining magistrate to impose the costs of prosecution upon the complaining witness, and making the determination of the magistrate in the matter final. See State ex rel. McGraw v. Ensign, 11 Neb. 529; State v. Roney, 87 Iowa, 30. We do not think the section in question is obnoxious to any constitutional objection.
By the Court.— The order of the circuit court is reversed, and the cause is remanded with directions to that court to reverse the order of the commissioner discharging the petitioner from imprisonment.