People v. AdamsPeople v. Adams
We further conclude, however, that the sentence imposed is illegal and therefore cannot stand, despite defendant‘s failure to raise the issue in the trial court or on appeal (see People v Davis, 37 AD3d 1179, 1180 [2007], lv denied 8 NY3d 983 [2007]; People v Price, 140 AD2d 927 [1988]). First, although the certificate of conviction indicates that defendant was sentenced as a second felony offender, it appears from the sentencing minutes that defendant was in fact sentenced as a first felony offender, and thus the sentence is illegal on that ground. The court was required to sentence defendant as a second felony offender based on the evidence before it that defendant had been convicted of a prior felony within the 10 years preceding his commission of the present felonies (see