The acceptance of the note by Castle, wherein was recited the consideration and expressly reserving his lien as security, did not operate to discharge the lien, and the mere deposit of it without indorsement with the plaintiffs in error as collateral security for his debt to them, did not divest him of his legal ownership in the note, the debt evidenced by it nor the lien securing it. They acquired by the delivery to them of the note, a contingent equitable interest only in the proceeds or avails of it when collected, in case their claim upon Castle was not sooner paid, and had they neglected or refused to perform their duty as holders of a collateral security to collect and account for its proceeds, there can be no question that Castle could have filed his petition to foreclose his lien against the premises, made them parties and had an account taken, and the funds arising from the foreclosure distributed between himself and them according to their respective equities therein. This results from the fact that no severance in the legal ownership of the debt, note or lien had ever taken place, but it was still vested in Castle. He had made no attempt to nor had he legally assigned either to plaintiffs in error, so as to allow them to sue in their own name. As pledgees of the note as collateral security they assumed the position of a trustee for the pledgor to return it to him if redeemed, and if not redeemed to collect it when it became due, apply a sufficient amount of the proceeds to the satisfaction of their claim for which it was pledged, and pay the surplus to the pledgor. Union Trust Co. v. Rigdon, 93 Ill. 458; Zimpleman *624v. Veeder, 98 Ill. 613. They could not use it to his detriment, sell it, nor except under special circumstances, compromise with the maker for a less sum than was due upon it without making themselves liable to their debtor for its face value, as here no special authority was conferred upon them for any such disposition of the collateral. Ibid.; Gartuch v. James, 12 Johns. 145.
The law cast upon them the duty of using ordinary diligence to preserve and collect the collateral, and they ought to find in the same law an ample remedy to enable them to perform that duty; as we have seen, Castle has never parted with his general ownership in the debt or the note evidencing it, and when he delivered the note to them it passed to them the equitable right to receive the money when it became due (Dixon v. Buell, 21 Ill. 204), and he conferred upon them authority to use his name in any legal proceeding that might become necessary to give full effect to such equitable assignment (Eastman v. Wright, 6 Pick. 316), and to enable them to fulfill their duty as holders of the security.
Major v. Collins, 11 Bradwell. 658, was a case where the contractor filed his petition to foreclose a mechanic’s lien, and the equitable assignee of the avails of the lien came in and filed a cross-petition, to have the same paid to him when collected, whereupon the contractor filed a written stipulation dismissing his original petition, which the court refused to permit him to do, and this action of the court was held proper, as he was but a nominal party, and the equitable assignee had the right to prosecute the petition for his benefit. This case seems to be decided upon sound equitable principles, and we think, has a direct bearing upon the case at bar. The plaintiffs in error should be allowed to maintain the petition in the name of Castle, and have an account taken of the amount due them from Castle after the premises have been sold, in order that the funds may be equitably distributed. The most that Castle can require of them, is that they shall indemnify him against costs, as in cases at law, where a party brings a suit in the name of another for his use. For the reason stated, the decree will be reversed, and the cause remanded for further proceedings.
Reversed and remanded.