Appellant was charged with selling heroin and with the conviction of a prior narcotics offense; pleaded not guilty to the charge of selling; and denied the prior conviction. His wife, as a codefendant, was charged with another and separate sale of narcotics. Both defendants were found guilty of the offenses charged and the allegations charging defendant with a prior conviction were found to be true. Judgment imposing a prison sentence upon appellant was entered accordingly.
The offense of which appellant was found guilty involved a sale of heroin, on May 14,1965, to an informer in the presence of an undercover agent. Appellant testified at the trial • admitted the sale; but asserted the defense of entrapment.
On July 2, 1963, appellant had pleaded guilty to the offense of possession of heroin. Thereafter, pursuant to the provisions of Penal Code section 6451, which now are in Welfare and Institutions Code section 3051, imposition of sentence was suspended and proceedings instituted under that section culminated in appellant’s commitment for treatment as a narcotics addict. At the time of the subject offenses appellant was on parole under the latter commitment.
The contentions on appeal are: (1) The court erred in failing to instruct the jury that evidence of a subsequent offense of possession of heroin should not be considered on the issue of entrapment; (2) also erred in sustaining objections to testimony by appellant relating the contents of conversations between him and the informer; and (3) instructed the jury erroneously on the prior conviction issue.
Appellant and his wife were arrested at their home, pursuant to a warrant, on July 22, 1965. As an incident to that arrest, the officers searched the premises and found 19 bindles of heroin, and injection paraphernalia, apparently hidden in a trash container in the kitchen. This heroin and
*525
paraphernalia, and testimony respecting its discovery, over objection, were admitted in evidence as a part of the People’s ease in chief. At that time the court instructed the jury this testimony was admitted for a limited purpose, specifying such, and should not be considered for any other purpose. Similar instructions were given at the time the court instructed the jury generally. Appellant contends the court erred in failing to include within these instructions an admonition that the evidence in question, which tended to prove the commission of a separate and subsequent offense, should not be considered on the issue of entrapment. At no time did appellant request such an addition to the instructions given. The evidence in question was offered as a part of the People’s case in chief; tended to prove issues material to that case; and properly was admitted even though it established the commission of a separate and subsequent offense.
(People
v.
Smith,
In the course of appellant’s testimony, on several occasions, he commenced to relate the contents of conversations between the informer and himself, and was interrupted by the district attorney’s objection that such testimony was hearsay, which was sustained. No question was asked appellant soliciting the contents of any conversations between himself and the informer. The rulings sustaining objections were accepted without argument. The court was not advised of the purpose for which such conversations were volunteered, nor was an offer of proof made respecting their contents. On one occasion counsel for appellant, without permitting an objection to be completed, told appellant not to give the contents of the conversation. On appeal appellant contends the conversations between himself and the informer were material to the issue of entrapment. Statements of an informer to a defendant which are part of a transaction resulting in the sale of
*526
narcotics may be material to the issue of intent as an element of the defense of entrapment. The contents of such statements are admissible to prove what was said rather than the truth of what was said and, for this reason, testimony relating such is direct and not hearsay.
(People
v.
Contreras,
Appellant’s contention that instructions on the prior conviction issue were error also is without merit. There was no question of fact on this issue for submission to the jury. The evidence is without dispute, and conforms to appellant’s testimony in the premises, that he pleaded guilty to the offense of possession of heroin in 1963 and, as a result thereof, was committed for treatment as a narcotics addict. The issue on appeal is whether this plea of guilty constituted a conviction within the meaning of Health and Safety Code section 11501, which
*527
imposes a longer term of imprisonment for the offense of selling heroin where the offender “has been previously convicted” of a narcotics offense. “A plea of guilty constitutes a conviction.”
(Stephens
v.
Toomey,
The judgment is affirmed.
Brown, P. J., and Whelan, J., concurred.
A petition for a rehearing was denied August 8, 1966, and appellant’s petition for a hearing by the Supreme Court was denied September 14, 1966.
