Judgment unanimously affirmed. Memorandum: Although we find that defendant validly waived his right to appeal as part of his plea bargain, defendant's right to challenge the legality of his sentence has not been waived (see, People v. Seaberg, 74 N.Y.2d 1, 9; People v. Francabandera, 33 N.Y.2d 429, 434, n 2). We find, nevertheless, that the sentences imposed on these charges were properly made to run consecutively to the unexpired terms on defendant's out-of-State convictions (see, Penal Law § 70.25).