Appeal from a judgment of the County Court of Rensselaer County (McGrath, J.), rendered September 10, 2004, convicting defendant upon his plea of guilty of the crime of criminal sale of a controlled substance in the fifth degree.
In satisfaction of an indictment charging him with criminal sale of a controlled substance in the third degree, defendant agreed to plead guilty to criminal sale of a controlled substance in the fifth degree and to waive his right to appeal. Under the terms of the plea agreement, he was to be sentenced as a second felony offender to 2xh to 5 years in prison. Prior to sentencing, County Court received a statement pursuant to CPL 400.21 indicating that defendant had been previously convicted of a felony on February 20, 1997. Based upon this statement, the court sentenced him as a second felony offender in accordance with the plea agreement. Defendant now appeals.
Defendant argues that he was illegally sentenced as a second
Cardona, PJ., Spain, Mugglin, Rose and Kane, JJ., concur. Ordered that the judgment is affirmed.
