The opinion of the court was pronounced by
Phelps, J.— The question in this case is simply, whether the defendant, as a justice of the peace, had jurisdiction of the suit Ambler vs. Fargo, so as to render his judgment therein valid ; and if not, whether he is liable in trespass for having issued the execution.
The argument is, that the gross amount of the plaintiff’s account in that suit, being over the sum of one hundred dollars, the limit of a justice’s jurisdiction, the .whole proceeding was coram nonjudice and void.
Let us see how this want of jurisdiction was made to ap*134Pear> an<^ w^at is the effect of it upon this suit. We take it for granted, in absence of proof to the contrary, that this want of jurisdiction was not apparent on the face of. the original writ, but that the amount there declared for, was within the proper jurisdiction of the defendant. Suppose then the property in question had been taken by way of attachment on the original writ, would the justice have been a trespasser for having signed a writ obviously within his jurisdiction? Could he be required to anticipate that the amount of the claim would, when presented, exceed his jurisdiction ; or can he now be supposed to have been cognizant of the fact? Suppose upon the return of the v^rit, and before the plaintiff’s claim was exhibited, a motion had been made to dismiss the suit; what would have been the magistrate’s duty ? Most clearly to refuse the motion and retain the suit: for thus far he undoubtedly had jurisdiction. Could he then be made a trespasser, by reason of an attachment on the original writ? But let us pursue this subject a little farther. Suppose upon the exhibition of the account he had discovered it to exceed his jurisdiction, and had dismissed the action, as it would have been his duty to do. Upon what principle could he even then be made a trespasser? Would the dismissing the action have a retroactive effect to subject him in trespass ?
The jurisdiction of a court must appear of record, and the subject matter, as it appears in evidence, must also be within its jurisdiction. Where, therefore, a writ is presented to a magistrate for signature, which is on the face of it within his jurisdiction, it is his duty to sign it; if not, he does so at his peril. If it be apparently within his jurisdiction, and upon trial the subject matter should prove not within it, his duty is to dismiss it. If he does his duty in these particulars, it never was supposed that he could be treated as a trespasser.
This suit was most obviously within the jurisdiction of the present defendant in the outset, and he was justified in sustaining it until the want of jurisdiction should appear. Otherwise no court would be safe in inquiring into the extent of their jurisdiction, or in entertaining a question of the kind; but a magistrate might be made a tras-*135passer for entertaining the question, even when he might decline in the end to proceed with the case. If then he was justified in taking cognizance of the case, was there any thing in the course of the proceedings to oust his jurisdiction ? It is said that the plaintiff’s account exceeded his jurisdiction. Of this, however, he could take no notice, until it was brought judicially before him. When it was so brought before him, what were the facts ? To the question of jurisdiction, the plaintiff’s claim is the criterion.— That claim, as presented, was within the jurisdiction, — the original account was not presented, nor does it appear that the defendant knew, or had the means of knowing, what its amount was. Nor indeed was it a fit subject for adjudication, it having been closed and settled by the parties.
It was no longer an open account. We are all aware, that, in the action on book, the state of the account at the time of adjudication is to govern. Let us then suppose the books to have been regularly kept, and the balance agreed upon by the parties carried to a new account, as the commencement of a new series. The justice would doubtless consider the former account closed, and the account subsisting between the parties to be only what followed the adjustment. And in this he would be right; for it was never considered, that the jurisdiction of a justice could be ousted, by overleaping the previous adjustment between the parties, and drawing into controversy a previous settled account. There is no propriety in overhauling the anterior settled transactions of the parties, nor c,an transactions thus settled constitute a subsisting account. We are of opinion, therefore, that the defendant had jurisdiction of the subject matter of the suit thus presented.
If these were doubtful, there is another fatal objection to the plaintiff’s recovery. The judgment was entered by the consent of the plaintiff in this suit. How can he recover for an act done with his assent ? Whether the de? fendant had jurisdiction or not, a licence is a sufficient justification in trespass.
It is said that consent will not give jurisdiction. This is true. But it does not follow that the parties may not regulate their transactions, so as to bring them within a *136S*ven jurisdiction : tind further, whether the consent renders the act valid or not, trespass will not lie.
Judgment affirmed.