(after stating the case). The validity of Chapter 58, Private Laws of 1881, is not an open question. It is valid. Lilly v. Taylor, 88 N. C., 489. Section 8 of that act declares that “ any person who within the lines heretofore known as Fayetteville, shall violate any of the police or sanitary regulations, or any of the rules or ordinances which have been prescribed by the mayor and commissioners of Fayetteville, or any law prescribed for the government and well being of the citizens residing within the limits heretofore prescribed for Fayetteville, shall be guilty of a misdemeanor, and upon conviction, shall be punished as prescribed in laws, ordinances, rules and regulations. ***** And the sheriff of Cumberland county is hereby invested with all the power and authority, rights and duties, which now belong to, or are invested in the town marshal of said town.”
The ordinance set out in the case stated is one to be enforced in the manner prescribed in the foregoing section. The ordinance was passed by virtue of the authority contained in §3799 of The Code, (Bat. Rev., chap. 111, §15) and it was a misapprehension of the learned counsel for the plaintiff to suppose that as it was not authorized by §3800 of The Code, (Bat. Rev., chap. 111, §16) it was invalid.
The latter section authorizes the commissioners to tax “ swine ” running at large in the town, the former authorizes them to prohibit hogs from running at large, if deemed necessary “ for the better government of the town,” and the commissioners are the judges of the necessity or expediency of the prohibition.
The validity of town ordinances similar to that in question — in fact identical — has more than once been the subject of judicial determination in this State. An ordinance *47passed in the town of Beaufort in 1841 ordained that after a day named, “ each and every hog at large in the town will be taken up and penned, and advertised to be sold on the third clay, unless the owner <Sr owners of such hog or hogs shall pay,” &c.
This ordinance was held to be valid. Hellen v. Noe, 3 Ired., 493; Whitfield v. Longest, 6 Ired., 268.
But the plaintiff says he was not a resident of the town of Fayetteville, and the ordinance could not affect the right of persons living beyond the limits of the town. It is the h-ogthat is not permitted to run at large, and whether it be the property of a resident or non-resident, the mischief is the same and there can be no difference. The very point is decided in Whitfield v. Longest, supra, and the reasoning in that case and the authorities there cited are conclusive.
The plaintiff invokes the aid of Chapter 66 of the Laws of 1811, in relation to hogs running at large in the town of Fayetteville, which requires the town constable, upon taking up the hogs of non-residents, “ to give notice to the owner of such hogs that they are taken up and pounded, and for such service he shall be entitled to receive two shillings for everj^ head of hogs so pounded, from the owner thereof,” &c. And he says that by this act the charge is limited to two shillings, and having collected more than that, the defendant is liable.
•In reply, the defendant says that the act of 1811 has become obsolete or rendered nugatory by subsequent legislation, and if in force, the plaintiff is not entitled to the benefit of it because it expressly provides “ that persons residing without the limits of the town of Fayetteville who shall in future claim the benefit of this act, shall render to the town clerk of the commissioners of Fayetteville, in writing, the ear marks of their hogs.” This the plaintiff has not done, and it becomes unnecessary for us to consider whether the act is still in force or not, as he has not entitled himself to its benefit by a compliance with its requirements.
*48It was insisted for the plaintiff that section 8 of Chapter 58 of the Private Laws of 1881, makes the violation of the ordinance a misdemeanor, and therefore it could not be enforced against a non-resident. The answer is, the sheriff was invested with the authority the town marshal had possessed to enforce the ordinance — the hogs were running at large — he had a right to take them up and impound them wherever and whoever the owner might be, and the owner could only get them out of pound by a compliance with the ordinance. This the plaintiff did, though under protest, and it would be a curious legal result if he should be allowed to recover hack the money paid, because being a non-resident, he could not be convicted of a misdemeanor for violating the town ordinance.
If such were the law, the town marshal or sheriff should be protected from the consequences of the unlawful arrest and imprisonment of the hogs of non-residents by requiring some mark to be put upon them to indicate that they were privileged nuisances.
The plaintiff' is not entitled to recover, and there is error.
Reversed.