delivered the opinion of the Court.
It is insisted that the agreement, upon sufficient consideration to give appellant a mortgage, created „in his favor an equitable lien.
It is true that equity regards and treats that as done which in good conscience ought to be done; but a court of equity, in the consideration of what ought to be done, has regarded not merely the rights of the persons between whom it has been agreed that a thing should be done, but also others entitled to be heard, whose interests have been affected by the conduct of the parties to such agreement. Clements v. Moore, 6 Wallace, 299-312; Harvey, assignee, v. Crane, 2 Bissell, 496; National Park Bank v. Whitmore, 40 Hun, 499.
■ In the present case it appears, not that a mortgage was executed, but promised; and that the understanding had with appellant was that the promised mortgage was not to be recorded, unless the mortgagor was about to fail. In other words, the promised lien was to be kept secret.
If, as is contended, appellant had an equitable lien, by his conduct in concealing such lien, a fictitious credit was given to the mortgagor, and appellant is now confronted by the claims of those who have trusted his debtor in ignorance of what he now insists is a security he had long before the failure of the Encampment Company.
Secret liens are never favored.
It is said that under the insolvency statute of this State, an assignee takes only the estate which the assignor had, and that the estate of the assignor was subject to the right of appellant to have a mortgage thereon to an equitable lien.
Whatever may have been the rights of appellant as against the Encampment Company, that company could have sold its property and given a good title thereto, or it could have suffered judgment, and thereby enabled another creditor to obtain a lien having precedence over that of appellant; or it could, as it did, determine upon a general assignment without reference to the rights of appellant: The mortgage being still in the keeping of the mortgagor, appellant had, when such determination was made, no security; he had merely a promise of security. What he is now seeking to enforce is such promise. The promise was to give a chattel mortgage which should not be recorded unless the company was about to fail, of which anticipated failure appellant should have notice. S uch an undertaking is obnoxious to the spirit of our insolvency law, and can not be enforced.
Having been delivered to appellant and by him recorded after the company had determined to make a general assignment, and such delivery having only been made at the insistence of appellant’s agent, who was a director of the company, the mortgage is to be regarded as a part of the assignment and subject to it. Preston et al. v. Spaulding et al., 120 Ill. 208; Hanford Oil Co. et al. v. First Nat’l Bank, 126 Ill. 584.
In the last mentioned case the court said: 66 If instead of executing the power of attorney with the agreement mentioned, the debtor should execute a chattel mortsfag-e to his creditor, with an agreement that it should not be placed of record until financial trouble came, of which notice should be given by the debtor, and the debtor, after determining to assign for the benefit of all his creditors, should give the notice, and the chattel mortgage be filed for record, could it be contended that such mortgage would have a better standing than, or priority over, another mortgage executed and recorded contemporaneously with the first mentioned mortgage ? Obviously not. Yet it will be conceded that the mortgage last mentioned would fall directly within the rule announced by this court in its previous decisions, and would, with the deed of assignment, be considered one transaction, having for its object the disposition of the debtor’s estate for the benefit of his creditors, and the preference thereby attempted to be created be declared void.”
The pertinency of the foregoing citation to the facts of this case is ob vious.
It is also insisted by appellant that the mortgage was delivered May 11th, and became a valid lien prior to the assignment.
As to a delivery at that time, the general finding of the County Court being against appellant, it is to be presumed that its conclusion as to all questions of fact was such as tends to support the judgment rendered. We see no sufficient reason for reversing its conclusion in this regard.
When the company became insolvent its directors became trustees for its creditors, and incapable of acting as agents for any other creditor to enable him to obtain a preference. Atwater v. Am. Ex. Bank, 40 Ill. App. 503; Beach v. Miller, 130 Ill. 170; Commercial Nat. Bank v. Burch, 141 Ill. 519.
That the mortgage passed out of the custody of the mortgagor was owing to the action of a director of the insolvent when the papers for its assignment were, by its direction, in course of preparation.
We see no sufficient reason for interfering with the order of the County Court, and it is affirmed.