N.Y. Estates, Powers & Trusts Law § 5-4.6
(a) Within sixty days of the application of an administrator appointed under 5-4.1 or a personal representative to the court in which an action for wrongful act, neglect or default causing the death of a decedent is pending, the court shall, after inquiry into the merits of the action and the amount of damages proposed as a compromise either disapprove the application or approve in writing a compromise for such amount as it shall determine to be adequate including approval of attorneys fees and other payable expenses as set forth below, and shall order the defendant to pay all sums payable under the order of compromise, within the time frames set forth in section five thousand three-a of the civil practice law and rules, to the attorney for the administrator or personal representative for placement in an interest bearing escrow account for the benefit of the distributees. The order shall also provide for the following: