The opinion of the court was delivered by: Rose, J.
Calendar Date: March 25, 2010
Before: Mercure, J.P., Peters, Rose, Stein and McCarthy, JJ.
Appeal from a judgment of the County Court of Albany County (Herrick, J.), rendered April 23, 2009, convicting defendant upon his plea of guilty of the crime of burglary in the third degree.
In March 2009, defendant pleaded guilty to a superior court information charging him with burglary in the third degree in full satisfaction of a pending indictment, as well as certain uncharged criminal matters in Albany County, waived his right to appeal and thereafter was sentenced as a second felony offender to a prison term of 3 to 6 years. Defendant now appeals, contending that his waiver of the right to appeal was involuntary and that his sentence as a second felony offender was illegal because County Court failed to comply with the requirements of CPL 400.21.
We affirm. Contrary to the People's assertion, defendant's CPL 400.21 claim implicates the legality of his sentence and, therefore, survives even a valid waiver of the right to appeal (see People v Ellis, 53 AD3d 776, 777 ).*fn1 However, defendant's failure to object at sentencing renders this issue unpreserved for our review (see People v Atkinson, 58 AD3d 943, 944 ; People v McDowell, 56 AD3d 955 ). In any event, the sentencing minutes indicate that defendant, who knew that he was being sentenced as a second felony offender, was provided with a copy of the predicate felony statement, afforded an opportunity to review that statement and confer with counsel, admitted that he was the individual previously convicted of the predicate felony and failed to contest the validity of the prior conviction. Under such circumstances, we find that there was substantial compliance with the statutory requirements of CPL 400.21 (see People v Ellis, 53 AD3d at 777) and deem any omissions by County Court to be harmless (see People Atkinson, 58 AD3d at 944; People v Saddlemire, 50 AD3d 1317 ).
Mercure, J.P., Peters, Stein and McCarthy, JJ., concur.
ORDERED that the judgment is ...