Ordered that the judgment and the amended judgment are affirmed.
We find unpersuasive the defendant's contention that he was denied the effective assistance of counsel at trial. Viewing the record as a whole, trial counsel vigorously pursued various motions, presented a viable defense, and offered a cogent summation. Thus, the trial counsel supplied the defendant with meaningful representation ( see, People v Baldi, 54 NY2d 137, 147; see also, People v Lockhart, 167 AD2d 427).
Since the violation of probation was based, among other things, on the conviction under Indictment No. 89760, his probation was properly revoked.
We have reviewed defendant's remaining contentions and find them to be without merit.