In view of defendant's very extensive history of felony drug convictions and parole violations, and his prison disciplinary record, the court properly exercised its discretion in concluding that substantial justice would dictate the denial of his application for resentencing ( see People v Gonzalez, 29 AD3d 400, lv denied 7 NY3d 867).