Aрpeal from a judgment of the County Court of Albany County (Herrick, J.), rendered June 26, 2002, convicting defendant upon his plea of guilty of the crime of robbery in the second degree.
Defendant pleaded guilty to robbery in the second degree and waived his right to appeal in sаtisfaction of an indictment also charging him with first degree robbery. Under the terms of the plea agreement, defendant was to be sentenced to a term of imprisonment in the rangе of 11 to 13 years, with up to five years of postrelease supervision. At sentencing, County Cоurt imposed a prison term of 12V2 years to be followed by a five-year period of postrelease supervision. Defendant appeals, and we affirm.
Initially, defendant’s сhallenge to the voluntariness of his plea is unpreserved, as he neither moved to withdraw his plea nor to vacate the judgment of conviction, “a necessary prerequisite to preserving this claim” (People v Hughes,
Further, defendant pleaded guilty after a Huntley hearing but before a decisiоn was rendered on his underlying motion, forfeiting all claims related to that pending motion (see People v Fernandez,
Next, defendant argues that County Court erred in denying his request before the start of the Huntley hеaring to appoint substitute counsel, a request based on the claim that he had nevеr rejected and wanted to accept the lesser, preindictment plea offer and that defense counsel was not adequately representing him. However, having voluntarily pleaded guilty and waived his appeal rights but never moving to withdraw his plea or to vаcate the judgment, defendant’s challenges to the effectiveness of trial counsel or to the denial of substitute counsel are unpreserved for our review and are рrecluded by the appeal waiver, except to the extent that they impaсt upon the voluntariness of his plea (see People v Shaw,
Finally, given defendant’s valid and unqualified appeаl waiver, he is precluded from challenging as harsh and excessive the sentence, whiсh was lawful and within the range negotiated (see People v Hidalgo,
Peters, J.P, Mugglin, Lahtinen and Kane, JJ., concur. Ordered that the judgment is affirmed.
