Domestic Relations Law § 240. Custody and child support; orders of protection. [Effective until December 23, 2023], NY CLS Dom Rel § 240


(a) In any action or proceeding brought (1) to annul a marriage or to declare the nullity of a void marriage, or (2) for a separation, or (3) for a divorce, or (4) to obtain, by a writ of habeas corpus or by petition and order to show cause, the custody of or right to visitation with any child of a marriage, the court shall require verification of the status of any child of the marriage with respect to such child’s custody and support, including any prior orders, and shall enter orders for custody and support as, in the court’s discretion, justice requires, having regard to the circumstances of the case and of the respective parties and to the best interests of the child and subject to the provisions of subdivision one-c of this section. Where either party to an action concerning custody of or a right to visitation with a child alleges in a sworn petition or complaint or sworn answer, cross-petition, counterclaim or other sworn responsive pleading that the other party has committed an...