N.Y. Criminal Procedure Law § 440.10
1. At any time after the entry of a judgment, the court in which it was entered may, upon motion of the defendant, vacate such judgment upon the ground that:
(i) The judgment is a conviction where the defendant's participation in the offense was a result of having been a victim of sex trafficking under section 230.34 of the penal law, sex trafficking of a child under section 230.34-a of the penal law, labor trafficking under section 135.35 of the penal law, aggravated labor trafficking under section 135.37 of the penal law, compelling prostitution under section 230.33 of the penal law, or trafficking in persons under the Trafficking Victims Protection Act (United States Code, title 22, chapter 78); provided that
2. Notwithstanding the provisions of subdivision one, the court must deny a motion to vacate a judgment when:
3. Notwithstanding the provisions of subdivision one, the court may deny a motion to vacate a judgment when:
5. Upon granting the motion upon the ground, as prescribed in paragraph (g) of subdivision one, that newly discovered evidence creates a probability that had such evidence been received at the trial the verdict would have been more favorable to the defendant in that the conviction would have been for a lesser offense than the one contained in the verdict, the court may either:
9. Upon granting of a motion pursuant to paragraph (j) of subdivision one of this section, the court may either: