The PEOPLE of the State of New York, Respondent, v. Dustin R. HUMMEL, Appellant.
Appeal from a judgment of the County Court of Otsego County (Burns, J.), rendered June 14, 2013, convicting defendant upon his plea of guilty of the crime of criminal sale of a controlled substance in the third degree.
In satisfaction of a two-count indictment, defendant pleaded guilty to criminal sale of a controlled substance in the third degree and purportedly waived his right to appeal. The plea agreement contemplated that defendant would be sentenced, as a second felony offender, to 41/212 years in prison to be followed by two years of postrelease supervision. County Court imposed that sentence, and defendant now appeals.
We affirm. Defendant's contention that the motion practice and discovery efforts of defense counsel amounted to ineffective assistance was “forfeited by his guilty plea, as a defendant who enters a plea and admits guilt ‘may not later seek review of claims relating to the deprivation of rights that took place before the plea was entered’ “ (People v. Trombley, 91 AD3d 1197, 1201 , lv denied 21 NY3d 914 , quoting People v. Hansen, 95 N.Y.2d 227, 230  ). Defendant further asserts that he was improperly sentenced as a second felony offender, inasmuch as he was deprived of the opportunity to contest the allegations contained in the prior felony information as required by CPL 400.21(3). This claim is unpreserved for our review given defendant's failure to object at sentencing (see People v. House, 119 AD3d 1289, 1290 ; People v. Morse, 111 AD3d 1161, 1161 , lv denied 23 NY3d 1040  ). In any event, because a second felony offender statement was filed by the People and defendant was well aware that he would be sentenced as a second felony offender when he entered his guilty plea, we find that there was substantial compliance with CPL 400.21 (see People v. Bouyea, 64 N.Y.2d 1140, 1142 ; People v. Chrysler, 260 A.D.2d 945, 945–946 ; People v. Mann, 258 A.D.2d 738, 739 , lv denied 93 N.Y.2d 900  ).
ORDERED that the judgment is affirmed.
GARRY, J.P., EGAN JR. and LYNCH, JJ., concur.