In receiving a bond for the prosecution of an appeal, it has been held that a justice of the peace acts •as a ministerial officer, and if he refuses it without objection to its legal sufficiency, an action on the case will lie against him. [The People v. The Judges of Dutchess, 7 Cow. Rep. 487; Butler v. Kent, 19 Johns. Rep. 223; Tompkins v. Sands, 8 Wend. Rep. 468.] But the approval of a surety who has executed, or proposes to execute a bond, is a judicial act. [The People v. The Judges of Dutchess, supra; Smith v. Trawl, 1 Root’s R. 165.]
In Tracy v. Williams, 4 Conn. Rep. 107, it was held, that *626a judge who transcends his powers, and acts in a matter co-rain non judice, usurps an authority beyond, and independent of his office, and can claim no protection from it; and may be charged as a trespasser. But for the most flagrant error of judgment he is not liable in trespass. [See also, Henderson v. Brown, 1 Cain’s Rep. 90; Butler v. Potter, 17 Johns. R. 145; Griffin v. Mitchell, 2 Cow. Rep. 548; Calvin v. Luther, 9 Id. 64; Savacool v. Boughton, 5 Wend. Rep. 177; Dillingham v. Snow, 5 Mass. Rep. 559; Easton v. Calendar, 11 Wend. Rep. 90; Jackson v. Roe, 9 Johns. Rep. 77; Vosburg v. Welch, 11 Id. 175; Yates v. Lansing, 9 Id. 395; Bordeaux v. Clark, 2 Bailey’s Rep. 6; 6 Bing. Rep. 35; Percival v. Jones, 2 Johns. Cases, 49; Reid v. Hood, N. & McC. Rep. 168.]
It has been held, that a judge is not liable for a mere error of judgment, in doing, neglecting, or refusing to do a particular official act, in the exercise of judicial poioer — it being a settled principle, that for these a judge cannot be questioned in a civil suit. [Phelps v. Sill, 1 Day’s Rep. 315, 329; Lining v. Bentham, 2 Bay’s Rep. 1.] In Parmelee v. Baldwin, 1 Conn. Rep. 313, the selectmen of a town appointed an overseer over a person from, malice, and they were held liable in damages. If a justice of the peace acts within his jurisdiction, it has been decided that he is not responsible for an erroneous judgment, and such judgment is a justification to the officer in carrying the judgment into execution. [Walker v. Floyd, 4 Bibb’s Rep. 237.] And an action will not lie against him for an act done judicially, and within the scope of his jurisdiction, unless he acts corruptly, or from impure motives. [Gregory v. Brown, Id. 28.] So in Peake v. Cantey, 3 McC. Rep. 107, the court said, to make a magistrate liable. in a civil action for the consequences of an error iii judgment in a matter over which he had jurisdiction, corruption must appear from the grossness of the circumstances, or be proved aliunde. [Lining v. Bentham, 2 Bay’s Rep. 1; State v. Johnson, Id 385; Little v. Moore, 1 South. Rep. 74.]
We have stated the principles appropriate to the case before us, and cited the decisions by whieh they are sustained. .Without stopping to examine them in detail, or declare our aequiesence in the legal correctness of all of them, we are *627satisfied that the ruling of the circnit court cannot be supported. There is nothing in the record to implicate the integrity of purpose of the justice in approving the insolvent surety. In respect to his sufficiency there appears to have been a contrariety of opinion among the witnesses, and the justice, for the purpose of satisfying himself, called upon the surety to declare under oath that he was solvent.
Whether a justice of the peace or other judicial officer, is liable in a civil action for any act done in the performance of his judicial duties, if he does not transcend his jurisdiction, is a question which we will not now consider. But we think it at least certain that he is not liable in such an action to the party aggrieved, for an error of judgment, where it is not shown by direct evidence, or from circumstances which warrant such an inference, that he acted from corrupt or impure motives, or an intention to oppress. The authorities which lay down the most stringent rules against the officer, do not allow recovery upon less proof. The circuit court did not think it indispensable that any impropriety of motive should have been shown, to authorize a verdict for the plaintiff, but that the defendant was liable for the failure to take sufficient surety in the same manner that clerks and sheriffs are ; and this, although there is no statute changing the eommon law liability of justices in such eases. To show that justices of the peace do not occupy the same ground in this respect as clerks, we need only cite the act of 1822, which declares, that if a clerk of the county or circuit court take insufficient surety, upon issuing a writ of error, he shall be liable to an action of trespass on the case in favor of the party aggrieved: Provided, That nothing contained in the act shall be so construed as to subject any clerk to a recovery in such action, for taking as security for any writ of error, any person who was generally reputed sufficient for the sum for which he became bound as security, at the time he was so taken. [Clay’s Dig. 307, § 7.] Thus we see that this enactment materially modified the law. In refusing to charge that impurity of motive should have been shown, and in charging that the defendant was liable as a clerk would have been, for a similar official act, what we have already said, will indicate the error of the circuit court. Whether *628the condition of a bond of a justice of the peace, binds the sureties to answer for the official malversation of their principal, where he acts in a judicial capacity, or whether it was not intended as a security for the performance of his ministerial duties only, we need not inquire. If the bond was lost since the declaration was filed, we can perceive no objection why the plaintiff should not be permitted to prove the loss. It was clearly competent to have alledged a previous loss, and thus excused profert, yet there was no necessity for amending the declaration in this particular.
We have but to add, that the judgment is reversed and the cause remanded.