Me. Justice Matthews
delivered the opinion of. the cpurt.
After reciting the fadts in the above language, he continued:
The ground on which the court below proceeded' seems to have been that the mortgages given by the co-sureties, each to the other, were in equity securities for the payment of the principal debt, which inured to the benefit of the creditors upon the principle of subrogation.
The application of the principle of subrogation in favor of creditors and of sureties, has undoubtedly been frequent in the courts of equity in England and the United States', and is an ancient and familiar head of their jurisdiction.
It was distinctly stated, as to creditors, in the. early case of Maure v. Harrison, 1 Eq. Ca. Abr. 93, where the whole report is as follows:
"A bond creditor1 shall, in this court, havh the benefit of all counter-bonds or collateral security given by the principal to the surety ; as if A owes B money, and he and C are bound for 'it, A gives C a mortgage or bond to indemnify him, B shall have the benefit of it to recover his debt."
And the converse of the rule was stated by Sir Wm. Grant, in Wright v. Morley, 11 Vesey, 12, where he said:
" I conceive that as the creditor is entitled to the benefit of all the securities the principal debtor has given to his surety, the surety has full as good an equity to the benefit of all the securities the principal gives to the creditor."
And it applies equally between sureties, so that securities placed by the principal in the hands of one, to operate as an indemnity by payment of the debt, shall inure- to the benefit of all.
Many sufficient maxims of the law conspire to justify the rule. To avoid circuity and multiplicity of actions; to prevent the exercise of one's right from interfering with the.rights of others ; to treat that as done which ought to be done; xo require that the burden shall be borne by him for who$e advantage it has been assumed; and to secure equality among those equally obliged and benefited, are perhaps not all , the familiar adages which may legitimately be assigned in support of it. It-is, in fáct, a natural and necessary equity which flows from the relation of the parties, and though not the result of contract, is nevertheless the execution of their intentions. For, when a debtor, who has given personal guaranties for the performance of his obligation, has further secured it by. a pledge in the hands of his creditor, or an indemnity in those of his surety, it is conformable' to the presumed intent of all the parties to the arrangement, that the fund so appropriated shall be administered a's a trust for all the purposes, which a payment of the debt will accomplish; and a court of equity accordingly will give to it this effect. All this, it is to be observed, as the rule verbally requires, presupposes that the fund specifically pledged and sought'to be primarily applied,' is the property of the debtor, primarily liable for the payment of the debt; and it is because it is so, that equity impresses upon it the trust, which requires that it shall be appropriated to the satisfaction of the creditor, the exoneration of the surety, and the discharge of the debtor. The implication is, that a pledge made expressly to one is in trust for another, because the relation between-the parties is such that that construction of the transaction best effectuates the express purpose for which it was made..
It follows that the present case cannot be brought within either the terms or the reason of the rule; for, as the property,. in respect to which the creditors assert a lien, was not the, property of the principal debtor, and has never been expressly pledged to payment of the debt, so no equitable construction can convert it by implication into a security for the creditor.
It is urged that the logic of the rule .would extend it so as to cover the case of' all securities held by sureties for purposes of indemnity of whatsoever character and by whomsoever given. But this suggestion is founded on a misconception of the scope of the rule and the rational grounds on which it is established. Of course, if an express trust is created, no matter by whom, nor of what, for the payment of the debt, equity will enforce it, according to its terms, for the benefit of the creditor, as a cestui que t/cust • but the question concerns the creation of a trust, by operation of law, in favor of a creditor, in a case where there was no duty owing to him, and no intention of bounty. A stranger might well choose to bestow upon a surety a benefit and a preference, from considerations purely personal, in order to make good to him exclusively any loss to which he ¿light be subjected in consequence of his suretyship for another. In such a c^se, neither co-surety nor creditor could, upon any ground of privity in intérest, claim to share in the benefit of such a benevolence.
There may be, indeed,- cases in which it would not be inequitable for the debtor himself to make specific pledges of his own property, limited to the personal indemnity of a single surety, without benefit' of participation or subrogation; as, when the liability of the surety was contingent upon conditions not common to his co-sureties, and which may never become absolute. Hopewell v. Cumberland Bank, 10 Leigh, 206.
We are referred by counsel to the case of Curtis v. Tyler, 9 Paige, 432, as an instance in which the rule has been extended to securities in the hands of a surety not derived from the-principal debtor. But the fact in that case is otherwise. The question was as to the right of an assignee of a .mortgage- to the benefit of the guaranty of one Allen to make good any deficiency in the mortgaged property to pay the mortgage debt. This bond had been given to one Murray, a prior holder of the mortgage, who had assigned it to the complainant. The court say, in the opinion, p. 436:
" In the case under consideration, Murray had assigned the bond and mortgage given to him, and had guaranteed the payment thereof , to the assignee. He, therefore, stood- in the situation of a surety for the mortgagor, when the latter procured the bond of Allen as a collateral security, or as a guaranty of the payment of his original bond and mortgage. The present holders are, therefore, in equity entitled to the benefit of this collateral bond, in the same manner and to the same éxtent as if it had been given to Murray before he assigned his bond and mortgage, and had been expressly assigned by him to Beers, and by Beers to the complainants." ,
It thus distinctly appears that the bond of Allen, which was the collateral security in controversy, was procured by and derived from the original mortgagor, the principal debtor. "We have been referred to no case which forms an exception to the rule as we have stated it.
But the claim of the complainants fails for another reason. The right of subrogation, on which they rest it, is merely a right to be substituted in place of each of the co-sureties in respect to the other, in order to enforce the mortgages given by them respectively according to their terms. But the conditions of those mortgages have not been broken, and the very fact, which is supposed to confer the right upon the creditor to interpose — the insolvency of the sureties — has rendered it impossible for either to fasten upon' the other a breach of the condition of his mortgage. As neither can pay his own proportion of the liability they agreed to divide, neither can claim indemnity against the other for an over-payment! It is entirely clear, therefore, that neither of the sureties could be, under the circumstances as they appear, entitled, as mortgagee, to foreclose the mortgage against the other. The condition of each mortgage was, that the mortgagor would' perform his part of the agreement and indemnify the mortgagee against the consequences of a failure to do so. Unless one of them had been compelled to pay, and had in fact paid, an excess beyond his -agreed share of the debt, there could have been no breach of the conditions of the mortgage, and consequently no right to a foreclosure and sale of the mortgaged premises. And the amount which the mortgagor could be required to pay, as a condition of redeeming the mortgaged premises, in case of foreclosure, would be, not the amount which the mortgagee, as between himself and the common creditor, was bound to pay on account of the debt, but the amount which, as between himself and his co-surety, the mortgagor, he had paid beyond the proportion which, by the terms of the agreement between them, was the limit of his liability. The mortgages were not created for the security of the principal debt, but as security for a debt possibly to arise from one surety to the other. As to which of them has there been as yeti any default ? Plainly none as to either. And yet the complainants assert the right to foreclose them both — a claim that is self-contradictory, for, by the very nature of the arrangement, it is impossible that there should be a default as to both. The fact that one mortgagor had failed to perform his part of the agreement could only be on the supposition that the other had not only fully performed it on his part, but had paid that excess against which his co-surety had agreed to indemnify him. There is, therefore, no right to the subrogation insisted- on, because there is nothing to which it can apply.
It results, therefore, that the complainants were not entitled to participate in the benefit of the mortgages in question, nor' to share in the proceeds of the sale of the mortgaged premises; but that the same should have been applied to the payment of the other judgment and mortgage liens upon the premises, in the order of their priority. The decree of May 29th, 1879, therefore, being the one from which the appeal was taken, is reversed, and the cause remanded with directions to take such further proceedings therein, not inconsistent with this opinion, as justice and equity require.
Decree reversed.