ORDERED that the judgment is affirmed.
The defendant erroneously contends that the People failed to disprove his agency defense beyond a reasonable doubt. Viewing the evidence in the light most favorable to the prosecution (see, People v. Contes, 60 N.Y.2d 620), we find that it was legally sufficient to disprove the defendant's claim that he was merely acting as an agent of the undercover detectives in the narcotics transaction (see, People v. Herring, 83 N.Y.2d 780; People v. Leybovich, 201 A.D.2d 670). Moreover, resolution of issues of credibility, as well as the weight to be accorded to the evidence presented, are primarily questions to be determined by the trier of fact, which saw and heard the witnesses (see, People v. Gaimari, 176 N.Y. 84, 94). Its determination should be accorded great weight on appeal and should not be disturbed unless clearly unsupported by the record (see, People v. Garafolo, 44 A.D.2d 86, 88). Upon the exercise of our factual review power, we are satisfied that the verdict was not against the weight of the evidence (see, CPL 470.15).
SANTUCCI, J.P., McGINITY, LUCIANO and ADAMS, JJ., concur.