The affidavit charging the defendant,, who prosecutes this appeal, with having sold spirituous, vinous, or malt liquors without a license and contrary to law, was issued and filed on the 9th day of July, 1907, and the defendant was tried on August 28, 1911. The state introduced two witnesses on the trial of the case on issue formed by defendant’s, plea of “not guilty,”' who testified to facts showing a purchase by them of' whisky from the defendant. One of the witnesses testified that he bought the whisky from the defendant and paid him $1.25 for it. The other witness testified that *217he furnished the money to buy the whisky, and after-wards received it, and that subsequently the defendant admitted to him his connection with the transaction,which was shown to have taken place on the 26th day of October, 1906, at Falco, in Covington county.
The defendant was charged with violating section 5076 of the Code of 1896, and his testimony tended to show that he had no connection with the transaction that would constitute an offense under section 5076 of the Code of 1896. The court permitted the solicitor, against the objection of the defendant, to ask one of the state’s witnesses the following question: “Did you know of any whisky being carried from Andalusia to Falco prior to the 26th day of October, 1906, in bottles?” It was not- shown that the whisky alleged to have been sold by the defendant was any part of the whisky carried from Andalnsia to Falco, or that defendant had a knowledge of or agency in the carriage of this whisky; nor is it shown that the defendant had any connection whatever with the whisky so carried. The evidence was clearly irrelevant, and we cannot say that its admission was error without injury, as its admission by the court against the defendant’s objection was calculated to prejudice defendant’s case before the jury, by permitting them to weigh a circumstance against him for which he Ayas not shown to be responsible, or have knowledge of, or be connected with.—Wells Amusement Co. v. Means, 2 Ala. App. 574, 56 South. 594, and cases there cited.
There was no error committed in allowing the witness ■G-iA'-ens to testify to the confession. It was based on a proper predicate determined by the court.—McKinney v. State, 134 Ala. 134, 3 2South. 726; Burton v. State, 107 Ala. 108, 18 South. 284; Goodwin v. State, 102 Ala. 87, 15 South. 571.
*218The general charge requested by defendant was properly refused. Under section 5076 of the Code of 1896, if the state shows a sale, this establishes a prima facie case,, and the burden is then cast upon the defendant to show that the transaction was not a violation of the laAV.—Tinker v. State, 96 Ala. 115, 119, 11 South. 383.
It is unnecessary to discuss the other questions, as, for the error pointed out, the judgment of the city court must be reversed, and the cause remanded.
Reversed and remanded.