Ordered that the judgment is affirmed.
As part of the plea agreement, the court promised to postpone sentencing so the defendant could enter a program operated by the Center for Alternative Sentencing and Employment Services. The court also promised the defendant that it would grant him youthful offender status and impose a probationary sentence if he successfully completed the program.
However, the court also expressly warned him that if he failed to successfully complete the program, the court would not grant youthful offender status and would impose a period of incarceration of up to 15 years. Accordingly, the court could properly impose an enhanced sentence when the defendant failed to enter the program without first affording him an opportunity to withdraw his guilty plea (see, People v Avery, 85 N.Y.2d 503).
Moreover, upon review of the record, we are satisfied that the sentence imposed was neither harsh nor excessive (see, People v Suitte, 90 A.D.2d 80). Balletta, J.P., Thompson, Santucci, Altman and Hart, JJ., concur.