In June 2014, defendant was sentenced to two concurrent terms of five years of probation, resulting from a 2011 conviction for criminal contempt in the first degree and a 2012 conviction for attempted burglary in the third degree, after he failed to successfully complete two one-year terms of interim probation. In November 2014, defendant was charged with violating his probation. While the resolution of this charge was pending, defendant was also charged with four counts of aggravated unlicensed operation of a motor vehicle in the first degree and two counts of driving while intoxicated. Pursuant to a plea agreement, defendant pleaded guilty to one count of unlicensed operation of a motor vehicle in the first degree and one count of driving while intoxicated and admitted to violating the conditions of his probation. He waived the right to appeal and County Court thereafter vacated defendant‘s probation and imposed the agreed-upon aggregate prison sentence of 2 to 6 years. Defendant now appeals.
We affirm. Contrary to defendant‘s contention, his waiver of the right to appeal was valid.* County Court distinguished the right to appeal from the rights automatically forfeited by a guilty plea and defendant affirmed his understanding of the waiver. Although defendant argues that his waiver did not encompass a challenge to the severity of his sentence, the record reflects that he signed a written waiver in open court, after reviewing it with counsel and affirming his understanding thereof, in which he expressly waived the right to argue that the sentence is harsh and excessive. Accordingly, defendant knowingly, intelligently and voluntarily waived the right to appeal his conviction and sentence (seePeople v Sommers, 140 AD3d 1537, 1538 [2016], lv denied28 NY3d 974 [2016]; People v Butler, 134 AD3d 1349, 1349-1350 [2015], lv denied27 NY3d 963 [2016]), and his sole remaining claim, that his sentence is harsh and excessive, is precluded from our review (seePeople v Moulton, 134 AD3d 1251, 1252 [2015]; People v King, 20 AD3d 580, 581 [2005], lv denied5 NY3d 829 [2005]).
McCarthy, J.P., Garry, Lynch, Clark and Mulvey, JJ., concur.