
    The People of the State of New York, Respondent, v Sean D. Provencher, Appellant.
    [897 NYS2d 771]
   Lahtinen, J.

Appeal from a judgment of the County Court of Rensselaer County (McGrath, J.), rendered September 14, 2007, convicting defendant upon his plea of guilty of the crime of attempted grand larceny in the third degree.

In full satisfaction of a two-count indictment, defendant pleaded guilty to the crime of attempted grand larceny in the third degree. Pursuant to the plea agreement, defendant was sentenced to a prison term of IV2 to 3 years, with the sentence to run concurrently with sentences imposed in Albany County and Saratoga County. Defendant now appeals.

We affirm. Defendant’s contention that he was sentenced as a second felony offender without being afforded a hearing pursuant to CPL 400.21 is without merit. The People presented evidence that defendant was convicted of a felony in 2006. Although defendant initially informed County Court at sentencing that he was challenging the constitutionality of the predicate conviction, when the court further inquired as to the nature of his challenge, defendant withdrew it. Inasmuch as defendant was provided an opportunity to challenge his prior conviction and voluntarily waived it, he cannot now argue that he was deprived of his right to a hearing pursuant to CPL 400.21 (see People v West, 181 AD2d 945 [1992]).

Mercure, J.P., Malone Jr., McCarthy and Garry, JJ., concur. Ordered that the judgment is affirmed.  