delivered the opinion of the court:
The General Assembly passed an act, in force July 1, 1895, entitled “An act to establish and maintain the Eastern Illinois State Normal School,” which was created a corporation to be governed by a board of trustees appointed by the Governor with the advice and consent of the senate. The trustees were appointed and planned to receive donations from different localities in consideration of the location of the school. The city of Charleston owned'and operated a water-works plant and system, and as an inducement to procure the location of the school at said city the city council adopted a resolution on July 5, 1895, as follows : “A resolution offering the trustees of the Eastern Illinois State Normal School, providing it be located in this city, all the water it may.require for use in its buildings and on its grounds, also for fire protection, for the consideration of five dollars for the period of fifty years; which was read and on motion adopted by all voting aye.” As a result of the inducement offered by the resolution the trustees located the school at the city of Charleston and tapped the water main and connected its water pipes therewith, extending to the building and grounds, at its own expense and has since kept and maintained the same. The trustees located buildings on the ground where the school was located, adjoining the south corporate line of the city, and the ground was afterward brought within the corporate limits and is now within the city. The buildings were completed and the school conducted, and it now has an attendance of five hundred scholars, with thirty-three teachers. It has a dormitory furnishing board and rooms to a large number of students, and requires a large amount of water to generate steam for heating and for the other uses of the school. The city complied with its agreement until May 15, 1913, when the city council repudiated it and refused to continue furnishing water as agreed. On July 17, 1913, an ordinance was passed for the installation of water meters, and in compliance with that ordinance meters were installed to measure the water consumed by the school. The cost of meters and installation and a regular rate for water was charged to the school, amounting to $309.30 up to October 1, 1913, and the city threatened to cut off the water and disconnect the water pipes unless the bill were paid. On November 25, 1913, the Eastern Illinois State Normal School filed its bill of complaint in the circuit court of Coles county, alleging in its amended bill the foregoing facts and asking the court to compel the city to specifically perform its agreement and to enjoin it from shutting off the water supply. A temporary injunction was ordered and issued and the defendant appeared and demurred to the amended bill, admitting the facts but alleging that it had no legal right to make the contract. The demurrer was sustained, and the complainant elected to stand by its bill and the bill was dismissed. An appeal was prosecuted to the Appellate Court for the Third District, where the decree was affirmed, and a writ of certiorari was granted by this court to review the judgment of the Appellate Court.
Section i of the act authorizing cities, incorporated towns and villages to construct and maintain water-works, in force April 15, 1873, as amended in 1879, (Taws of 1879, p. 64,) authorizes all cities, incorporated towns and villages to provide for a supply of water for the purpose of fire protection and for the use of the inhabitants of such cities, incorporated towns and villages, by erecting, constructing and maintaining a system of water-works for fire protection and the use of the inhabitants for domestic and commercial purposes. Section 4 of the act provides that the common council of cities or trustees of towns or villages having a water-works system shall have power to tax, assess and collect such tax, rent or rates for the use and benefit of water used or supplied by such water-works as the common council or board of trustees, as the case may be, shall deem just and expedient.
Municipalities are created primarily for the exercise of such portion of the powers of sovereignty within the corporate limits as the General Assembly may see fit to bestow upon them, and they may also be authorized to supply conveniences to the inhabitants, such as bringing water from some source of supply and distributing it to those desiring it. In the creation of a system of water-works and the operation of the same for the purpose of protection against fire, flushing sewers or other uses pertaining to the public health and safety the city is in the exercise of the police power and is therefore exercising a governmental function. (Wilcox v. City of Chicago,
The question whether a donation to secure the location of a State institution was a corporate purpose of a county came before this court in Livingston County v. Weider,
Afterward the case of Burr v. City of Carbondale,
In the case of City of Danville v. Danville Water Co.
In the case of Freeport Water Co. v. City of Freeport,
In the Danville and Freeport cases the consideration was the construction of water-works and a supply of water and upon the faith of the contract water-works were built in both cities, while in this case the supposed consideration for the agreement was the location of the State institution. If neither the city of Danville nor the city of Freeport could make a binding agreement how much the city would pay for water for a term of years, it cannot be said that the city of Charleston, without legislative authority, could agree to furnish water to the complainant or anybody else for fifty years for five dollars, whether the exercise of the power was in its nature private or governmental.
It is contended that because it has been held that a private corporation may enter into a contract to secure the location of a post-office site or a military encampment a city must have the same right to secure the location of a State institution that will benefit its inhabitants. The question whether a private corporation can make such a contract depends upon the nature of the corporation and whether the contract is connected with the legitimate exercise of its corporate powers. It has been held that a corporation engaged in business may make a contract to secure the location of a post-office site at a place that- will tend to increase its business and that a hotel company may contract for the location of a military encampment, (Richelieu Hotel Co. v. Military Encampment Co.
The final argument in support of the bill is that the city is estopped to dispute the validity of the contract although it had no power to enter into it, for the reason that it has received the consideration. That reason did not prevail in , any of the cases heretofore considered. Everyone is presumed to know the extent of the powers of a municipal cor- . poration, and it cannot be estopped to aver its incapacity, which would amount to conferring power to do unauthorized acts simply because it has done them and received the consideration stipulated for. Stevens v. St. Mary’s Training School,
The judgment of the Appellate Court is affirmed.
Judgment affirmed.
