A defect of jurisdiction in an inferior court may be shown under the general issue, and, obviously, it may be pleaded in bar of the action. Thomas v. Winters, 4 Blackf. 161; 1 Chitty’s Pl. 442. Indeed, Mr. Chitty says that where the court has no jurisdiction at common law, the want of jurisdiction is not properly the subject of a plea in abatement; and the court of a justice of the peace, under our statute, appears to be of that description. The pleas interposed in the district court conclude in bar, and, although the commencement appears to be in abatement, the subject-matter of the pleas may be allowed to give character to them. Gould’s Pl., ch. 5, § 149.
As the want of jurisdiction may be given in evidence, under the general issue, there can be no reason for discour, aging the practice of pleading it specially ; and, as the plaintiff would not be entitled to final judgment upon'demurrer sustained, the distinction to which Mr. Gould refers should not be applied. We are, therefore, inclined to consider the pleas as in bar of the action, and, upon general demurrer, sufficient in form.
. As to the matter of the pleas, the defense was unquestionably good before the justice, for, by section 103 of the justices’ act (R. S. 418), it is expressly provided that suit shall be brought in the township where the debtor resides, unless *84the cause of action accrued in the township of the plaintiff. Whether, by appealing to the district court, defendant has waived the right to insist upon this defense is the principal question which, it is urged, should be determined upon the language of sections 46 and 47 of the justices’ act. ft. S. 407. By the first of these sections it is provided that, upon the trial of appeals in the district court, no exception shall be taken to the form or service of the summons issued by the justice, nor to any of the proceedings before him, but the court shall hear and determine the cause in a summary way, according to the justice of the case, without pleading, in writing; and, by section 46, it is provided that, if it shall appear that the justice had no jurisdiction of the subject-matter of the suit, the same shall be dismissed. Upon this, it would seem that, upon appeal, the inquiry as to the jurisdiction of the justice ought not to be extended beyond the subject-matter of the suit; but, if we read section 103 in the same connection, this conclusion cannot be supported. By the latter section, the residence of the defendant in the township where the suit is brought, or, in the absence of that, the fact that the cause of action accrued, or the sum of money was payable, in such township, is essential to the jurisdiction of the justice, and proof of these facts may be required consistently with the other sections mentioned. Those facts are not connected with the form or service of the summons, or the proceedings before the justice, to which the plaintiff is precluded from objecting by section 46. Nor can it be fairly inferred, from the language of section 47, that the court shall not dismiss the suit for want of jurisdiction of the person, arising from the non-residence of the defendant, and the fact that the cause of action did not accrue in the township where the suit is brought. The declaration that the cause shall be dismissed if the subject-matter of the suit was not within the jurisdiction of the justice might be regarded as excluding all other grounds of dismissal, if there was nothing more in the statute on that subject. But, by section 103, the residence of the defendant in the township, or, that being wanting, the fact that the cause of action *85accrued there, is made a substantive ground of jurisdiction, of which the defendant may demand proof in the district court, as well as before the justice.
The judgment of the district court is affirmed, with costs.
Affirmed.