
    The People of the State of New York, Respondent, v Dandre R. Martin, Appellant.
    [24 NYS3d 553]
   — Appeal from a judgment of the Erie County Court (Kenneth F. Case, J.), rendered May 29, 2012. The judgment convicted defendant, upon his plea of guilty, of attempted robbery in the second degree (two counts).

It is hereby ordered that the judgment so appealed from is unanimously affirmed.

Memorandum: Defendant appeals from a judgment convicting him upon his guilty plea of two counts of attempted robbery in the second degree (Penal Law §§ 110.00, 160.10 [2] [b]). Contrary to defendant’s contention, he knowingly, voluntarily, and intelligently waived both his right to appeal the conviction, as well as his separate and distinct right to appeal the harshness of the sentence (see People v Rodman, 104 AD3d 1186, 1188 [2013], lv denied 22 NY3d 1202 [2014]; cf. People v Maracle, 19 NY3d 925, 928 [2012]).

Defendant contends that he was denied effective assistance of counsel at sentencing. To the extent that defendant’s contention survives his plea of guilty and valid waiver of the right to appeal (see People v Bonavito, 121 AD3d 1499, 1500 [2014], lv denied 25 NY3d 988 [2015]), we conclude that it is without merit (see generally People v Ford, 86 NY2d 397, 404 [1995]). The record establishes that defendant received “an advantageous plea and nothing in the record casts doubt on the apparent effectiveness of counsel” (Ford, 86 NY2d at 404).

Present— Centra, J.P., Peradotto, Lindley, DeJoseph and Scudder, JJ.  