Ordered that the judgment is affirmed.
The defendant's waiver of his right to appeal was knowingly, voluntarily, and intelligently made and precludes review of his contention that the sentence was excessive ( see People v. Hidalgo, 91 NY2d 733, 737; People v. Castagna, 18 AD3d 475).