The appellee is the assignee in insolvency of Melville T. Eoberts, who was a private banker conducting *511business under the name of Thirty-first Street Bank, and the assets of Roberts are being administered under the direction of the County Court. The appellant is what its name imports; Roberts was its secretary and banker, and as a stockholder, held 665 of its shares. As a stockholder he held also a large number of other shares, pledged to the association as security for money loaned by it to Roberts.
The appellee demanded of the association an adjustment of the loan; a payment to him of §771.55, being the surplus of the withdrawal value of the shares pledged, over the loan upon them; and of $10,530.37, being the withdrawal value of the shares not pledged, denying the claim of the appellant to set off against the last mentioned sum the amount (§10,325.90) which the association had on deposit with Roberts as a banker at the time he assigned, and claiming that for that deposit, the association must come in with other creditors for dividends only. Thereupon the association filed the petition for leave to pay the surplus of the withdrawal value of all the shares, pledged and unpledged, over what Roberts owed the association for both the lien and deposit, and an order upon the appellee upon such payment, to surrender all the shares to the appellant. The County Court denied the prayer of the petition, and this appeal is from that order.
The case now presents the singular feature that the appellant doubts, while the appellee affirms, the jurisdiction of the County Court over the subject-matter of the petition. The jurisdiction is clear. The shares were assets to be disposed of by the assignee, under the direction of the County Court. That court might have made the election for the assignee, compulsorily, whether lie should take the withdrawal value of the shares held by Roberts, under section 6 of the Homestead Loan Association Act of 1879, or continue to pay the dues upon them until the maturity of the series to which they belong. We have already decided in a case where this appellee was a party that all the original jurisdiction that belongs in ordinary cases to all courts, belongs to, and may be exercised by, the County Courts, in administering the assets of an insolvent. ” Third S. M. E. Church v. Wetherell, 43 Ill. *512App. 414; and see Doran v. Hodson, 43 Ill. App. 411, and Atlas N. Bank v. Moore, 40 Ill. App. 336.
If, instead of being the assets of an insolvent, administered in the County Court, the assets had been in the hands of a receiver, acting under the orders oí a court of general equity powers, we assume that the power and jurisdiction of such a court to direct what the appellant asked, would be unquestioned, and that the only question would be whether granting what was thus asked would be a rightful exercise of such power and jurisdiction. The assignee had elected to turn the shares into money, and the decree appealed from impliedly ratifies that election. The effect of that election is to entitle the association to take up the shares upon such terms as may be equitable. The interest in the shares adverse to the association is in the assignee, in his character of assignee, and the association comes to the court controlling his action as assignee, to fix the terms of, and direct, the surrender of that interest. The question remains whether that association may deduct the deposit, as well as the loan, or the loan only, from the value of the shares. The statute authorizes such associations to adopt by-laws, and one of the by-laws of this is: “But no share shall be transferred while any debt, penalty or due of any kind against the owner thereof may remain unpaid.” Such a by-law creates a lien upon the shares as against the shareholder for the debt. 2 Morse on Banks, Sec. 698; 1 Morawetz on Corp. Sec. 201. And the assignee stands in his shoes. Ide v. Sayer, 30 Ill. App. 210; 129 Ill. 230. So that any disposition which he could make of the shares, would be subject to the satisfaction of the debt for the deposit. Even without any such by-law, as the County Court administers the assets of insolvents upon principles of equity (Field v. Ridgley, 116 Ill. 424; Third S. M. E. Church v. Wetherell, 43 Ill. App. 414), it might be plausibly argued, that the association would be entitled to set off the deposit against the withdrawal value, because a court of equity would give it that relief. Waterman on Set-off, Sec. 398. We therefore hold that the appellant may pay the excess of the value of the shares oyer the debts of Roberts, *513both on the loan and for the deposit, and upon such payment all interest in the shares must be surrendered to it by the appellee.
The decree of the County Court is reversed and the cause remanded, with directions to the County Court to so order.
Reversed and remanded..