Opinion of the Court,
The plaintiff in error was prosecuted before a justice of the peace upon a charge of violating an ordinance of the city of Macomb.
The case was removed by appeal to the Circuit Court where, a jury being waived, it was tried by the court. Judgment was entered in favor of the city, and the fine was assessed at $5, to -reverse which the present writ of error was sued out.
The ordinance relied on read as follows:
“ Sec. 1. That any person who shall, within the limits of said city, without procuring a license therefor, carry on the trade, business or occupation of (among others) peddler, shall on conviction thereof, forfeit to said city not less than $5 nor more than $200 for each offense. Provided that no license shall he required for the selling of any articles manufactured and sold by Iona fide residents of said city, or that are exempt from license by the statute of the State of Illinois, or for orders and sales at wholesale.”
*64It appeared by a stipulation of the parties that on the day charged in the complaint, the plaintiff in error carried with him and sold from place to place, within the city’s corporate limits, certain bread knives, of three kinds and sizes, which were sold and delivered by him to various persons within said limits, who then paid him $1 per set of three knives; that at the time of said sales and delivery plaintiff in error had not procured a license as required by said ordinance, and he was then and there engaged in peddling and was a peddler according to the usually accepted meaning of the term; that said city was duly incorporated under the general laws of the State of Illinois; that plaintiff in error at the time of the alleged offense resided in the city and county of Peoria, in the State of Illinois, and was a citizen thereof, and of the United States; that all of said knives were manufactured at the city of Dayton, in the State of Ohio, and by the manufacturers shipped to him at Macomb, Illinois, where the same were so sold.
It is conceded by appellee that so much of the ordinance as is contained in the proviso which exempts tona fide residents who may sell articles manufactured in the city, is void, but it is contended that this proviso may be rejected and the residue of the ordinance may be upheld as valid.
An ordinance may be partly good and partly bad when the parts are in themselves entire and distinct from each other.
In Cooley on Const. Lim., 2d Ed., p. 178, it is said: “ Where, therefore, a part of a statue is unconstitutional, that fact does not authorize the courts to declare the remainder void also, unless all the provisions are connected in subject-matter, depending on each other, operating together for the same purpose, or otherwise so connected in meaning that it can not be presumed the legislature would have passed the one without the other.
The constitutional and unconstitutional portions may be contained in the same section, and yet be perfectly distinct and separable, so that the first may stand, and the last fall. The point is not whether they are contained in the same section, for the distribution into sections is purely artificial; *65but whether they are essentially and inseparably connected in substance. * * *
The difficulty is in determining whether the good and bad parts of the statute are capable of being separated within the meaning of this rule. If a statute attempts to accomplish two or more objects, and is void as to one, it may still be in every respect perfect and complete as to the other. But if its purpose, is to accomplish a single object only, and some of its provisions are void, the whole must fall, unless sufficient remains to effect the object, without the aid of the invalid part. And if they are so mutually connected with, and dependent on, each other as conditions, considerations, or compensations for each other, as to warrant the belief that the legislature intended them as a whole, and if all could not be carried into effect, the legislature would not pass the residue independently, then, if some parts are unconstitutional, all the provisions vrhich are thus dependent, conditional or connected, must fall with them.”
We are of opinion the proviso in question is so connected with the preceding portion of the ordinance as a condition, consideration, or compensation for it, as to warrant the conclusion that the parts were intended as a whole, and that the one part would not have been adopted without the other.
The suggestion is made that because the invalid portion is contained in the form of a proviso, there is no difficulty in rejecting it, and that there is then left a complete and perfect enactment. We perceive no force in the suggestion. The whole must be read together, and it is in effect as though the ordinance had simply provided that no non-resident person should be allowed to peddle any goods, nor should any person be allowed to peddle goods not manufactured in the city. State v. Sheriff, 51 N.W. 112 (Minn.); City of Shreveport v. Levy, 26 La. An. 671; City of Chicago v. Brownell, 41 Ill. App. 71; Village of Braceville v. Doherty, 30 Ill. App. 658.
We are of opinion the ordinance was void, and that judgment should have been for the appellant.
The judgment will be reversed and the cause remanded.