delivered the opinion of the court:
The Shredded Wheat Company filed a bill in the circuit court of Kane county to enjoin the city of Elgin from enforcing against it the provisions of an ordinance which imposed a penalty upon any person carrying and distributing or posting hand-bills, samples, posters or other advertising without a license. The court sustained a demurrer to the bill and dismissеd it for want of equity, and the complainant appealed.
It appears from the bill that the complainant is a corporation of the State of New York, engaged in manufacturing and selling an article of foоd known by the trade name of “shredded wheat biscuit,” which it manufactures in the city of Niagara Falls, in the State of New Yоrk, and sells throughout the United States and in foreign countries only in original sealed packages to wholesalers or jobbers and not to retailers or consumers. A part of its method of advertising is, and has long been, to distribute samрles of its product, and -printed matter describing and advertising it, to residents and householders in the State of Illinois and other States. The city of Elgin adopted the ordinance in question, which declared it to be unlawful to distribute or pоst, or carry for the purpose of distributing or displaying, any hand-bill or advertisement within the city of Elgin without a license to do so. For advertising certain entertainments, exhibitions and games no fee is required. For advertising certain other еntertainments a fee of five dollars a day for each person employed is required. For carrying and distributing оr posting any hand-bills, samples, posters or other advertising not provided for in the .two classes mentioned, two dоllars a day for each person employed is required. The penalty for each violation of the ordinance is a fine of not less than one dollar nor more than $150. The bill avers that the complainant is about tо engage in the distribution of its samples and advertising matter to residents and householders throughout the city of Elgin, and that the officers of the city have demanded that each of the complainant’s employees engagеd in such distribution shall pay a license fee of two dollars a day, and have threatened to arrest such employees if the fee is not paid, and to prevent the complainant from distributing its samples and advertising matter. It is аverred that the fee provided by the ordinance constitutes a tax for the purpose of revenue on the complainant for carrying on its business in the city of Elgin; that in the distribution of its samples and advertising matter it is engaged in сommerce between the States, and that the ordinance constitutes a restriction of commercе between the States, deprives the complainant of a right, privilege and immunity guaranteed by the constitution of the United States, and is therefore illegal and void; that it deprives the complainant of the equal protection of the laws as guaranteed by the fourteenth amendment to the constitution of the United States, and if the сomplainant is prevented from distributing its samples and advertising matter it will suffer great and irreparable injury, the damage for which will be difficult and almost impossible of computation and for which the complainant has no remedy in аny court of law.
-The object of the bill is to have the ordinance declared unconstitutional so far as thе complainant is concerned, and, in advance of any prosecution by the city or any violation by thе complainant, to procure an adjudication that the complainant may disregard the ordinance. It is not denied that the subject matter is within the city’s legislative power, and it is well settled that courts of equity will not interferе to restrain a criminal or quasi criminal prosecution on the ground that the statute or ordinance on which it is bаsed is invalid. (Poyer v. Village of DesPlaines,
In Yates v. Village of Batavia,
The demurrer to the bill was properly sustained, and the decree of the circuit court will be affirmed.
Decree affirmed.
