The question presented by this case, is, whether the trustees of the village of Rochester had authority to pass the by-laws in question.
The 5th section of the act incorporating the village of Rochesterville, (sess. 40. ch. 96,) provides that it shall be lawful for the trustees, &c. to make such prudential • bylaws, rules and regulations, as they, from time to time, may deem meet and proper; and such particularly as are relative to the public market, streets, alleys, highways, foot-walks, side walks, slaughter houses, houses of ill fame, and nuisances generally; relative to a village watch, and lighting the streets ; to the restraining of dogs, swine, &c., and to the better improvement of their common lands, and real estate ; relative to the inspection of weights and measures, and the assize of bread; to hay scales, public pumps, reservoirs, and for the extinguishment of fires, <fcc.; relative to establishing fire companies, &c.; and keeping chimnies clean and in good repair; “ relative to taverns, gin shops, and huckster shops in said village and relative to any thing whatever that may concern the good government of the said Anllage. But no such by-laAV shall extend to the regulating or fixing of the prices of any commodities, or articles of provisions, except the article of bread, that may be offered for sale; provided always, that such by-laAvs be not contrary to, or inconsistent with the laAvs of this state, or of the United States.
The 19th section declares the act to be a public act; and that it shall be construed in all courts of justice, within this state, benignly and liberally, to effect every beneficial purpose therein mentioned and contained.
*465The 6th section provides, that the trustees may ordain such reasonable fines, &c. against the offenders of such bylaws, as they may deem proper, not exceeding $25 for any one offence.
The power conferred, is to make such prudential by-laws rules and regulations, &c. not contrary to, or inconsistent with the laws of this state, or of the United States.
Admitting the power to limit, or prohibit altogether the erection of huckster or gin shops, if required by prudence for the good of the corporation; it is not shown how they could be an evil, if conducted under proper regulations; nor can we see judicially that any restriction was necessary.
The authority of the corporation is a limited one. The trustees cannot arbitrarily pass what laws they please. Their laws are to be prudential; and aimed at the correction of some probable evil. This is also conformable to the general law of corporations, which demands that their by-laws should be reasonable. (2 Kyd on corporations, 107.) For all the purposes of jurisdiction, they are like the inferior courts ; and must show the power given them in every case. If this be wanting, their proceedings must be holden void whenever they come in question even collaterally; for they are not judicial, and subject to direct review on certiorari. (2 Kyd on corporations, 104 to 107.) This view is not inconsistent with the provision of the charter, that it shall be construed benignly and liberally, to effect every beneficial purpose therein mentioned and contained. It must be shown, in proof, that the purpose is a beneficial one within the act, before this duty of construction attaches. Nothing is to be intended in favour of jurisdiction.
But how do these by-laws stand with the general law of the state, or with the general principles of that law ? Bylaws must accord with both. (2 Kyd. on corporations, 107. 109.) Hence, such by-laws as these, against trade, are said to be against the common law which favours trade; and are not allowed except by particular custom, (id. 118, 19, 122, 124, 5, 131.)
The defendant was carrying on the business of a retail dealer in various articles ; and suppose, for the purposes of *466the argument, that he was a huckstered He was also selling gin and other spiritous liquors under a town license, founded on a public law of the state. Perhaps the corporation might do more towards regulating and restraining him from the abuse of his business to immoral, unsafe, or unhealthy purposes, &c. than could be done under any general state law. A more efficient police on these subjects was probably aimed at by the charter, than is given by the state law in the like cases. But it does not follow that any man is to depend, for the fair and innocent exercise of his business, on the will of the corporation; that they have the power of licencing his trade, at their pleasure; prohibting it altogether; or crippling it by heavy charges and grievous penalties.
Nor is the right to pass these by-laws derivable from the taxing power of the corporation. This is conferred by another part of the charter, in definite and specific terms, which, it is not pretended, reach the.present case.
This being our opinion, it is not necessary to look into the by-laws to ascertain whether they are good in point of form. We are of opinion that they are void, both for want of jurisdiction, and conformity to the general law.
. Judgment reversed.