Appeal by the defendant from a judgment of the County Court, Suffolk County (Martin Efman, J.), rendered May 24, 2016, convicting him of burglary in the third degree (two counts), upon his plea of guilty, and imposing sentence.
Ordered that the judgment is affirmed.
Contrary to the People’s contention, the defendant’s waiver of his right to appeal was invalid (see People v Bradshaw, 18 NY3d 257, 265 [2011]; People v Lopez, 6 NY3d 248, 256 [2006]; People v Callahan, 80 NY2d 273, 280 [1992]). However, the sentence imposed was not excessive (see People v Suitte, 90 AD2d 80 [1982]).
Chambers, J.P., Cohen, Barros and Christopher, JJ., concur.