OPINION
DOUGLAS, Judge.This is an appeal from a conviction foi the sale of a dangerous drug, barbituric *937acid derivative. The jury assessed the punishment at ten years.
The sufficiency of the evidence is not challenged.
Appellant complains of the trial court’s refusal to charge on accomplice testimony and of an unresponsive answer by a witness for the State. The State proved the sale of the dangerous drug as alleged to a narcotics agent for the Texas Department of Public Safety. The court instructed the jury on the law of entrapment and accommodation agency.
Robert J. Harden testified that he was a narcotics agent for the Texas Department of Public Safety and, while he worked as an undercover agent, he met the appellant in Temple. He testified that he and Joe Hicks, also a narcotics agent, at about 3:15 a. m., September 11, 1971, went to the Regal Cafe which was operated by appellant. The appellant asked Harden if he needed any “reds,” which meant seconal, a dangerous drug. Harden asked him the price and the appellant replied that he could let him have fifty for sixty dollars or he could let him have a hundred for one hundred dollars. Harden agreed to take them. The appellant went to the kitchen area, returned and handed Harden 100 red capsules for which Harden paid him $100. The appellant then stated: “Bob, I don’t want you to be dealing these over here in this area.”
Joe Hicks testified that he was at the Regal Cafe with Agent Harden the day in question and the appellant asked Harden if he wanted some “reds.” After the sale was agreed upon, the appellant went to the kitchen area and came back with an envelope which had “80” written on it. The appellant then said that he had originally sacked up 80 but had put 20 more in the envelope. Harden paid him. The envelope was introduced into evidence.
The appellant testified that he operated the Regal Cafe in Temple and that Bob Harden who was a friend and customer of his was always coming in and stating that he needed some “reds.” He also testified that on the day in question Harden asked him to get him some drugs. The appellant replied that he would try to get them for him because Harden said that “he was coming down from heroin and he needed the pills to help him kick it.” He further testified that when he went to the storeroom area, he got the pills from Albert or “Bike” Overton. He also testified that he told Harden that he could get him 50 for $60 or that he could get him 100 for $100 from Overton and that Harden gave him five twenty-dollar bills and that he then went back to the kitchen and got the “reds” from Overton and handed them to Harden; that he only got the pills just to help Harden and that he did not make any profit but gave all the money to Overton.
Harden was recalled and testified that on the 6th of September, 1971, he purchased fifteen capsules of seconal from the appellant for $18 and that he had never seen Overton in the cafe. He also testified that on the 4th of September, 1971, he was with H. Bill Floyd who purchased 50 for $60 and again on the 5th of September saw Floyd purchase 100 red capsules for $100.
The appellant denied selling or delivering seconal to anyone except on two occasions to Harden.
After the court instructed the jury to acquit the appellant if he had been entrapped and also to acquit if he was merely an accommodation agent for Harden, did the court err in refusing to charge that Agent Harden was an accomplice witness? In considering this question, it will be borne in mind that the appellant admitted selling the dangerous drug to Harden. Then appellant’s testimony, if believed, would establish a defense of accommodation agent or entrapment. When a person accused of crime admits in open court under oath all of the acts that would constitute the crime, there is no logical reason for a charge on accomplice testimony.
*938The statute on accomplice testimony, Article 38.14, Vernon’s Ann. C.C.P., provides:
“A conviction cannot be had upon the testimony of an accomplice unless corroborated by other evidence tending to connect the defendant with the offense committed. . . .”
The only thing that the appellant would want the jury to believe was that he was telling the truth when he attempted to prove that the crime originated in the mind of the agent. It would be difficult to imagine how a trial court could charge on accomplice testimony upon this issue. The appellant cites Ivy v. State, 161 Tex.Cr.R. 371, 277 S.W.2d 712, which contains language in an opinion on motion for rehearing that this Court has recognized the doctrine of entrapment proof of which makes an entrapping person an accomplice witness because he has become a party to the crime. In that case, the defendant contended that the agent used an addict to purchase heroin and that the addict was an agent for the State. The court did not require a charge on accomplice testimony but held that the defense of entrapment as a defense to crime was not raised by the evidence.
In Cooper v. State, 162 Tex.Cr.R. 624, 288 S.W.2d 762, 770, on motion for rehearing, the Court wrote: “The invocation of the defense of entrapment necessarily assumes the act charged was committed. To decline to reverse upon the theory that appellant had admitted his guilt in that he called the porter Washington and conveyed to him the officer’s wishes, or to hold that his testimony to that effect furnished the required corroboration of the officer’s testimony, would be to deprive him of any relief upon the ground that he was entrapped. Hamilton v. United States, 5 Cir., 221 F.2d 611.”
That case in effect held that Cooper was entitled to a charge under the facts on entrapment, not that he was entitled to a charge on accomplice testimony.
Owens v. State, Tex.Cr.App., 385 S.W.2d 246, is relied upon by the appellant. Owens was convicted for procuring and officers testified that before he went out there he had made up his mind that he could trick someone into sending the girl to him and that was his one purpose. The Court held that the issue of entrapment of a procurer was raised by the testimony of the officer and that the trial court erred in failing to charge the jury on the law of entrapment and in failing to submit to the jury the question of whether the officer was an accomplice witness whose testimony required corroboration.
In the present case the appellant testified to the commission of the act and there was no necessity for corroborating the officer on the fact that the act was committed. This does not appear to be the fact in the Owens case.
Sutton v. State, 170 Tex.Cr.R. 617, 343 S.W.2d 452, cited by the appellant, was affirmed. There the Court merely held that entrapment or agency was not shown as a matter of law. Gomez v. State, Tex.Cr.App., 461 S.W.2d 422, is also relied upon by the appellant. The Court held that entrapment was not shown as a matter of law and also noted that the trial court charged on the fact issue of whether Mary Hernandez was an accomplice witness. There the Court noted that an undercover agent is not an accomplice witness so long as he does not bring about the crime but merely obtains evidence to be used against those engaged in the traffic. There is no showing that Gomez testified in his case and admitted the crime.
Under the charge as given, if the jury believed that the crime originated in the mind of Officer Harden, they were to acquit. This was more beneficial to the appellant than the usual charge on accomplice testimony which merely requires such testimony to be corroborated. A charge on accomplice testimony in the terms of the statute would vitiate the defense of entrapment.
*939We hold that in the present case, since the appellant admitted the act, a charge on accomplice testimony was not required. If there are any cases where entrapment or accommodation agency is raised as a defense which may be construed to hold that, where an accused takes the stand and admits all the acts which constitute a crime, a charge on accomplice testimony is required, they are overruled. The concurring opinion expresses concern that this is not necessary to the decision of the case, but yet it would hold a charge on accomplice testimony should have been given and then would apply the harmless error rule. This, in my opinion, is sufficient to show that the question should be settled.
This holding is meant to be a clarification of an apparent confusion because of some of the language in the cases heretofore cited. In view of the opinion on motion for rehearing overruling long established rules not necessary to that decision in Olson v. State, Tex.Cr.App., 484 S.W.2d 756, by the writer of the present concurring opinion, it is surprising that such a view is now expressed.
Next, the appellant contends that reversible error was committed when Officer Harden testified that he had dealt in drugs with the appellant before. Assuming that the statement should not have been made before the appellant testified, the issue of entrapment was raised and Harden testified that he had bought seconal from appellant before and the appellant admitted to selling it to him on one prior occasion. The error, if any, was then made harmless.
Where entrapment has been interposed as a defense, the evidence of a prior sale by an accused to the witness, although an extraneous offense, is admissible on the issue of intent. Jones v. State, Tex.Cr.App., 427 S.W.2d 616.1 Sutton v. State, 170 Tex.Cr.R. 617, 343 S.W.2d 452.
No reversible error being shown, the judgment is affirmed.
. In Jones v. State, supra, the issue of failure to charge on accomplice witness was raised but not written on because a proper objection had not been made to the court’s charge nor was a requested charge presented to the court.