Ordered that the judgment is affirmed.
The defendant's purported waiver of his right to appeal was not valid ( see People v Moyett, 7 NY3d 892, 893; People v Lopez, 6 NY3d 248, 257). However, contrary to the defendant's contention, his plea of guilty was knowingly, voluntarily, and intelligently entered ( see People v Garcia, 92 NY2d 869, 870; People v Fiumefreddo, 82 NY2d 536, 543; People v Grimes, 35 AD3d 882, 883).
The defendant's remaining contention is without merit.