Appeal from a judgment of the Erie County Court (Michael F. Pietruszka, J.), rendered June 20, 2013. The judgment convicted defendant, upon his plea of guilty, of driving while intoxicated, a class D felony, and aggravated unlicensed operation of a motor vehicle in the first degree.
It is hereby ordered that the judgment so appealed from is unanimously affirmed.
Memorandum: Defendant appeals from a judgment convicting him upon his plea of guilty of driving while intoxicated (DWI) as a class D felony (Vehicle and Traffic Law §§ 1192 [3]; 1193 [1] [c] [ii]) and aggravated unlicensed operation of a motor vehicle in the first degree, a class E felony (§ 511 [3] [a] [i]; [b]). We agree with defendant that his waiver of the right to appeal was invalid inasmuch as he pleaded guilty to both charges in the superior court information without a sentencing commitment (see People v Meiner, 20 AD3d 778, 778 n [2005]; People v Coles, 13 AD3d 665, 666 [2004]), but we nevertheless reject his challenge to the severity of the sentence, particularly in view of defendant’s numerous driving and alcohol-related offenses.
Although defendant’s contention that he received ineffective
We reject defendant’s contention that defense counsel’s comments at the sentencing hearing rendered him ineffective. “Even assuming, arguendo, that the attorney took a position adverse to defendant, we conclude that reversal is not warranted because the statements did not ‘contribute to any rulings against defendant’ ” (People v Winters, 82 AD3d 1691, 1692 [2011], lv denied 17 NY3d 810 [2011]).
Defendant’s contention that defense counsel was ineffective because defendant was misled into believing that he would benefit from the plea cannot be reviewed on direct appeal inasmuch as it is based on matters outside the record (see People v Davis, 119 AD3d 1383, 1384 [2014], lv denied 24 NY3d 960 [2014]).