Plaintiff seeks equitable relief to restrain removal of telephones from its depots at McVille, Pekin, Tolna, and Warwick. From judgment of dismissal plaintiff appeals. Facts are undisputed; issues are of law only.
The telephone company maintains an exchange in each of the four towns, and has been affording telephone service to the depots in the villages of McVille and Pekin since the year 1909, and of Tolna and Warwick since September and October, 1907. The ’phones were installed under written contracts, providing that the consideration for their installation, maintenance, and service by the telephone company should be the permission or license to install for the public convenience and that of the railroad company, granted by that company to the telephone company. The McVille and Pekin contracts stipulate that “this *261agreement shall continue in effect for the term of five years from the date hereof, and thereafter until thirty (30) days’ notice shall be given by either party to the other.” They expire in 1914 if terminated by notice. No right is reserved in either party to earlier cancel them. The contracts as to Tolna and Warwick were altogether different. The consideration moving from the railroad company to the telephone company was the same, being merely the permission to install the ’phones in the depots and incidental benefits accruing to the telephone company and its patrons therefrom. It was terminable by the railroad company at its option on thirty days’ written notice, but with no corresponding right of cancelation reserved to the telephone company. The contracts stipulate against cancelation by the telephone company, and provide that the telephones should remain in the depots, and that service thereon should be given the railroad company, free of any charge whatever for service, maintenance, or telephone connections, “so long as the party of the second part shall maintain a telephone exchange at said town.” In brief, the McVille and Pekin contracts were not subject to cancelation by either party until after five years from date, when either could terminate. Service and ’phone connections were to be furnished free for five years, and had been, under the contract, paid for in advance by the privilege granted of installing the ’phones in the depots. As to Warwick and Tolna the contracts, as to the telephone company, were to be practically perpetual and without charge, and drawn on the theory that the license to install the telephones in said depots paid for services to be rendered by the telephone company without charge for as long a period as that company maintained its exchange in the village.
The telephones had been installed under said agreements, and no charge for telephone service had ever been made against the railroad company until a short time before the commencement of this action, when the railroad company was notified that the ’phones would be removed unless it paid the ’phone rental and charge for services as exacted of all other telephone patrons. This the railroad company refused to pay, whereupon the telephone company disconnected the depot ’phone and admittedly was about to remove its instruments from the depots when enjoined, whereupon the ’phones were again connected and service continued pending the outcome of this action. The present *262conduct of the ’phone company may have been induced by chapter 252 of the Session Laws of 1911, requiring railroad companies, under penalty of a fine of not less than $100, and not more than $200 per day during any period of violation of the act, to “provide, furnish, and maintain in all of their freight and ticket offices in all towns, cities, and villages in this state, where there is a local telephone exchange, and where such service is available, reasonable and adequate telephone connections for the use and benefit of its patrons.” Knowing that the railroad company was thus obliged to maintain these ’phones, the telephone company refused to .longer furnish it free service, even though it had contracted to do so. Appellant contends that as the contracts were voluntarily entered into for a then satisfactory consideration, and partially performed, and the benefits enjoyed by both parties for several years, they are enforceable and the breaching of them should be enjoined. Respondent asserts all of them to be unenforceable for want of mutuality of contract and remedy; that the contracts are so inequitable that they should neither be enforced nor their breach enjoined; that they stipulate for the rendition of personal service, the specific performance of which cannot, under § 6614, Rev. Codes 1905, be enforced; and that plaintiff has no standing in equity, it having full and adequate relief in law by an action for damages for breach of contract.
It is plain that the two contracts are radically different from a legal standpoint. The five-year contracts for McVille and Pekin stations are in all respects mutual and binding according to their terms, unless otherwise so inequitable that equity will not enforce them nor enjoin their breach. They are mutual as given upon a consideration, since substantially performed with the contract terms fixed, with neither party having the right to terminate at its pleasure until after the expiration of the five-year period. As to adequacy of consideration, the term of the contract has an important bearing thereon, and where the contract is mutual equity will not, other than in exceptional cases, relieve from the contract obligations merely because of what may seem to be an inadequate consideration. Franklin Teleg. Co. v. Harrison, 145 U. S. 459, 36 L. ed. 776, 12 Sup. Ct. Rep. 900; Rausch v. Hanson, 26 S. D. 273, 128 N. W. 611.
The Tolna and Warwick contracts present an entirely different aspeet. These are not mutual in obligation, having at all times been *263terminable on thirty days’ notice by the railroad company. But Avant of mutuality alone is regarded differently in equity from actions at law. In equity Avant of mutuality of contract is not all-controlling. Singer Sewing-Mach. Co. v. Union Button-Hole & Embroidery Co. Holmes, 255, Fed Cas. No. 12,904. As declared in Pomeroy’s Equity Jurisprudence, vol. 6, § 769, the rule that a contract to be enforceable must be mutual at the time it Avas entered into, controlling in laAV actions, is in equity “open to so many exceptions that it is of little value as a rule.” In laAV actions mutuality is determined as of the time the contract is entered into. In equity the question is considered as of the time of the filing of the bill for equitable relief, as is illustrated by specific performance of the ordinary option contract, which to be an option must be unilateral, and the filing of the bill to enforce the same being considered its irrevocable acceptance. Pom. Eq. Jur. § 773.
But plaintiff is seeking specific performance indirectly by enjoining a breach of contract. The granting of such relief is Avithin equitable cognizance, to be exercised, however, as a legal, and not arbitrary, discretion. Ullsperger v. Meyer, 217 Ill. 262, 272, 2 L.R.A.(N.S.) 221, 75 N. E. 482, 3 Ann. Cas. 1032; Miller v. Tjexhus, 20 S. D. 12, 104 N. W. 519. And the contract, the violation of Avhieh is to he restrained, must he so far equal and just in its terms and circumstances as to be enforceable in equity and good conscience. Pom. Eq. Jur. § 785. Franklin Teleg. Co. v. Harrison, 145 U. S. 459, 36 L. ed. 776, 12 Sup. Ct. Rep. 900. And it must not operate harshly or be inequitable, or equitable relief be denied. Easton v. Lockhart, 10 N. D. 181, 193, 86 N. W. 697. “Although mere inadequacy of consideration standing alone Avill not prevent a court of equity from enforcing a contract, it is an ingredient Avhieh, associated Avith others, will contribute to prevent the interference of a court of equity. Cathcart v. Pobinson, 5 Pet. 264, 8 L. ed. 120. The court may examine into the consideration of the contract, its fairness and equity and all the circumstances connected Avith it, and if anything inequitable appears it will not be enforced. Rodman v. Zilley, 1 N. J. Eq. 320.” Quoting from the note to Marks v. Gates, 12 Ann. Cas. 120-124. Kaster v. Mason, 13 N. D. 107, 99 N. W. 1083. Marks v. Gates is also in point, and a strong authority for respondent’s contention. The want of mutuality, inadequacy of consideration, and the term of the contract stipulating as it does for gratuitous service for *264perhaps a hundred years to be rendered by defendant to plaintiff for the mere privilege, license, or permission granted to install its instruments, taken as á whole, demand our refusal to assist in enforcing such an agreement. The contract in effect amounts to but an offer to defendant that if it will forever furnish free telephone service to plaintiff, defendant may install and keep in order for all time its telephones in plaintiff’s place of business. A search of the books fails to disclose where equity ever enforced so inequitable a contract. It should not do so indirectly by enjoining its breach. Marks v. Gates, and the note thereto, cites abundant authority for our denial of relief to plaintiff as to the two contracts under which these ’phones were installed in the Tolna and Warwick depots. Morrill v. Everson, 77 Cal. 114, 19 Pac. 190; Newman v. Freitas, 129 Cal. 283, 50 L.R.A. 548, 61 Pac. 907. As to these two stations the telephone company, after notice of cancelation given, is under> no obligation to furnish ’phones and service without the usual compensation therefor being paid.
Our holding that the McVille and Pekin contracts are enforceable and valid necessitates consideration of respondent’s assertion of want of power in a court of equity to afford relief by decreeing specific performance ; and also that the contract calls for the rendition of personal service under § 6614, Rev. Codes 1905; and, further, that even though otherwise cognizable in equity, relief should be denied on grounds that the railroad company may have full and adequate relief in an action at law.
Specific performance is not being decreed, and hence the authorities cited by respondent, illustrated by holdings refusing to compel specific performance of building and similar contracts, are not in point. We may assume that the court is without power to compel respondent to furnish telephone service to this company any longer than it, as a public service corporation in the exercise of its franchise, furnishes telephone service to the general public. The courts of equity enforce the observance of such contracts as this by restraining & breach of contract. This is indirectly compelling specific performance by restraining a defendant from violating negative covenants. < Here the telephone company has agreed to, “at its own cost and expense, install and maintain said telephone instrument in said depot. . . .” And that “it will, without charge therefor, furnish the party of the first part, its agents *265and employees, full telephone service in connection with its exchange at (McVille and Pekin), it being’ the intent hereof that the party of the first part shall be at no expense whatever, either by way of rental or otherwise, on account of the installation and maintenance of said telephone instrument, or the enjoyment of the telephone service in connection therewith.” This portion of the contract defendant threatens to breach. Singer Sewing-Mach. Co. v. Union Button-Hole & E. Co. Holmes, 253, Fed. Cas. No. 12,908, answers respondent’s contention as does the following from Metropolitan Exhibition Co. v. Ewing, from the United States circuit court of the district of New York, 7 L.R.A. 381, 42 Fed. 198: “The doctrine is now generally recognized that while a court of equity will not ordinarily attempt to enforce contracts which cannot be carried out by the machinery of a court, like that involved in the present case [a baseball contract with player reserve clause], it may nevertheless practically accomplish the same end by enjoining the breach of a negative promise, and this_ power will be exercised whenever the contract is one of. which the court would direct specific performance if it could practically compel its observance by the party refusing to perform through a decree for specific performance. It is indispensable, where the contract does not relate to realty, that it be one for the breach of which damages would not afford an adequate compensation to the plaintiff. It must be one in which the plaintiff comes into court with clean hands, and which is not so oppressive as to render it unjust to the defendant to enforce it. It must be one in which there are mutual promises, or which is founded on a sufficient consideration. It must be one the terms of which are certain, and in respect to which the minds of the parties have distinctly met so that there can be no misunderstanding of their rights and obligations.” To the same effect see Cort v. Lassard, 6 L.R.A. 653 and note (18 Or. 221, 17 Am. St. Rep. 726, 22 Pac. 1054); Singer Sewing-Mach. Co. v. Union Button-Hole & E. Co. supra; and Philadelphia Ball Club v. Lajoie, 202 Pa. 210, 58 L.R.A. 227, 90 Am. St. Rep. 627, 51 Atl. 973, where such negative relief is granted in the following summary of the court’s holding: “Substantial justice between the parties requires that the court .should restrain the defendant from playing with any other club during his contract with the plaintiff;” and this even though the court could not, because of the contract being one to render personal service as exempted under our statute, § 6614, *266Rev. Codes 1905, but declaratory of tbe common law, compel specific performance of the particular contract by compelling the player to actually perform the same. The last two cases are similar instances where the court lacked the power to decree specific performance, but-vet possesses the right used to prevent the player from selling his services to others when they belonged under his contract to the complainant. We can then assume that the performance by this telephone company of its part of the agreement will be the rendition of personal service under § 6614, Rev. Codes 1905 (which, however, is contrary to fact, as that section is meant to cover the rendition of personal service instanced by the service rendered by musicians, actors, writers, baseball players, and the like, and having no relation to service afforded the public by public service corporations), yet the statute does not constitute a defense to an action in equity to restrain, breach of negative contract covenants.
Respondent claims relief should be denied, asserting plaintiff to have an adequate remedy at law. In this respondent is in error. It overlooks the duty imposed by law upon it to furnish its services to any of the public demanding and willing to pay for them and within its ability to furnish as public service. It cannot arbitrarily refuse to install a telephone in plaintiff’s place of business so long as no conditions peculiar or different from those generally given are required, and so long as such services are paid for, any more than plaintiff common carrier can discriminate against individuals, and say who it will carry and who it will not carry. A duty rests upon the telephone company analogous to those under which gas and light companies and common carriers deliver and sell their services to the public. It is the deprivation of this right in plaintiff to have and enjoy with the general public the use of a telephone and connections at this exchange that will be violated by a breach of this agreement, and which right is not measured by the mere rental price of the telephone instrument. This right equity will not permit to be arbitrarily denied plaintiff while granted to all others in that vicinity. This illegal deprivation of a right in all respects identical with the denial of a right to gas or light of such similar public service corporations, equity will enjoin, as an action at law can afford the patron no adequate relief. Sickles v. Manhattan Gaslight Co. 64 How. Pr. 33. A dispute as to obligation to pay for service as here present is no ground for arbitrary and unreasonable action by respond*267ent. “When a dispute arises between the company and a consumer, the latter is entitled to have his rights investigated by the courts.” In such a case “an injunction will be granted to prevent the cutting off of the supply of gas until the cause can be tried.” Gallagher v. Equitable Gaslight Co. 141 Cal. 699, 75 Pac. 329, to the same effect, is a case on all fours with the one at bar, the court by injunction “restraining the gas company from discontinuing the furnishing of gas,” and by indirection compelling it to observe the obligation of its contract with the consumer, Mackin v. Portland Gas Co. 38 Or. 120, 49 L.R.A. 596, 61 Pac. 134, 62 Pac. 20; Tacoma Hotel Co. v. Tacoma Light & Water Co. 14 L.R.A. 669, and note (3 Wash. 316, 28 Am. St. Rep. 35, 28 Pac. 516); Xenia Real Estate Co. v. Macy, 147 Ind. 568, 47 N. E. 147; and 22 Cyc. 850, with notes. Injunctional relief went much further than here given in a very similar case of People’s Natural Gas Co. v. American Natural Gas Co. 233 Pa. 569, 82 Atl. 935, where that court says: “It is no longer a debatable question in Pennsylvania that an injunction is the proper remedy to prevent breach of a contract made by a natural gas company with a consumer by enjoining it from shutting off the gas.”
Aside from these considerations the breach of this agreement would involve a multiplicity of suits to recover rental wrongfully extorted, granting that the same could be recovered when once paid. 22 Cyc. 766,
There is yet another reason for granting relief. Assuming chapter 252 of the Session Laws of 1911 to be valid, the company might be subject to criminal prosecution and resulting damages should it permit the ’phones to be removed from its depots, because of the sole reason that it did not care to pay the rental therefor pending determination of its rights under its contract with the defendant.
Our holding summarized is that two of these contracts are invalid, and equity will not interfere with defendant when it refuses to longer perform thereunder; the two contracts of the five-year term are mutual in obligation, and are not so inequitable and inadequate in consideration under the circumstances of this case but that equity will enjoin their violation to the extent herein before set forth; that to do so is not in excess of the equitable powers of the court; that plaintiff has no adequate remedy at law; and that the injunction as prayed for should issue subject to modification should a change in the status of the parties *268in equity require it. As each party equally prevails on this appeal, neither will recover costs of the other in this court or on trial below. The trial court will enter decree accordingly, affirming its judgment of dismissal as to Warwick and Tolna stations, but vacating its dismissal of this suit as to the stations of McVille and Pekin, as to which two stations injunctional relief will be granted restraining removal of telephones or discontinuance of telephone service to the depots until after expiration of the telephone contracts in 1914, during which time no charge therefor shall be recoverable. Plaintiff is liable under its contracts at Tolna and Warwick stations for charge for telephone service from the date of notice of cancelation of such contracts by defendant to date of judgment entered on this order.
Decree will be entered accordingly.