delivered the opinion of the Court:
This is an application for a mandamus from this court, sought by John B. Zanone, a resident of Mound City, against the municipal authorities of that city, to compel them to issue to him a license to keep a dram-shop within the corporate limits of the city. The case is submitted for final decision upon a demurrer to the petition.
It is charged in the petition, and confessed by the demurrer, that Mound City is organized under the general law of 1872, for the incorporation of cities and villages; that prior to this proceeding the city council passed a general ordinance providing for the issue of licenses to keep dram-shops within the city, upon certain conditions set out in the ordinance; that the petitioner, in strict conformity with all the conditions and requirements of the ordinance, made application for such license, tendering to the city clerk, the proper officer, the license fees fixed by the ordinance, and also a good and sufficient bond, as provided by the 5th section of the Dram-shop act—both of which were refused without any reason being assigned therefor, and that the application for license was denied; that about the time of, and both before and after, his application, the respondents issued licenses to a number of other applicants to keep dram-shops in the same block of the city in which was the location where petitioner proposed, in his application, to keep one. It is also, in the same manner, alleged in the'petition and confessed by the demurrer, that the petitioner is in every respect a suitable person to be licensed to carry on such business, and that he is the only person whose application for such a license has ever been refused by the municipal authorities. In short, the record shows a clear and unequivocal case of arbitrary discrimination on the part of the defendants against the petitioner. No excuse, justification or explanation is shown or offered by defendants for their action in this regard.
It is claimed by counsel for defendants that the city council, as a matter of law, has the right to exercise this arbitrary discrimination in the matter of granting licenses. No authority has been cited which sustains this position, and we have found none. To so hold w'ould be a departure from some important fundamental principles which underlie municipal government, as framed under our constitution and laws. Municipal corporations are mere creatures of the legislative will, and can exercise no powers except such as the State has conferred upon them. All powers they possess are held by them in trust for the people of the municipality, and for the public generally. Their governmental and administrative powers (other than those conferred by statutory or constitutional enactments, which are self-executing,) can only be exercised by appropriate ordinances. Such ordinances must be general in their character, and operate equally upon all persons within the municipality, of the class to which the ordinance relates. Such ordinances must not be in violation of law, contrary to public policy, or unnecessarily oppressive, and must not unjustly or arbitrarily discriminate between citizens of the same class. These views are not new. On this subject this court has said: “All by-laws should be general in their operation, and should bear equally upon all the inhabitants of the municipality. Where privileges are granted by an ordinance, they should be open to the enjoyment of all upon the same terms and conditions.” (City of Chicago v. Rumpff, 45 Ill. 97.) The business of dealing in liquors is recognized by the constitution as a legitimate business, and license to keep a grocery or dram-shop is placed in the same category with license to carry on the business of a merchant, in eases where a merchant may lawfully be required to take out a license. So long as the law recognizes the business of keeping a dram-shop as a legitimate business, that business must be dealt with according to law, and special privileges are.to be granted to the favored few in that business no more than in any other lawful business, whatever may be the private feelings or views of judges or other public officers. Whether a license be that of a merchant, a peddler, or a keeper of a dram-shop, it confers a privilege upon the citizen for which the law requires a fixed compensation to be paid, and the privilege must be open alike to all citizens of the municipality in and on like conditions.
The case of the City of East St. Louis v. Wehrung, 46 Ill. 392, recognizes the principle that the licensing power can only be exercised through general ordinances operating uniformly upon all persons in like conditions. The case of East St. Louis v. Wider, 46 Ill. 351, decides, expressly, that mandamus is the proper remedy where an applicant has brought himself within the provisions of such an ordinance, and the municipal authorities refuse the license.
The Wehrung case, supra, was an action for a penalty imposed by an ordinance for selling intoxicating liquors without a license. The ordinance was held invalid because it authorized the city treasurer to fix the amount of the license fee to be required of each applicant, and also permitted him, with the concurrence of the mayor, to reject arbitrarily any application he might think proper. It was held that the municipal authorities could not delegate their powers, and also that the discrimination provided for could hot be lawfully exercised by the corporate authorities. If an ordinance providing for such arbitrary discrimination be void for that cause, it can not be lawful for the municipal authorities to accomplish the same end by indirection, by conforming to the law in making the ordinance general on its face, and at the same time defeating the requirements of law by the mode of carrying the ordinance into effect.
The doctrine that any one who has brought himself strictly within the. requirements regulating the licensing power may compel, by mandamus, the corporate authorities to grant him a license where it is refused through, mere caprice, is recognized, either expressly or by necessary implication, in all the cases bearing upon this subject to which our attention has been called. In the case of The People v. The Village of Crotty, 93 Ill. 180, an application for a mandamus to compel the village authorities to issue a dram-shop license was denied, under the circumstances of that case, because no bond was 'tendered, and no ordinance providing for license was shown; but the right to the writ was fully recognized, in cases of this character, where a general ordinance has been passed, and where the applicant has clearly brought himself within the provisions of the ordinance and of the law. Viewed in a legal aspect, in the light of the decisions of this court, no distinction can be perceived in this regard between applications for a merchant’s or a peddler’s license and applications for license to keep a dram-shop.
Equality before the law is a fundamental principle of our institutions, and no reason is perceived why applicants for license to keep a dram-shop, who are suitable persons to be licensed, should not stand on an equality before the law. Captious discriminations among men of that trade are as obnoxious as would be such discriminations in regard to other trades. Were this an application, under like circumstances, for a license to peddle, or to carry on the business of a merchant, could there be any doubt about the right of the applicant? It is claimed that municipal authorities may' exercise a discretion in such matters. We do not decide that they may not refuse license to persons of such habits and character as render them unfit persons to be licensed. In this case the authorities had not decided that the applicant was not a fit man -to be licensed. On this record it stands confessed that the applicant is a suitable person to be licensed. We do not decide that the municipal authorities may not limit the number of dram-shop keepers to be licensed, but this must be done, if at all, by ordinance. And it would seem that in such case, to avoid favoritism and monopoly, some provision should be made for a fair competition among suitable persons seeking such privileges.
Being of opinion that the record shows a clear right in the relator, the peremptory writ sought by the petition is ordered to be issued. ..
„ 7 Writ allowed.
Mr. Justice Scott : I dissent in toto from this opinion.
Mr. Justice Walker : I do not concur in this judgment.
Mr. Justice Sheldon also dissents.