Appeal from a judgment of the County Court of Cortland County (Smith, J.), rendered January 24, 2003, upon a verdict convicting defendant of the crimes of attempted robbery in the first degree and attempted robbery in the second degree.
After a jury trial, defendant was convicted of attempted robbery in the first degree and attempted robbery in the second degree. Through counsel, he then negotiated an agreement two months prior to sentencing whereby he waived his right to appeal in exchange for being sentenced as a predicate felon (see Penal Law § 70.06) rather than as a persistent felon (see Penal Law § 70.10). In accordance with the agreement, defendant was sentenced to concurrent prison terms of 10 years and seven years, respectively, followed by a five-year period of postrelease supervision.
Defendant now appeals, arguing that his waiver of the right to appeal is invalid and should not be enforced. His challenge is unpreserved, however, as he did not move to vacate the judgment of conviction (see People v Kirkland, 2 AD3d 1063, 1063 [2003]; People v Gonzalez,
Cardona, P.J., Mercure, Carpinello and Mugglin, JJ., concur. Ordered that the judgment is affirmed.
