This action was brought before a justice of the peace of Missouri township in Boone county wherein plaintiff complained that defendant’s engine and cars ran over and killed a hog at his farm located in Moniteau township, Howard county. The railroad was unfenced and the statutory double damages were asked.
The question on this appeal is, whether or not the justice of the peace of Missouri township in Boone county, whei’e the suit was instituted, had jurisdiction to try the case, when, as already stated, the animal was killed in Moniteau township, Howard county. The two townships adjoin, though in different counties. The trial judge held that the justice had no jurisdiction of the action. If now this ruling was correct, then the judgment should be affirmed; otherwise it should be reversed.
Rkiííin°gstock: jurisdiction of justice of the peace. This point was settled adversely to plaintiff’s contention in Creason v. R’y, 17 Mo. App. 111. It was there held that the statute prescribing that “any action against a railroad com- , , pauy for killing or injuring horses, mules, 1 cattle or other animals, shall be brought before a justice of the peace of the township in which the injury happened, or in any adjoining township” (R. S. 1889, see. 6126) was intended to give jurisdiction only to the justice of the township where the stock was injured or killed or to a justice of an adjoining township of the same county. When the section referred to was considered along with the other provisions of the statute, the legislative intent was held to limit the jurisdiction to justices of the same county.
The point then must be ruled against the plaintiff; and we hold, as did the circuit court, that the justice *403of the peace before whom this case was brought had no jurisdiction of the subject-matter of the action.
'NppüJanTT' The further suggestion in counsel’s brief that defendant, by entering upon the trial, etc., had waived the objection as to jurisdiction, is of no avail. While jurisdiction as to the person of the defendant may be waived, this is not so as to jurisdiction over the subject-matter. The justice can only exercise jurisdiction over such matters as the statute expressly declares, nor can the parties even by express consent enlarge or restrict the scope thereof. Such want of jurisdiction over the subject-matter may be raised at any time, even after the case shall get into the appellate court. Barnett v. R. R., 68 Mo. 56-65. “Neither is it waived by appearance and answer; nor can it be conferred by consent or agreement of parties, but only by the law.” Fields v. Maloney, 78 Mo. 172-176, and authorities cited. “The law alone, and not consent of parties, must determine what matters each court may determine.” Brown v. Woody, 64 Mo. 547-550.
Judgment affirmed.
All concur.