delivered the opinion of the Court:
This was a petition for a mandamus, brought by the People of the State of Illinois, on the relation of the Attorney General, against the Chicago and Alton Eailroad Cqmpany, to compel said company to establish and maintain a station for the receipt and discharge of passengers and freight, at Upper Alton, in Madison county. The petition alleges, that said company is a railroad corporation organized under the laws of this State, and owning, operating and controlling a line of railway in said county, known as the St. Louis, Jacksonville and Chicago Eailroad, and extending from Godfrey, a station in said county, to Wann, also a station in said county, said stations being seven miles apart; that said company is a common carrier, and operates and runs upon and over said railway two passenger trains daily from south to north and one passenger train daily from north to south, and two or more freight trains daily in each direction; that about midway between said stations there is located upon the line of said railway the town of Upper Alton, the same being an incorporated town or village containing over eighteen hundred inhabitants; that many persons require the use of said railway in order to be transported thereon as passengers to and from said town of Upper Alton, and that in said town are many merchants, manufacturers, dealers and business men who require the transportation of freight, produce and manufactures over said line of railway to and from said town of Upper Alton; “that the accommodation of the public living in and near to said town of Upper Alton, in the transportation of freight and passengers to and from said town, requires and long has required, that said Chicago and Alton Eailroad Company establish a depot and freight house at said town of Upper Alton, and stop its trains, both freight and passenger, thereat, for receiving and discharging freight and passengersthat said company has acquired and for many years has owned suitable and convenient grounds for the establishment of a depot and freight-house in the town of Upper Alton upon its line of railway, which said grounds were acquired by condemnation proceedings, for use for side-tracks, freight and passenger depots and depot grounds, and that property in said town has been bought and sold upon the belief and representation that a depot would be maintained at that place; that the town council of said town and many of the citizens of the town and vicinity requiring the use of said railway, and the Eailroad and Warehouse Commission of the State of Illinois, have requested and demanded of said company that it establish and maintain upon its said grounds in said town a suitable depot and freight-house, and that it stop its trains, or a sufficient number thereof, to accommodate the public at said station, and that it receive and discharge freight and passengers thereat when requested, yet said company has wholly refused and still does refuse to maintain either a passenger or freight depot in said town, or to receive or discharge freight or passengers thereat.
The petition further alleges that said line of railway extends in a westerly direction from the town of Godfrey, and that there are many persons desiring to travel on said railway from said town of Upper Alton to towns on the line of said railway west of said town of Godfrey, and that persons going west are now compelled to go to Godfrey to take the same train which passes through the corporate limits of the town of Upper Alton, and the most convenient route for passengers to reach Godfrey now is, to go a distance of two and one-half or three miles to the station of Alton, and go by the way of the Chicago and Alton Railroad a distance of four or five miles to Godfrey, and there they are compelled to wait one hour for the train which such passengers might, if the prayer of the petition were granted, take in the town of Upper Alton.
The petition prays for a writ of mandamus commanding said company to establish a passenger and freight depot upon its said line of railway in said town of Upper Alton, at a suitable and convenient point to accommodate the public and all persons desiring transportation for freight or passengers to and from said town, and to stop its trains, both freight and passenger, or a sufficient number thereof, to accommodate the public, and discharge passengers and freight thereat when requested, and that, upon the final hearing, such further order might be made in the premises as to the court should seem meet and proper.
To the foregoing petition the defendant interposed a general demurrer, which was sustained by the court, and the Attorney General electing to abide by his petition, final judgment was entered in favor of the defendant. From that judgment the petitioners have appealed to this court.
There is, so far as we have been able to discover, no provision of any statute which can be appealed to in support of the prayer of the petition. Neither in the defendant’s charter nor in any other act of the General Assembly does there seem to be any attempt to prescribe the rules by which the defendant is to be governed in the location of its freight and passenger stations, or to confer upon the circuit court the power to interpose and direct as to their location. It is plain that the act of 1877, the only one to which we are referred in this connection, can have no application. That act provides : “That all railroad companies in this State carrying passengers or freight shall, and they are hereby required, to build and maintain depots for the comfort of passengers, and for the protection of shippers of freight, where such railroad companies are in the practice of receiving and delivering passengers and freight, at all towns and villages on the line of their roads ' having a population of five hundred or more. ” 2 Starr & Curtis’ Stat. 1924. While it is true that Upper Alton is a town having a population of more than five hundred, it affirmatively appears that it is not a place where the defendant has been in the practice of receiving and delivering passengers and freight, and so is not within the provisions of said act. The petition seeks to have the defendant compelled to establish a station where none has heretofore existed, while the statute merely requires the erection of suitable depot buildings at places where the railway company has already located its stations, and is in the practice of receiving and discharging passengers and freight. In point of fact, the Attorney General, in his argument admits that there is no statute upon which his prayer for a mandamus can be based, the position taken by him being that, upon the facts alleged in the petition and admitted by the demurrer, the legal duty on the part of the defendant to establish a freight and passenger station on its line of railway in the town of Upper Alton arises by virtue of the principles of the common law.
It is undoubtedly the rule that railway companies, in the ■ absence of statutory provisions limiting and restricting their powers, are vested with a very broad discretion in the matter of locating, constructing and operating their railways, and of locating and maintaining their freight and passenger stations. This discretion, however, is not absolute, but is subject to the condition that it must be exercised in good faith, and with a due regard to the necessities and convenience of the public. Eailway companies, though private corporations, are engaged in a business in which the public have an interest, and in which such companies are public servants and amenable as such. This doctrine has been repeatedly announced by this and other courts. Thus, in Marsh v. F., P. d N. W. R. R. Co. 64 Ill. 414, which was a bill for the specific performance of a contract by which the railway company agreed to locate its passenger and freight depots at a particular point in a certain town and at no other point in said town, we said: “This is
not a case which concerns merely the private interests of two suitors. It is a matter where the public interest is involved. Eailroad companies are incorporated by authority of law not for the promotion of mere private ends, but -in view of the public good they subserve. It is the circumstance of public use which justifies the exercise on their behalf of the right of eminent domain in the taking of private property for the purpose of their construction. They have come to be almost a public necessity, the general welfare being largely dependent upon these modes of inter-communication, and the manner of carrying on their operations.” In the same case, in holding that the contract there in question ought not to be specifically enforced, we further said: “Eailroad companies, in order to fulfill one of the ends of their creation—the promotion of the public welfare—should be left free to establish and re-establish their depots wheresoever the accommodation of the wants of the public may require. ”
In O. & M. Ry. Co. v. The People, 120 Ill. 200, which was a petition for a mandamus to compel the railway company to repair, generally, a certain portion of its road, and to increase its passenger trains thereon, we said: “There can be no doubt of the duty of a railway company to keep its road in a reasonable state of repair, and in a safe condition. Nor is there any doubt of its duty to so operate it as to afford adequate facilities for the transaction of such business as may be offered it, or at least reasonably be expected. * * * The company, however, is given, as it should be, a very large discretion in determining all questions relating to the equipment and operation of its road. Hence courts, as a general rule, will not interfere with the management of railways in these respects, except where the act sought to be enforced is specific, and the right to its performance in the manner proposed is clear and undoubted.”
It is in recognition of the paramount duty of railway companies to establish and maintain their depots at such points and in such manner as to subserve the public necessities and convenience, that it has been held by all the courts, with very few exceptions, that contracts materially limiting their power to locate and re-locate their depots are against public policy and therefore void. St. L., J. & C. R. R. Co. v. Mathers, 71 Ill. 592; St. L., J. & C. R. R. Co. v. Mathers, 104 id. 257; Bestor v. Wathen, 60 id. 138; Linder v. Carpenter, 62 id. 309 ; St. J. & D. C. R. R. Co. v. Ryan, 11 Kan. 602; P. R. R. Co. v. Seely, 45 Mo. 212; Holladay v. Pattison, 5 Ore. 177; Taylor on Corporations, see. 162, and authorities cited.
We have now to consider whether, in the light of the principles above laid down, a right to the relief prayed for is sufficiently shown by the petition. There can be no doubt that the act sought to be enforced—the establishment and maintenance of a freight and passenger station on the defendant’s line of railway at a convenient point within the town of Upper Alton—is sufficiently specific to be enforced by mandamus,, and it only remains to be seen whether the right to have its performance enforced is shown to be clear and undoubted. It should be observed that there is no controversy as to the facts, the allegations of the petition being, for all the purposes of this appeal, conclusively admitted by the demurrer.
The petition undertakes to show the public importance and necessity of the station asked for in two ways, first, by alleging the facts and circumstances which tend to prove it, and, secondly, by directly averring it. It cannot be doubted, we think, that the facts alleged make out a clear and strong case of public necessity. They show that Upper Alton is a town of over eighteen hundred inhabitants, situated on the line of the defendant’s railway, about midway between two other stations seven miles apart. The residents of the town and vicinity are shown to be possessed of at least the ordinary inclination to travel by railway, and it is averred that many of them have occasion and desire to travel by the defendant’s railway between Upper Alton and other points on the line of said railway. Various manufacturing and other business enterprises are shown to be carried on within the town, creating a necessity for the use of said railway for the transportation of manufactured articles, merchandise and other freights. To avail themselves of transportation upon trains which pass by their doors, the inhabitants of Upper Alton are compelled to go and transport their freights by other conveyances to a neighboring town about three and one-half miles away. Then, as we have already said, the petition directly avers and the demurrer admits, that the accommodation of the public living in and near said town requires and long has required the establishment of a passenger and freight depot on the line of its road within said town. Unless then there is some explanation for the course pursued by the defendant which the record does not give, we cannot escape the conviction that its conduct in the premises exhibits an entire want of good faith in its efforts to perform its public functions as a common carrier, and an unwarrantable disregard of the public interests and necessities.
It cannot be admitted that the discretion vested in the defendant in the matter of establishing and maintaining its freight and passenger stations, extends so far as to justify such manifest and admitted disregard of its duties to the public. We are of the opinion that the petition shows a clear and undoubted right on the part of the public to the establishment- and maintenance of a freight and passenger station on the line of the defendant’s railway in the town of Upper Alton, and it therefore follows that the demurrer to the petition should have been overruled. For the error in sustaining the demurrer, the judgment will be reversed and the cause remanded for further proceedings.
Judgment reversed.