Opinion by
Head, J.,It may be conceded there is no privity of contract between the plaintiff and the defendant appellant. There has existed, however, and does now exist a privity *120of estate. That estate, in the lands of the plaintiff, which the appellant now possesses and enjoys was created by a contract between the plaintiff and the Indiana County Gas Company, the predecessor in title of the appellant, and the remaining defendant in the bill. That contract was a simple and entire one. By its terms the plaintiff granted to the company last named the right to lay and maintain a pipe line for the. transportation of gas through and under his land. That contract was made in 1891. The consideration for the estate thus granted was the delivery to the plaintiff each and every year, so long as the grant continued, of gas for his premises at a fixed price. The contract was duly recorded in the proper office of the county and was promptly executed by the construction of the pipe line therein contemplated. The company grantee, during a number of years, continued to possess and enjoy the rights it thus obtained and regularly returned the annual compensation it had agreed to make. The contract by its terms enured to the benefit of the successors or assigns of both the parties respectively.
In 1909 the Indiana County Gas Company sold and conveyed to the American Natural Gas Company, the appellant, its wells, pipe lines, rights of way - and other property, including that it had obtained' by the grant aforesaid from the plaintiff. That company entered into possession, and from that time down to the filing of this bill and to the present moment, so far as this record shows, has continued to exercise and enjoy all of the rights in the property of the plaintiff which passed by his grant to its predecessor in title. From the same time down to the period of the notice next to be referred to it continued, without objection, to render to the plaintiff the compensation stipulated for in the contract under which it took and lawfully holds its easement or estate in his lands. It ought to be added that the grant referred to vested in the grantee, and therefore in the present appellant, not only the right to *121lay and maintain a pipe line, but also the right to construct, maintain and operate a telegraph or telephone line which was duly constructed.
In 1911. the appellant company appears to have determined that it was no longer to its interest or advantage to pay the stipulated compensation for the grant in the manner therein provided. In an attempt to relieve itself of that obligation, it caused to be served on the plaintiff a written notice of which the following is a copy:
“You will please take notice that the American Natural Gas Company claims the right to maintain its line of pipe through your land in White township, Indiana county, Pa., for the purpose of transportation and supply of natural gas for public consumption in pursuance of its power of eminent domain, and will not be bound by any contract by which gas is to be supplied as a consideration for said right of way without cost or at a reduced rate, and any gas supplied upon said land from said pipes must be at the uniform established rate charged by said company and under a written contract which must be uniform with other consumers and which must be signed on or before July 31, 1911.”
It further appears in the bill, and is not denied, that at the same time an additional notice was served on the plaintiff that the défendant would present, on a day named, a bond to the court of common pleas of Indiana county, and thereafter, on the day named, did present to said court a petition “for leave to file said bond for the purpose of maintaining said pipe line through said land of your orator under right of eminent domain.” The bill, further averring an intention on the part of the defendant to shut off the plaintiff’s supply of gas if he refused to accede to its terms, prayed for an injunction. In due course a final injunction was decreed and the defendant appeals.
It is clear the present appellant, as well by the terms of the contract under which the pipe fine was laid and *122maintained as under the law generally, could not be compelled to continue to hold the rights granted and pay the annual compensation stipulated therefor longer than it chose to do so. If it should elect, as its predecessor did, to exercise its right to sell its pipe line and the easement under which it is maintained, the plaintiff would have no standing to interfere; and for the same reasons it may, when it chooses, surrender and abandon all of the rights in the plaintiff’s property which it took by virtue of the grant and thus restore to him the- full possession of his property, and again the latter would have no standing to object.
The simple question presented by this record is, may the defendant, in any lawful assertion of its right of eminent domain, continue to hold and enjoy the right to maintain and operate its pipe line and telephone line through the lands of the plaintiff and at the same time insist, as it does in its notice, that it will no longer be bound by that portion of the contract which fixes the compensation to be paid for the easement? If so, the effect of the operation would be to split what was an entire contract into a severable one; to divorce the compensation to be paid from the granted rights for which it was to be paid; and to use the right of eminent domain to convert into a liquidated sum of money, presently payable, the annual compensation which the parties had stipulated should be paid as long as the grant continued. We are of the opinion this cannot be done, and further that the precise question has been authoritatively decided against the contention of the appellant by the Supreme Court in Semple v. Railroad Co., 172 Pa. 369.
That case presented features which seemingly gave to the railroad company, as a public carrier, a stronger right to escape from some of the obligations of the contract under which it held its right of way than any that can be advanced by the appellant here. In that case the predecessor in title of the then defendant obtained *123a right of way for its line through the property of the predecessors in title of the plaintiff. It also obtained, as part of the same grant, land upon which to construct a wood house and a water tank, and the right to supply the latter with water from a spring on the premises. The property owner agreed to build, on his own land, a suitable building for a depot or station house, and to provide a person to sell tickets, receive and deliver freight, etc., at the said station, and for this the company was to pay such compensation to the person provided by the owner as it paid to other persons where similar conditions existed. The company in the course of time found this obligation burdensome to itself and, as it alleged, greatly prejudicial to the rights and safety of the traveling public. It accordingly undertook to condemn the land on which the property owner had erected a station house, and the plaintiff filed a bill to enjoin that proceeding. The learned court below, in a forcible opinion, held that the portion of the original contract referred to was against public policy and dismissed the plaintiff’s bill. The decree was reversed and the record remitted with direction to issue an injunction and afford certain other relief required by the particular facts of that case.
The language of Mr. Justice Williams, speaking for the court, is just as applicable to the situation presented by this record as it was in the case in which the opinion was delivered: “But the contract is an entire one. The consideration for all the rights secured by the railroad company under it is the price or commission to be paid to the landowner for his services as agent in the collection of freight and the sale of tickets at the depot being built or owned by him. The company cannot therefore rescind in part. It must stand on its contract rights or rescind in toto, and fall back upon its right of eminent domain to protect itself in the enjoyment of its right of way and the other rights acquired originally by the contract. Now the company has undertaken to *124rescind in part. It retains possession of its way, its water supply, and the land acquired under the contract, but seeks to avoid the payment of the annual rental therefor by the condemnation of the depot building erected and occupied by the landowner. . . . Her (the plaintiff’s) position is that so long as the company affirms the contract by holding all that it acquired under its provisions it cannot be allowed to rescind as to the one provision on which the compensation of the landowner rests. In other words, it cannot affirm as to what it was to receive, and rescind as to what it was to pay. Wé think the contention is correct, and that the bill presents a proper case for equitable relief.” Applying that language and the principle it so emphatically expresses to the question presented by this record, we have left but little room for discussion.
It cannot be pretended that the notice of July 18 was a notice of the appellant’s intention to surrender and abandon the property rights in the land of the plaintiff acquired under the contract to which it succeeded. No mention is made whatever of the right to operate the telegraph or telephone line that had been constructed; no notice that it no longer intended to maintain and utilize the pipe fine and right of way in which it was buried. On the contrary, a distinct notice that it claimed the right to maintain the line under its power of eminent domain, and the further statement' that it would not be bound by the contract referred to in so far as that contract required it to supply gas to the plaintiff at the stipulated price. The effect of this notice would be to leave, as the single subject upon which the defendant’s right of eminent domain- was to operate, that portion of the contract' which the notice declared the company then repudiated. When the company shall have unequivocally indicated its intention to surrender or abandon all of the rights in the property of the plaintiff which it acquired by virtue of the grant so often referred to, it may be in a proper position, to *125condemn a right of way across the plaintiff’s property. Under such circumstances it would not necessarily follow that the present line should be removed before the condemnation proceedings were begun. With the full control of the plaintiff’s property restored to him, but upon a showing that proper proceedings had been begun to condemn a right of way through his property on the same location previously covered by the grant, a court of equity might interfere to prevent useless destruction of property. But in such event there would be no room for contention as to what was the subject upon which the defendant’s right of eminent domain was to operate. This, however, is aliunde the question immediately before us and as to it we need not express any opinion.
It requires but a glance at the cases of Kenny v. Railway Co., 208 Pa. 30, and Dougherty v. Railways Co., 213 Pa. 346, to discover how readily they are distinguishable from Semple v. Railroad Co., 172 Pa. 369, and to conclude they are in no way in conflict with that case. We are of opinion, therefore, that an injunction properly issued to restrain the' defendant from shutting off the plaintiff’s supply of gas to enforce his acceptance of the proposed new conditions. We do not think the record presents a case for a general decree against the defendant for specific performance of the contract made between the plaintiff and the defendant’s predecessor. The defendant is no party to that contract. It has succeeded to the rights conferred by that contract, and it must hold them as it took them cum onere. But it may reheve itself at any time of any obligation to further perform in the manner we have already indicated. The decree must therefore be modified by striking from it the first paragraph relating to specific performance, and as thus modified the decree is affirmed.