delivered the opinion of the court:
The defendant in error the Calumet and Chicago Canal and Dock Company loaned $50,000 to Allen Conkling, who secured the same by a trust deed executed on January 22, 1909, on blocks "138 and 139 in the dock company’s subdivision in South Chicago, and on June 19, 1911, Conkling executed a second trust deed to secure the same indebtedness on a strip of land between the two blocks which had been a street or avenue and was alleged to have been vacated. The note of Conkling not having been paid and he having been adjudged a bankrupt, the dock company filed its bill in the circuit court of Cook county to foreclose the trust deeds, and made the plaintiff in error, Abel Davis, trustee in bankruptcy, a defendant. The circuit court entered a decree of foreclosure as prayed and the Appellate Court for the First District affirmed the decree. The judgment of the Appellate Court was reviewed by this court on error pursuant to a writ of certiorari, but there had been no supersedeas granted on the removal of the record to the Appellate Court and the circuit court proceeded with the execution of the decree. At the sale by a master in chancery the dock company bought the property for $67,000. The equity of redemption expired and the company sold the property to E. F. Gorton, a stranger to the litigation, for $77,600.17, and the master in chancery executed a deed to Gorton. This court decided that the loan of the money to Conkling was ultra vires except as to $15,000, the purchase price of block 139, and that except as to that amount the trust deed created no lien upon the property. The judgment of the Appellate Court and the decree were reversed and the cause was remanded to the circuit court for further proceedings not inconsistent with the views expressed in the opinion filed. When the cause was re-instated in the circuit court, Davis, as trustee in bankruptcy, filed his petition to recover what he had been wrongfully deprived of by the decree which had been reversed. The dock company received from the master in chancery-$66,585.20, the proceeds of the sale after the payment of costs. The circuit court decided that the dock company should reimburse the trustee the amount so received over and above the amount of its lien held valid by this court, together with interest from the date of the decree. The dock company appealed from the decree for restitution to the Appellate Court for the First District.
After the circuit court had decided the controversy between the dock company and the trustee, and on the day on which the decree was entered, the defendant in error Leverett Thompson asked leave of the court to file a petition for an allowance to him of the amount of a note for $11,000 out of moneys received from the dock company, and leave was. denied. He sued out a writ of error from the Appellate Court, and his writ of error and the appeal of the dock company were consolidated. The Appellate Court decided that the dock company was entitled to be subrogated to the rights and interests of a mortgagee having a prior mortgage on block 138 which Conkling paid, and also had an equitable right to retain the amount so paid by Conkling and $10,800, the alleged value of the strip which had been a street. As to Leverett Thompson, it was held that the circuit court abused judicial discretion in refusing leave to file his petition asking for an allowance of the amount of his $11,000 note. Based on these conclusions the decree of the circuit court was reversed and the cause remanded, with directions to dismiss for want of equity the petition of the trustee for restitution.
The decree of foreclosure was reversed and set aside and the parties became entitled to be restored to their former rights as nearly as possible. The dock company had received the money from the master in chancery representing not only what it was entitled to but an additional sum to which it had no right, and it was the duty of the court to restore the parties to their rights by requiring the dock company to make restitution of the advantage gained by the reversed decree. (MeJilton v. Love,
On the hearing of the petition for restitution the circuit court credited the dock company with the $15,000 held valid and interest thereon to July 3, 1914, the date of the foreclosure, with taxes, insurance, master’s fees and solicitor’s fees, amounting to $29,124.42, and charged it with the balance of $37,875.58, with interest from the date of the foreclosure decree, amounting to $46,397.46, which the dock company was ordered to pay to the trustee. When Conkling applied for the loan of $50,000 from the dock company, block 138 which he owned was subject to an existing' mortgage amounting to $30,215.86, which he paid to relieve the property, from the lien and malee the mortgage of -the dock company good security. It is contended that the circuit court was in error in not allowing this amount, and the first reason offered is that the dock company was entitled to be subrogated to the rights of the mortgagee on account of the paymént by Conkling. Subrogation is a doctrine of equity and is equivalent to an assignment of an incumbrance to the party entitled to be' subrogated so that it may enforce the security. By means of the payment the mortgage is not regarded as satisfied and the lien destroyed, but equity regards the person making the payment as becoming the owner of the mortgage, and it is kept alive and the lien preserved for his security. That is so although there is no actual assignment and the mortgage has been discharged and satisfied of .record. But the right to subrogation is limited to cases where the person making the payment stands in such relation to the premises or parties that his rights can only be fully protected by regarding the transaction as an assignment of the mortgage. Such relations must exist that the payment is to be regarded as by or on behalf of a person who had some interest in the premises or some claim against other parties which he-is entitled in equity to have protected, and a mere stranger who pays off a mortgage can never be an equitable assignee. Subrogation, as a general principle of .equity jurisprudence, is confined to the relation of principal and surety and guarantors, or to cases where a person is compelled to remove a superior title to that held by him in order to protect his own, and in cases of insurers. (Bishop v. O’Conner,
There is a further principle applied in equity which is termed conventional subrogation, which arises from an express agreement, where equity will effectuate the real intention of the parties if no injury is done to an innocent party, as in the case of Home Savings Bank v. Bierstadt, supra. There was an absence of any sort of an agreement that the dock company should have any benefit from the payment of the mortgage on block 138, or was in any way concerned with it except to know that the title was clear so that the trust deed to the dock company would be good security. There was no ground for conventional subrogation.
There is a further proposition of counsel for the dock company that it had an equity in the sum of money that was paid to discharge the prior mortgage and the value of the strip which had been a street and alleged to have been vacated, and the trustee having invoked the aid of a court of equity must do equity by allowing those amounts to the dock company. It is a rule that one who seeks equity must do equity, and the Appellate Court having held that the equities of the dock company exceeded the total amount received by it, the trustee, upon acknowledging those equities, would have been better off if he had never employed counsel to assert an equity, because his equity was inferior and of no value. We do not see how it can be said that the dock company had any equity arising out of disobedience of law and public policy. It is true that in courts of equity, in cases where usury has been contracted for, and in similar cases, if a party asks to be relieved from the illegality he will be required to do what the law would have permitted, and it is also true that there may be relief although a corporation has violated public policy in some other matter, but it cannot be so where the violation is in the identical subject matter of the litigation. Respect for the law and considerations of public policy forbid the application of the doctrine contended for where a corporation, as a creature of the law with limited and delegated powers, seeks to accomplish indirectly what it could not do directly. The dock company, within its delegated powers, had no right to loan the money to Conkling, and to allow to it a credit because Conlcling removed the prior incumbrance would be to subvert the law and disregard both law and public policy, which the court is bound to uphold.
If it should be conceded that the trustee, in asking to be restored to the rights declared by this court, was seeking to establish a mere equity, the dock company had no equity created by the execution of the decree which he was required to acknowledge. But that was not the situation. The question now and here is not whether the dock company has a claim against the' estate of the bankrupt on the ground that it would have a right of action under the common counts,—not because of the unlawful contract but regardless of and independent of it,—under the authority of Brennan v. Gallagher,
The Appellate Court held that the dock company was entitled to retain $10,800 in addition to the $15,000 because of its deed to Conkling of what was alleged' to be a vacated street or highway. It is said by "counsel for the dock company that this strip was thrown in with the rest gratuitously, and the only evidence of value was on the theory that the street had been legally vacated, which does not appear; but at any'rate, that matter was finally and conclusively settled on the former appeal. .The right of foreclosure was there assailed, and if the dock company was entitled to anything under the second trust deed because it had conveyed the strip to Conkling it should have been set up at that time. Whether there is any merit in the present claim or not, it is too late to raise the question now.
The Appellate Court held that the circuit court erred in denying leave to Leverett Thompson to file his petition for an allowance on account of his alleged junior incumbrance, but as the dock company had been allowed more than the total sum in its hands and the cause was remanded with directions to dismiss the petition of the trustee, Thompson would obtain no relief. In that view a consideration of his claim would give him nothing, but he had no claim, either legal or equitable. His counsel insist upon his right, and counsel for the dock company contend that his claim is superior to that of the trustee. He had acquired a junior incumbrance held at the time of the foreclosure by the Central Trust Company, which was a party to the foreclosure suit. In the decree in that case the court fóund that it was a junior incumbrance, and provided that if the property should sell for more than the amount due on the mortgage to the dock company and costs, the master should bring the balance into court for the further order of the court. The property did not sell for any more than the amount found due the dock company, and the Central Trust Company did not redeem and its security was at an end. If the Central Trust Company claimed any other right than that given it by the decrée it should have set it up in the foreclosure suit or appeal from the decree or had it reviewed on error.
The court allowed interest from July 3, 1914, the date of the foreclosure decree. The decree drew interest of which the dock company had the benefit, and a court of equity will allow interest in a proper case although not within the precise terms of the statute providing for interest. It was equitable that the dock company should account for interest.
The judgment of the Appellate Court is reversed and the decree of the circuit court affirmed.
Judgment of Appellate Court reversed.
Decree of circuit court affirmed.
Carter and Duncan, JJ., dissenting.
