Defendant appeals from a judgment convicting him upon his plea of guilty of criminal possession of a controlled substance in the third degree (Penal Law § 220.16[1] ). Contrary to the contentions of defendant, his waiver of the right to appeal is not against public policy, and the record establishes that his waiver was knowingly, intelligently and voluntarily entered (see People v. Aguayo, 37 A.D.3d 1081, 829 N.Y.S.2d 350, lv. denied 8 N.Y.3d 981, 838 N.Y.S.2d 484, 869 N.E.2d 660). Although the contention of defendant that his plea was not voluntarily entered survives his waiver of the right to appeal, defendant failed to move to withdraw the plea or to vacate the judgment of conviction and thus failed to preserve that contention for our review (see id.; People v. DeJesus, 248 A.D.2d 1023, 670 N.Y.S.2d 140, lv. denied 92 N.Y.2d 878, 678 N.Y.S.2d 26, 700 N.E.2d 564). In any event, that contention is without merit. It is well established that there is no requirement that defendant personally recite the facts underlying the offense, and the record establishes that he confirmed County Court's recitation of those facts (see Aguayo, 37 A.D.3d 1081, 829 N.Y.S.2d 350; see generally People v. Seeber, 4 N.Y.3d 780, 781, 793 N.Y.S.2d 826, 826 N.E.2d 797).

We reject the contention of defendant that the court abused its discretion in failing to adjudicate him a youthful offender (see generally CPL 720.10 [6] ). Defendant was sentenced as a second felony offender and was thus ineligible to be adjudicated as a youthful offender (see 720.10[2] [b] ). We reject defendant's further contention that the court erred in failing to sentence him pursuant to the 2005 Drug Law Reform Act (L. 2005, ch. 643, § 1). The court properly determined that, inasmuch as the offense was committed before the effective date of that act, those sentencing provisions were not applicable (see id.; see generally People v. Utsey, 7 N.Y.3d 398, 404, 822 N.Y.S.2d 475, 855 N.E.2d 791). Finally, the sentence is not unduly harsh or severe.

It is hereby ORDERED that the judgment so appealed from be and the same hereby is unanimously affirmed.