Defendant's waiver of his right to appeal encompasses his present constitutional challenge to the procedure under which he was sentenced as a persistent violent felony offender ( People v. Callahan, 80 NY2d 273, 281). Were we to find that this issue was not waived, we would find it to be unpreserved and, in any event, without merit ( see People v. Rosen, 96 NY2d 329, cert denied 534 US 899). Defendant's mandatory sentence as a persistent violent felony offender was triggered solely by his prior convictions ( see Almendarez-Torres v. United States, 523 US 224).