Appeal from a judgment of the County Court of Albany County (Clyne, J.), rendered August 31, 1983, upon a verdict convicting defendant of the crime of criminal sale of marihuana in the third degree.
Defendant was convicted of selling marihuana to an undercover State Police investigator. Prior to trial, defendant on several occasions attempted to plead guilty to the crime for which she was indicted, but County Court refused to permit her to do so; the last occasion occurred just before jury selection commenced. In again declining to accept her guilty plea, the court observed that in its judgment her endeavor to plead on that juncture simply constituted trial strategy on her part. Forced to trial, defendant, contrary to her counsel’s advice, testified in her own behalf; her testimony not only established her guilt, but was a factor taken into consideration by County Court in sentencing defendant to 1 to 4 years in prison, the maximum sentence authorized.
Defendant contends that County Court’s refusal to allow her to plead guilty violated her statutory right to do so and that, because her trial testimony apparently so offended the court that it took it into account in inflicting a harsh sentence, that error was prejudicial and requires a reversal.
Defendant’s other contentions do not merit comment, except to note that defense counsel’s mistrial application based on County Court’s failure to grant a recess was properly denied, as the purpose of the recess was not to enable counsel to discuss whether defendant should testify (cf. People v Spears, 64 NY2d 698), but to record that she was testifying over his objection.
Judgment reversed, on the law, and matter remitted to the County Court of Albany County for further proceedings not inconsistent herewith. Kane, J. P., Main, Weiss, Yesawich, Jr., and Levine, JJ., concur.