The plaintiffs, as trustees for the mortgage bondholders, obtained a judgment for the sale of the mortgaged premises and directing the proceeds of sale to be applied to the costs of the action, and that the' referee retain, subject to the further order of the court, the amount stated to be due upon the mortgage, and that he pay the surplus, if any, to the county treasurer. The judgment further provided that the plaintiffs, the referee, or any interested party, after the confirmation of the sale, may at the foot of the judgment apply for such further order or supplemental judgment as may be proper for the purpose of ascertaining the holders of the various bonds and coupons and the amount due to each thereon, and for such further order as may be necessary and proper. There was allowed to the plaintiffs by the judgment in the action an additional allowance of costs of $750. After the costs were paid, the sale confirmed and the proceeds were in the hands of the referee, the plaintiffs, as trustees for the bondholders, applied upon the foot of the judgment for an order of reference to have it determined who the bondholders were and the amount due to each respectively. A referee was appointed, the hearing had and the amount due the respective bondholders ascertained, and upon the application for distribution of the funds among the bondholders, the plaintiffs asked an allowance of costs for the services performed by their attor*488neys upon such reference. The Special Term denied the application for an allowance upon the ground.that the proceeding was a proceeding in the action and not a special proceeding, and that tho court has no power to grant the same, and awarded to the plaintiffs only motion costs. In the memorandum filed the court placed its decision upon Fowler v. Fowler (147 N. Y. 673). In that case the court held that in an action of partition an application for payment of the shares of one of the tenants in common was not a special proceeding but was a proceeding in the action. . The object of that action was to divide the land or its proceeds among the various owners according to their respective interests. The object of this proceeding is to divide moneys in court among different owners after they are ascertained. The object of the original action was not to divide the mortgage or mortgage moneys among the respective bondholders, but was a proceeding by the trustees of the mortgage to foreclose the mortgage and deprive the mortgagor of any equity of redemption in the mortgaged premises. The real object of the action was accomplished when the premises were sold and the money paid into the hands of the trustees, or into the hands of an officer of the court for the benefit of the parties interested. The distribution of the moneys among persons not parties to the action is qutside of the action and not a part of it. In Velleman v. Rohrig (193 N. Y. 439) it was held that an order for the distribution of surplus moneys in foreclosure is a special proceeding' and not a proceeding in the action,
- We may assume without further consideration that the statement •made by counsel upon both sides on the argument that when the order of confirmation of sale was made and the proceeds of sale received by the referee, and the balance held by him for distribution among the bondholders, the services of the plaintiffs’ attorney in the action had terminated, and that they or the' plaintiffs were not required to do any other act on. account of the costs and allowances which had been made them in the action, or on account of their relations to the action. The various bondholders were not parties to the action, and the proceeding taken to determine who they were and the amount of their respective claims was not a proceeding between'the parties to that action, but was'in fact instituted by the trustees for the purpose of ascertaining to whom the distribu*489tion of the moneys should be made. The proceeds of the mortgaged premises were in court in the hands of an officer of the court, and he was charged with the duty of making proper distribution. The trustees for the bondholders felt, and properly, that it was proper for them to institute an inquiry as to the parties who were entitled to receive the money which they had caused to be brought into court by a foreclosure of the mortgage, and they instituted the inquiry pursuant to the terms of the judgment.
The mortgage foreclosed provided that the proceeds of sale should be applied “To the payment of the costs and expenses of such sale or sales, including a reasonable compensation to such trustees, their agents, attorneys and counsel.” By the judgment of foreclosure, the trustees were allowed $100 for their services, but the allowance to them and to their attorneys in that judgment did not include compensation for services which might be rendered in ascertaining to whom the money in court should be distributed, as it was not known that the application would be.made by the plaintiffs or their attorneys, and the same could be made by any party in interest. If made by the plaintiffs, they were at least entitled to the same treatment as would be accorded to any other person who rendered the service. It is clear, therefore, that the allowance made in the judgment of foreclosure did not cover the services which have since been rendered in distributing the moneys in the hands óf the court. Where moneys are in the hands of the court for distribution among unknown owners, the expenses incurred in ascertaining who the owners are and providing for a proper distribution among them is a proper charge upon such moneys; and the court, when distributing money, may grant proper compensation for services necessarily rendered in such distribution. The denial of the motion upon the ground of the want of power was, therefore, erroneous, and the order should be reversed and the matter remitted to the Special Term for further consideration.
All concurred; Ooóhrane, J., concurring in result in memorandum, in which Chester, J., concurred.