¶1This is an appeal by the defendants from a judgment entered in favor of the plaintiffs and from the order denying a new trial. The action was instituted by the plaintiffs to recover the sum of $500 due on a promissory note, executed by the defendants, bearing date of the 13th day of December, 1907. It is provided in the note, amoñg other things, that the “principal and interest are secured by a first mortgage deed which is the first lien on real estate in Knox county, Nebraska.”
¶2
¶3The court’s first conclusion of law is as follows: “That the defendants, nor either of them, have not made any defense to the complaint of the plaintiffs, and are not entitled to any relief in the premises; and the court further finds that the defendants were not entitled to rely upon the written statement of the plaintiff’s agent that he would forward said mortgage to Knox county for record, or entitled to rely upon the statement of the said Pennington County Bank that said mortgage would be sent at once for record.” And thereupon a judgment was entered in favor of the plaintiffs.
¶4It is contended by the appellant that: “The court erred in not holding that the transfer of the land by appellants to Mitchell, who orally assumed the payment of the mortgage, with notice to respondents, created the relation of principal and surety between appellants and respondents, and the failure to record the mortgage after such notice, and consequent loss of the security, worked a release of appellants’ personal liability on the indebtedness.” It is further contended by the appellants that the conveyance of the land by them to Mitchell, who orally assumed the payment of the *506debt as part consideration for the transfer, and the respondents having received notice of such transfer and.oral assumption of the debt by Mitchell, the relation of principal and surety was thereby created between respondents and appellants, and the respondents were bound by all the rules of suretyship, and having in the face of such notice failed and neglected to record the mortgage, with the result that the security became lost and dissipated, the appellants became thereby released from their personal liability on the note in suit, constituting the mortgage indebtedness.
¶5The law applicable to such cases is thus stated in 27 Am. & Eng. Enc. of Law, pp. 516, 517: “One of the most vital applications of equitable principle in the law of discharge is found in the rule which prevents the creditor from increasing the surety’s risk by an improper disposal of securities. It may be stated as follows : If a creditor, without the consent of the surety, parts with or renders unavailable any security or fund which he has a right to apply in satisfaction of the debt, the surety is exonerated or discharged to the extent of the value of such security, or to the extent of the impairment in its value. This principle, is a corrollary from the equitable doctrine underlying the surety’s right of subrogation, and the law of subrogation, therefore, both supplies a means of testing the fact of discharge and defines its extent. The creditor is treated as a trustee of all securities in his possession, for the indemnity of the surety, as well as for his own protection; and he is in equity bound to apply them to the advantage of both. Accordingly, if the creditor who has the means of satisfaction in his own hands chooses not to retain it, and surrenders it to the principal debtor, or allows it to pass out of his own hands, or for a consideration agrees to do so, or negligently impairs its value, or loses control thereof, so that the right of the surety to be subrogated, should he at any time choose to pay off the indebtedness, is lost, the surety is discharged to the extent of his actual damage.”
¶6And the law applicable to this class of cases is stated in 32 Cyc. 152, as follows: “Generally a surety is discharged if the creditor deprives him of any right he would have against the *507principal, even though he be benefited, whether such injury arises from some positive act, or omitting to do something which it was the duty of the creditor to perform.” This view of the law has been followed by this court in the cases of Dillaway v. Peterson, 11 S. D. 210, 76 N. W. 925, and Miller v. Kennedy, 12 S. D. 480, 81 N. W. 906. To the same effect are Calvo v. Davies, 73 N. Y. 211; Machine Works v. Caswell, 48 Kan. 689, 29 Pac. 1072, 16 L. R. A. 85; Bank v. Waterman’s Estate, 134 Ill. 461, 29 N. E. 503; Schroeder v. Kinney, 15 Utah, 462, 49 Pac. 894; King v. Baldwin, 2 Johns. Ch. (N. Y.) 554; Wiltsie, Mortg. Forec. p. 272; Insurance Co. v. Hanford, 143 U. S. 187, 12 Sup. Ct. 437.
¶7This court held in the cases cited that, where a mortgagor conveys the mortgaged property, and the grantee assumes the payment of the mortgage, the grantee becomes the principal debtor, and the mortgagor becomes a surety; and the mortgagee, when advised of the transfer and the assumption of the debt by the grantee, must recognize the relation between the mortgagor and 'his grantee in his dealings with the property. The mortgag’ee, therefore, cannot extend the time of payment of the mortgage by a valid agreement, without the consent of the mortgagor, and to his prejudice, without discharging the mortgagor from his liability. It would seem, therefore, necessarily to follow from these decisions that any act of negligence on the .part of the mortgagee which rendered the security unavailable to the mortgagor, in case he should be required to pay the amount secured by the mortgage, and by which negligent acts the mortgagor loses the benefit of his security, will release the mortgagor from his liability.
¶8Under the facts in the case at bar, the defendants upon the sale of the mortgaged property and the assumption of the payment of the mortgage by their grantee, of course, would be entitled to be subrogated to the rights of the mortgagee to enforce the payment of the debt against their grantee; but, by reason of the negligence of the plaintiffs, their right to thus reimburse themselves as against the mortgaged property is lost to the defendants, and no remedy is left them as against the mortgaged property.
¶9It will be observed that the defendants executed the note and mortgage and delivered the same to the Pennington County Bank, *508the agent of the plaintiffs, who forwarded the same to the agent of the plaintiffs at Muscatine, Iowa, at his request, and upon his agreement to have the mortgage duly recorded; that the plaintiffs neglected and failed to have'the said mortgage recorded, and that by reason thereof the property was transferred to an innocent purchaser without notice of the existence of said mortgage, and the security of said mortgage was lost to the defendants, caused entirely by the negligence and failure of the plaintiffs to have the mortgage recorded; and, it will be noticed, when the defendants discovered that the mortgage had not been recorded, after they had executed their warranty'- deed to Mitchell for the farm, who assumed the payment of the note and mortgage executed by the defendants, as part payment of the purchase money, the appellants again requested the plaintiffs to have the mortgage recorded, so as to protect them against a sale of the property to an innocent third party, without notice, and that the plaintiffs still neglected and failed to have said mortgage recorded, and by reason of such neglect and failure on the part of the plaintiffs the security of the mortgage was entirely lost to the defendants. It would be manifestly inequitable and unjust, therefore, to permit these plaintiffs, after the loss of the security to the defendants by their neglect and failure to record the mortgage, to now recover from the defendants the amount due upon the said note.
¶10
¶11We are of the opinion, therefore, that the appellants are right in. their contention, and that the court erred in its conclusions of law. The judgment of the circuit court and the order denying a new trial are reversed.