The petition, to which a general demurrer was sustained below, alleged that Croft held the naked legal title to a tract of land, and at the request of Peck, the equitable owner, sold the same, and paid over to the use and benefit of the latter the proceeds of the sale. That Croft having warranted the title, Peck, the beneficiary of the sale, executed to him a bond, in which he agreed that, in case any judgment should be rendered against Croft upon the warranty, he would pay Croft the full amount of such judgment within three months after its date, together with all costs of suit and expenses incurred therein.
It was further alleged that suit was commenced and a recovery had against the vendees of Croft for a large portion of the land conveyed by his warranty deed; that the title conveyed and warranted by Croft had failed to that portion, and he was liable to pay to said vendees the amount of the purchase money paid for it, together with interest, in all about $2,500.
That said vendees were threatening suit for this amount; that they could have prosecuted it successfully, and that Peck would, in. case of such suit, have been compelled to pay the amount above stated.
That, in order to save himself and Peck the payment of such a large sum, which would have been the actual measure of damages in case of suit, besides the expenses of litigation, Croft paid to his vendees the sum of $1,200, and secured a release from all further liability on the warranty, and thereby saved to himself and Peck more than $1,300. That Croft notified Peck of this settlement, and *630demanded of him payment of the $1,200, according to the terms of the bond, which having been refused, this suit was commenced for the recovery of that amount.
It appears from the brief of appellee’s counsel that the general demurrer was sustained to the petition because it showed that the defendant below was liable for the amount sued for only in the event that a judgment for that amount should be rendered against Croft upon his broken warranty.
In a suit at common law, where the distinction between law and equity is maintained and observed, this rule would doubtless be correct; but in our state, where no such distinction is allowed, a plaintiff may recover when he shows himself entitled to relief, either at law or in equity. Neil v. Keese, 5 Tex., 23; Wright v. Thompson, 14 Tex., 561; Scarborough v. Arrant, 25 Tex., 129.
If, therefore, the plaintiff below made out in his petition a state of case which would have entitled him to a decree in his favor, according to the principles of equity, the demurrer was improperly sustained.
He alleged the existence of a contract between himself and the defendant, in which the latter, in consideration that he had received the benefit of the purchase money of a tract of land sold by the plaintiff, agreed to hold the plaintiff harmless against any loss he might incur by reason of a failure in the title to the land which he had conveyed with covenants of warranty; the indemnity to be furnished within a specified period of time.
This was the substance of the contract. The balance referred only to the means by which the amount of the plaintiff’s loss was to be ascertained and established.
Whilst the common law would exacta compliance with the formal provisions of the instrument, equity looks only to the substance of the contract, and grants relief accordingly as this has been complied with by the parties.
A court of chancery “will extend relief to the party who seeks it, even if there has not been a strict legal compliance with the terms of the contract, when such non-compliance does not affect the essence of the agreement, and does no violence to the manifest intention of the parties, nor show gross negligence in the complainant.” Shaw v. Livermore, 2 Greene (Ia.), 338; 2 Story’s Eq. Jur.; § 771.
It will grant relief where the plaintiff, by reason of some extrinsic circumstance, or even by his own default, has not performed, and cannot perform, all the conditions necessary to be performed by him in order that an action at law might be maintained; provided *631these conditions are not of the essence of the contract. 3 Pom. Eq., § 1297; McCorkle v. Brown, 9 S. & M., 167; Scarborough v. Arrant, 25 Tex., 129.
In this case the only condition stated in the bond as precedent to Croft’s right to recover, and which had not been fulfilled, was the entry of a judgment against him for the sum for which he was liable by reason of the failure of his title to the land. Had that been done, the plaintiff’s right to a recovery would have been complete. The performance of this condition had been prevented by an. act of Croft which resulted in saving Peck a large amount of money which he would have been compelled to pay had judgment been entered against Croft as stipulated in the agreement. The land had been recovered from his vendees in a regular action at law. The title conveyed by him had failed, and he was liable to a judgment for the value of the land and interest in a suit by his vendees. The payment of the money for which he obtained a release and satisfaction of the warranty for himself and Peck was something which he could have been forced to do, had he abided the event of a suit upon the warranty. Not only so, but he would have been forced to pay more than double that amount, and could have recovered from Peck more than twice as much as is claimed in this suit. All the important stipulations of the bond which could be complied with on the part of Croft had been performed. All the objects of the contract beneficial to Peck had been attained. He had received the purchase money of the land, which was the consideration moving him to enter into the agreement. He had been removed from all danger of any suit upon the warranty, and this upon more favorable terms than the requirements of the bond would have brought about. After all these essentials of the contract had been fully performed by the plaintiff, to say that he shall not enforce it against the defendant, because some minor requirement as to the manner in which they should be performed has not been literally carried out, although a result more favorable to the defendant than if the requirement had been fulfilled has been attained, is to disregard the well established principles of equity to which we have alluded, and do an injustice, which it is the end and aim of those principles to avert and avoid. We think the court erred in sustaining the demurrer, and for this error the judgment will be reversed and the cause remanded.
Reversed and remanded.
[Opinion delivered November 20, 1885.]