¶1*496The opinion of the court was delivered by
¶2This was an action for the partition of real estate, brought in the district court of Washington county, by Julia A. Chappel against Henry C. Crippen and H. Francis Crippen, partners as Crippen, Lawrence & Co., and others. The petition alleged, among other things, that the plaintiff and the defendants other than Crippen, Lawrence & Co. were joint owners of the property in question, and that Crippen, Lawrence & Co. claimed to have some interest in the premises; and the plaintiff prayed for partition between herself and the defendants other than Crippen, Lawrence & Co., and prayed that the claim of Crippen, Lawrence & Co. be adjudged to be null and void. For answer to this petition, Crippen, Lawrence & Co. set forth, among other things, that the land in question had previously belonged to Philemon Chappel; that on January 11, 1883, he died, leaving as his heirs Julia A. Chappel, his widow, and the co-defendants of Crippen, Lawrence & Co.; that at that time the property in question was incumbered by a mortgage lien to secure the payment of a debt of $500 and interest, due July 1, 1883, to Joseph P. Drewett, for which debt the intestate was personally liable. On March 16, 1883, I. H. Chase was duly appointed administrator of Chappel’s estate, and on July 2, 1883, he obtained an order from the probate court authorizing and directing him as such administrator to re-mortgage the property for the purpose of raising money to pay the aforesaid debt and to discharge the aforesaid mortgage. Pursuant to such order the administrator applied to Crippen, Lawrence & Co. for and obtained from them a loan of $500 for the purpose of paying off and discharging said debt and mortgage to Drewett, and for this loan the administrator gave his note and mortgage on the property in question, both of which were executed by him as administrator. On the faith of this last-mentioned note and mortgage, and of having as security for the said loan a first lien, upon the land in question, Crippen, Lawrence & Co. advanced said sum of $500 by paying the *497same to Drewett in satisfaction of his claim and mortgage lien.. Upon the foregoing facts, the defendants Crippen, Lawrence & Co. prayed that they be adjudged to have a valid lien on the property in question for said sum of $500 and interest, by virtue of the mortgage executed to them by the administrator ; or, if that co.uld not be done, then that they be subrogated to the lien of the Drewett mortgage. To this answer the plaintiff interposed a demurrer, on the ground that the answer did not state facts sufficient to constitute any defense to her petition, which demurrer was sustained by the court. The defendants Crippen, Lawrence & Co. excepted,-and to reverse the ruling of the district court in sustaining such demurrer they bring the case to this, court, making the plaintiff below and all the defendants below aside from themselves defendants in error.
¶3It seems to be admitted that the mortgage executed by the administrator to Crippen, Lawrence & Co. is void, and void, not because of any irregularity in its execution, but void because administrators in this state have no power or authority under the law to execute mortgages; and there is no claim in this case that the deceased had executed any will. giving the administrator any such authority. It would therefore seem to be admitted that the mistake of the administrator and of Crippen, Lawrence & Co. in executing and receiving the aforesaid mortgage was a mistake of law and not one of fact. It also seems to be admitted by the parties that the only question presented to this court for consideration is whether the defendants Crippen, Lawrence & Co. can be subrogated to the rights of Drewett under his mortgage.
¶4*499
¶5*501mortgage; subrogation. *500It is true there was no contract between Crippen, Lawrence & Co., and either the administrator or the holder of the original mortgage that the original mortgage debt should itself be transferred or assigned to Crippen, Lawrence & Co.; but as we have before stated, the doctrine of subrogation or equitable assignment is not founded upon contract alone, but is -founded upon facts and circumstances and upon the principles of natural justice. The mortgage debt in this case is one that could lawfully and properly be assigned, and it would be as much the duty of the administrator to pay the assignee after the assignment as it was to pay the original holder of the debt before the assignment; and in all such cases the debt is the principal thing and the mortgage and mortgage lien are only incidents thereto. When the 'debt is assigned, the mortgage and the mortgage lien are also assigned; and as the administrator was bound in law and in equity to pay the debt, whether it was assigned or not, he had the same right to agree that the same should be assigned, or that some other person by assignment should become the holder of the same as any other debtor has under like circumstances. For instance, he could have properly consented that Crippen, Lawrence & Co. should become the holders of the debt due from -the estate to Drewett; and *501when they became the holders of the debt, they would also become the holders of the mortgage and the mortgage lien, for these things follow the debt as incidents thereto. Therefore, while there was no direct agreement between the administrator and Crippen, Lawrence & Co. that the latter should become the holders of the original mortgage debt, yet we think that under the agreements that were in fact made, and under the other tacts and circumstances ot . . ' . . . the case, the principles ot equity will step m and assign the debt to Crippen, Lawrence & Co.; and with the debt, the mortgage, and the mortgage lien, as incidents thereto will go. If these views are correct, and we think they are, then Crippen, Lawrence & Co. háve a right to recover in this action under the doctrine of subrogation, or what may perhaps moie properly be termed equitable assignment.
¶6The defendants in error cite the following authorities: 4 Wait’s Actions and Defenses, ch. 97, 98; Bishop on Contracts, §155; 2 Pomeroy’s Eq. Jur., §§841, 851; Schouler’s Executors and Administrators, §214; Boone on the Law of Mortgages, §140; Sanford v. McLean, 3 Paige’s Ch. 117; same case, 23 Am. Dec. 773; Clark v. Moore, 76 Va. 262; Shinn v. Budd, 14 N. J. Ch. 234; Coe v. N. J. Midl. Rly. Co., 31 N. J. Eq. 105; Wormer v. Waterloo Agri’l Works, 62 Iowa, 699; Salmond v. Price, 13 Ohio, 400; Watson v. Wilcox, 39 Wis. 643.
¶7Some of the foregoing authorities may announce doctrines at variance with the views which we have expressed, and yet we do not think that any case like the one we have now under consideration has ever been decided differently from the decision which we now make. Besides, this decision does eminent justice in the case, and any other decision would permit parties to perpetrate gross injustice.-
¶8The judgment of the court below will be reversed, and the cause remanded for further proceedings.