Opinion by
Rice, P. J.,Tbe nature of the proceedings and the issue out of which this appeal arises and the facts pertinent to the issue have been fully and clearly set forth by the learned judge below, and we shall not attempt to restate them. The appellant’s proposition, that it had a right to maintain its pipe, on Ells-worth avenue in the location in which it was laid, which right could not be abridged nor interfered with by the city, without making or securing due compensation, “ except through its sovereign or police powers,” is indisputable under the evidence. To be more explicit, the statutes under which it acquired the right do not expressly provide that it shall be held subject to ordinances thereafter to be passed relative to the location, relocation or relaying of such pipe; nor was the pipe laid under consent granted by the city upon such condition. It is claimed that the right of the city to lay a water main in the same street, while equally clear and incontestable, was not superior, abstractly considered. This, it is argued, is a logical deduction from the general principles enunciated in Westen Saving Fund Society v. Phila., 31 Pa. 175; Baily v. Philadelphia, 184 Pa. 594; White v. Meadville, 177 Pa. 643, at p. 652, and for present purposes it may be conceded. It results from the foregoing that the city could not compel the gas company to remove its pipe from the location where it was lawfully laid, except in the exercise of the right of eminent domain and upon making and securing due compensation, unless it could vouch some other basis for its demand than its mere will to use the same location for its water main. But although in the statutes under which the gas company acquired its right there is no express reservation to the state or the city of the power to require the company to change the location of its pipe, it does not necessarily follow that no such power can be exercised by either under any circumstances. “The right of a private corporation to break up” — and we add, to occupy or use — “the public highways of a municipality in the exercise of a franchise conferred upon them by an act of assembly, is necessarily subject to the reasonable municipal regulations of the district enacted for the common good of all its inhabitants unless specially excluded by the act conferring the right: ” Commissioners, etc., of The Northern Liberties v. The Northern Liberties *381Gas Company, 12 Pa. 318. A company that is required to obtain municipal consent, and after obtaining it has entered upon the streets, is in precisely the same situation,- so far as its being subject to police regulation is concerned, as a company that is not required to obtain consent. The power of the city to make reasonable police regulations is independent of, and not merely incidental to, the power to grant or withhold consent to the use of the streets by the corporation: Lansdowne Borough v. Springfield Water Company, 16 Pa. Superior Ct. 490. “ To say that the police power of a city or borough over streets does not extend beneath the surface would be contrary to sound principle, and be justified by no decision to which our attention has been called. Indeed, it would seem to be in plain conflict with the principles enunciated in McDevitt v. People’s Nat. Gas Co., 160 Pa. 867, and kindred cases. Except as restricted by the act under which such companies derive their powers, the police, power of a borough or city extends to such occupancy and use of the streets, whether upon or beneath the surface, as in its nature requires or justifies supervision at the hands of the municipality in order to safeguard the public in their rightful use of the same streets : ” Kittanning Boro. v. Nat. Gas Co., 26 Pa. Superior Ct. 355. The primary use of streets in cities and boroughs is not confined to travel or transportation. As to the uses for which such highways are acquired and to which they are appropriated, we quote from the McDevitt case above cited: “ The necessity for drainage; "for a water supply; for gas for purposes of lighting; for natural, or fuel gas, for' heat; for subways for telegraph and other wires ; and for other urban necessities or conveniences, gives to the municipality a control over the sub-surface that the township has not. Property in a city is no less sacred than property in the country. The title of the owner is neither better nor worse because of the location of his land. But its situation may subject it to a greater servitude in favor of the public in a large, compactly built city than would be imposed upon it in the open country. The city has the right to use the streets and alleys to whatever depth below the surface it maybe desirable to go, for sewers, gas and water mains, and any other urban uses. In taking the streets for these necessary or desirable purposes it *382is acting not for its own profit, but for the public good. It is the representative of the inhabitants of the city, considering their heath, their family comfort, and their business needs ; and every lot owner shares in the benefits which such an appropriation of the streets and alleys confers. If the city abridges his control over the soil in and under the street, it compensates him by making him a sharer in the public advantages that result from proper drainage, from an abundant water supply, from the general distribution of gas, and the like.” In Scranton Gas & Water Company v. Scranton City, 214 Pa. 586, it was held that where a city changes the grade of a street in order to do away with a railroad grade crossing, and a gas and water company is obliged to move its pipes from the street by reason of the change of grade, the company can recover no damages from the city for the injury sustained. Justice Stewart, who delivered the opinion of the court, said upon the subject now under consideration: “ Calling the legislative grant of privilege to use the streets a contract does not avoid the conditions on which the privilege is to be exercised. Whether such limitation or conditions be expressed in the grant or not is immaterial, for, as said in Butchers’ Union Slaughter House Co. v. Crescent City Live Stock Landing Co., 111 U. S. 746, the power to control and regulate the streets so as to protect the public health, is one that cannot be bargained away by legislative or municipal grant. The power to control them for the protection of public safety, if not the same, stands on equally high ground. All authorities 'agree that such right is both paramount and inalienable. Nor is the right limited to the control of a mere surface; it extends to the soil beneath, to whatever extent it may be required in aid of such purposes as fall within the municipal function, in connection with the health and safety of the public: Water Commissioners of Jersey City v. Hudson City, 13 N. J. Eq. 420.” Then after quoting from Rafferty v. Central Traction Co., 147 Pa. 579, he says : “ It is unnecessary to cite other authority to show that no liability results to the municipality,. for the disturbance of a gas or water company’s pipes in the public streets when made necessary by public consideration.” So in New Orleans Gas Light Company v. Drainage Commission of New Orleans, 197 U. S. 453, in which a judgment of the Supreme Court of Loni*383siana denying the right of a gas company to recover sums paid out for making the changes in the location of its pipes and mains necessitated by the construction of a municipal drainage system was affirmed, Justice Day, said : “ The need of occupation of the soil beneath the streets in cities is constantly increasing for the supply of water and light and the construction of systems of sewerage and drainage, and every reason of public policy requires that grants of rights in such sub-surface shall be held subject to such reasonable regulation as the public health and safety may require.” Viewing the case before us in the light of these well-established principles, we think it clear that whatever right the gas company acquired was subject, in so far as the location of its pipes in any particular part of the street was concerned, to such future regulations as might be required in the interests of the public health and public welfare.
We think it equally clear that the occasion justified the exercise of this power, and that the ordinance of 1872 is broad enough in terms to cover the case. The pipe of the gas company could be moved to another part of the street without other loss or damage to the company, so far as the evidence shows, than the cost of removal, which was small. On the other hand, the trial court has found that for a certain distance on Ellsworth avenue it was necessary to lay the water main in the location occupied by the gas pipe. The evidence shows that this location for the water main was not selected arbitrarily, but for practical reasons which amply justified the selection and the finding of the court that it was necessary. The ultimate purpose for which the city determined to use this portion of the sub-surface of the street wras not to increase its revenues from the business of supplying water to the inhabitants of the city, but to promote the public health.- It was part of a plan which was as directly and obviously calculated to promote that object as the construction of a system of sewerage or drainage. It is a mistake to suppose that its action now under consideration is referable only to its power to supply water to the inhabitants of the city and for public uses. It has that power, and it is exclusive, but it also has the power to make regulations to secure the general health of the inhabitants ; and its action is sustainable as a reasonable exercise of that power *384upon proper occasion, whatever may be said of its mere power to supply water. As was said in Lehigh Water Co.’s Appeal, 102 Pa. 515, a municipal corporation exercising the functions of a private corporation in supplying its citizens with gas or water does not thereby lose its distinctive municipal character. Therefore, the case is not to be treated as if it were a dispute between two private corporations, one acting under the power to supply gas and the other under the power to supply water to the inhabitants of the city, but as a case turning upon the question whether a gas company may be compelled to change the location of its pipe from one part of a street to another part of the same street, where such change is necessary in order to enable the city to execute a plan which is so obviously and directly calculated to promote the public health, as is the city’s plan to improve the character of the water supply. In ac ./ering that question in the affirmative it is not necessary to decide that a power to supply water, abstractly considered, is higher in grade than a power to supply gas, but only that the gas company held its right to occupy a particular part of the street subject to the superior right of the city to control and regulate the use of the street so as to protect and promote the public health.
The action of the city, to which the defendant objects, being referable to and sustainable by its police power, the constitutional provision relative to compensation for property taken, injured or destroyed in the exercise of the power of eminent domain, has no application. The defendant cannot claim damages or compensation on account of being compelled to render obedience to a police regulation designed to secure the public health and welfare : Scranton Gas & Water Co. v. Scranton, 214 Pa. 586; New Orleans Gas Light Co. v. Drainage Commission of New Orleans, 197 U. S. 453; Chicago, Burlington & Q. Ry. Co. v. Chicago, 166 U. S. 226, at p. 255. Other cases are cited in the appellee’s brief in support of this proposition.
The decree is affirmed and the appellant to pay the co^ts.