N.Y. Criminal Procedure Law § 470.15
2. Upon such an appeal, the intermediate appellate court must either affirm or reverse or modify the criminal court judgment, sentence or order. The ways in which it may modify a judgment include, but are not limited to, the following:
3. A reversal or a modification of a judgment, sentence or order must be based upon a determination made:
4. The kinds of determinations of reversal or modification deemed to be upon the law include, but are not limited to, the following:
6. The kinds of determinations of reversal or modification deemed to be made as a matter of discretion in the interest of justice include, but are not limited to, the following: