According to the facts shown by the record, the bankrupt was the owner of a large diamond, which some time previous to the bankruptcy proceedings had been pawned for a considerable amount. Just prior to the filing of the petition in bankruptcy an assignment for the benefit of creditors, under the state statutes, was made by the bankrupt, and during the time between that assignment and the filing of the petition the assignee redeemed the diamond in question from the pawnbroker, but used his own funds therefor, instead of the moneys of the insolvent estate. The trustee in bankruptcy applied to this court and obtained the diamond in question from the assignee, who still had it in his possession. After appraisal, the diamond was duly .sold as a part of the assets of the bankrupt estate, and the trustee has the proceeds. The assignee now comes forward as an individual and asks that the amount advanced by him to redeem the diamond from the pawnbroker be repaid, inasmuch as whatever rights he had were preserved at the time the diamond was taken from him by the order of this court. The trustee in bankruptcy opposes, on the ground that no statutory lien and no pawnbroker’s lien could be claimed by the assignee, who merely is *314alleged to have made a loan to the bankrupt for the purpose of redeeming the diamond.
It would seem that on this point the trustee is correct. A pledge redeemed from a pawnbroker by a third party is no longer the subject of the pawnbroker’s lien, as the person redeeming is not qualified to act as pawnbroker. Nor do the state laws give a statutory lien to any person who may pay something for the account of another, even if personal property may pass as security for the account. But the doctrine of subrogation is well established, and a court of equity, or even a court of law, would accept the proposition that if'a third party pays a debt, and takes into his own possession personal property which has been held as security, he has a counterclaim which can be used as a set-off, and which is perfectly good in any proceeding or action brought by the debtor to recover the property held as security. That is the exact situation in the present case. The bankrupt estate is entitled to the personal property involved, namely, the diamond, which wás originally held as security for the debt. The individual who redeemed it has a claim against the bankrupt estate for the amount advanced by him, and. under section 57, subds. “a” and “h,” of the1 bankruptcy act (Act July 1, 1898, c. 541, 30 Stat. 560 [U. S. Comp. St. 1901, p. 3443J), the creditor may present a claim for the balance of his debt, if it exceed the amount applicable to its payment; or, if the matter be considered solely from die standpoint of set-off, under section 68, the creditor would have been entitled to deduct the amount of his debt from the fund in his hands (which in this instance is the sum realized from the sale of the diamond) accounting for the balance to the estate.
Under such circumstances, it must be held that, the property having been sold by direction of the court, for the purpose of creating a fund as to which the rights of the parties might be determined, and this fund exceeding the sum advanced to redeem the diamond, the assignee is entitled to be paid by the trustee in bankruptcy the amount advanced by him, namely, $260.