—Appeals by the defendant from five judgments of the Supreme Court, Queens County (Orgera, J.), all rendered July 12, 1996, convicting him of (1) robbery in the first degree (two counts) under Indictment No. 5448/95, (2) robbery in the first degree under Indictment No. 5538/95, (3) robbery in the first degree (two counts) under Indictment No. 226/96, (4) robbery in the first degree (three counts) under Indictment No. 255/96, and (5) attempted criminal sale of a controlled substance in the third degree under Indictment No. 11833/95, upon his pleas of guilty, and imposing sentences.
Ordered that the judgments are affirmed.
The defendant’s contentions that his pleas of guilty were not voluntary because of his prior drug use and that the Supreme Court should have sua sponte ordered an examination pursuant to CPL article 730 to determine whether he was competent to enter pleas of guilty are without merit. There is no evidence in the record to suggest that the defendant lacked the capacity to understand the proceedings against him or that he was unable to assist in his defense (see, CPL 730.30 [1]; People v Rowley,
Additionally, the defendant received the meaningful representation of counsel (see, People v Baldi,
Finally, we reject the defendant’s claim that the sentences imposed, which were agreed upon as part of a negotiated plea agreement, were excessive (see, People v Kazepis,
