[After stating the facts as above.]—It is urged upon the part of the appellant in this case that the material part of the consideration for the note was performed, and that the balance was insignificant, and was and is within the reach of the defendant, and that no damage resulting from such partial failure having been shown, such partial failure formed no defense.
The consideration for the contract out of which the note in question arose consisted partly in the discontinuance of a suit then pending against the defendant. It is impossible to say that this was an immaterial part of such consideration. The defense of a suit pending for the same cause of action has always been upheld, and it formed no part of the defendant’s case to show that it had sustained any damage by reason of the pendency of the former suit.
In the case at bar, the former suit being in existence, the right to am' defense to that suit depended upon the success of the defendant in being allowed to set up the settlement out of which the note in question originated by a supple*259mental pleading. If the parties desired to recover upon the note, a part of the consideration of which was the discontinuance of that suit and a relieving of the defendant from it, they clearly cannot call upon the defendant to pay such note until they have relieved it of the necessity of making any motion or establishing any defense in the suit already pending. The defendant has a right to claim, before it can be called upon to pay the note in question, that it shall be placed beyond any of the contingencies which so frequently arise by which evidence of a cause of action or of a defense is lost, and the defendant cannot be placed in the position of a moving party for the purpose of compelling the discontinuance of that action. The agreement appears to have been that the plaintiff in that action would cause its discontinuance, not putting the defendant to the trouble of any motion in reference thereto.
Under these circumstances the consideration for the giving of the note in question in a material part has failed, and the plaintiff cannot claim a recovery, such part of the consideration remaining unperformed.
The judgment should be affirmed, with costs.
Vast Hoeseh and Beach, JJ., concurred.
Judgment affirmed, with costs.