delivered the opinion of the court:
. Appellant, Otto Cloe, was tried and convicted before a justice of the peace of Moultrie county for violating section 1 of ordinance 194 of the revised ordinances of the city of Sullivan, the appellee in this case. An appeal was prosecuted to the circuit court of that county, where a trial was had by a jury, which returned a verdict finding appellant guilty and a fine of $75 was assessed against him. Motions for a new trial and in arrest of judgment were made and overruled and judgment entered on the verdict against appellant for $75 and costs of suit. He prayed an appeal from that judgment, and an appeal has been perfected to this court, the judge of the trial court having certified that the validity of a municipal ordinance is involved and that in his opinion the public interest required the appeal should be taken to this court.
The provisions of the ordinance necessary to be considered are as follows: Section i provides that “no person or persons shall enter upon any street or alley within the corporate limits of the city of Sullivan, Illinois, or upon, any lot, block or tract of land belonging to the city of Sullivan, Illinois, for the purpose of erecting pole, wire, guy wire, anchor, clamp, piece iron, brace, light fixtures, or any other fixtures of any kind, to any pole, wire, guy wire or other fixtures already erected, without first having obtained the written permission of the mayor of the said city and the members of the street and alley committee so to do.” Section 2 fixes a penalty of not less than $5 nor more than $100 for each and every violation of such ordinance.
Appellant admits he violated the ordinance and challenges its validity. He contends the ordinance is unreasonable and void, in that it vests the mayor and the members of the street and alley committee with an arbitrary discretion to allow or not to allow the doing of the acts mentioned therein, and is an unwarranted delegation to such officers of a power which can only be exercised by the city council of such city. Appellee insists the ordinance is a valid exercise of municipal power, and should be sustained as such even if the provision authorizing the doing of the acts with the consent of the mayor and the members of the street and alley committee be held void, for the reason that the city council has the power to prohibit the doing of the acts mentioned in section 1 of said ordinance.
By section 1 of article 5 of the Cities and Village act (Hurd’s Stat. 1916, p. 304,) it is provided that the city councils in cities and the president and board of trustees in villages shall have certain powers, among others the power to lay out, establish, open, alter, widen, grade, pave or otherwise improve streets and regulate the use of the same; to prevent and remove encroachments or obstructions upon the same and regulate the openings therein for the laying of gas or water mains and pipes, the building and repairing of sewers, tunnels, drains and erecting gas lights, and to regulate and prevent the use of streets, sidewalks and public grounds for signs, sign posts, telegraph poles, horse troughs, the posting of hand-bills, advertisements, etc. In speaking of the extent of the powers conferred upon the city council by the various provisions of this section in People v. Clean Street Co.
This follows from the manner of their creation. Municipal corporations, such as cities and villages, are the creatures of the legislature, and can exercise such powers, and only such powers, as are expressly conferred upon them by the law of their creation, or such powers as are necessary to carry into effect the powers thus expressly granted to them. (Zanone v. Mound City,
In Cicero Lumber Co. v. Town of Cicero,
In City of Chicago v. Trotter,
We think the rule announced in these cases is controlling here. It seems quite clear from a reading of the whole ordinance that it was not the intention of the city council to prohibit the doing of the acts therein specified absolutely, at all times and under all circumstances and conditions. On the contrary, provision is made for the granting of such permission by the mayor and members of the street and alley committee. But the power vested in them by such ordinance is an arbitrary and uncontrolled discretion to enforce the ordinance against one person and permit another or others to do the same act under the same circumstances. The power vested in the city council by the statute involves the exercise of judgment and discretion, and is of such a character that it cannot be delegated by it to others, to be arbitrarily exercised by them. When the power is attempted to be exercised it must be by general .ordinance applicable alike to all who bring themselves within its terms and provisions, and the ordinance should specify the circumstances and conditions under which such permission shall be granted and prescribe the rules and regulations that are tp guide the officers in granting or refusing such permission. This the ordinance in question does not attempt to do, and in so far as it delegates that power to the mayor and members of the street and alley committee we must hold the same void, as an unwarranted delegation of such municipal power.
Appellee insists, however, as the streets, alleys and public grounds of the municipality are within the control of the city council and no one has the right to. enter upon the same and do the acts prohibited by this ordinance without a grant of such authority from the city, that even if the provision for granting such permission by the mayor and the members of the street "and alley committee be held void the balance of the ordinance should be sustained as a valid exercise of municipal power. Conceding, for the purpose of the argument, that no one has the right to do the acts prohibited by this ordinance without a grant of permission by the city council, it does not follow that the ordinance in question can be sustained as a valid exercise of such power and the provision for the granting of such permission by the mayor and members of the street and alley committee be held void. It is fundamental that in construing statutes or ordinances the same are to be construed as an entirety and the intention of the legislative body gathered from a consideration of the whole ordinance. In this instance we think it clear from a reading of the whole ordinance that it was not the intention of the city council to absolutely prohibit the doing of the acts therein mentioned under all circumstances, and that the same would not have been adopted without the provision providing for the granting of authority to do such acts under proper circumstances. As we are compelled to hold the provision vested such arbitrary-discretion in the mayor and members of the street and alley committee void as an unwarranted delegation of municipal power, we mtist also hold the whole ordinance void, for the reason that we deem such provision an inseparable part of the ordinance and of such character that the ordinance would not have been adopted but for such provision.
As appellee bases its whole cause of action on this ordinance which is void, the judgment must be reversed.
Judgment reversed.
