A Slidell man who had claimed to be a confidential informant for the federal Drug Enforcement Administration was found guilty by a St. Tammany Parish jury Friday on several drug charges and being a felon in possession of a firearm.

Charles Ray Thompson Jr., 33, was convicted before Judge William J. “Rusty” Knight of two counts of distribution of cocaine, possession with the intent to distribute cocaine and possession of alprazolam, also known as Xanax.

He was billed as a multiple offender and faces 30 years to life in prison.

On two occasions in 2014, Thompson was videotaped selling cocaine to undercover officers from his Slidell home, prosecutors said.

The videos were played in the trial.

When officers executed a search warrant at the trailer home where the purchases had been made, they seized a gun, Xanax pills, a half-ounce of crack cocaine and powder cocaine, as well as a glass mixing bowl, a scale, sandwich bags and other items used to produce and sell the drugs, prosecutors said.

Thompson’s trial, which began Monday, was delayed a day by his attempts to call agents from the DEA to testify on his behalf.

Thompson claimed that he was an informant for the federal agency and had purchased the drugs to provide helpful information about the drug trade.

The agents testified that they had signed Thompson as a confidential informant after he was arrested June 6, 2013, by the Sulphur Police Department for transporting cocaine. But, the agents said, Thompson was deactivated as a confidential source in July 2014, months before he was videotaped selling drugs in this case.

Thompson’s services were discontinued after the St. Tammany Parish Sheriff’s Office arrested him on various property crimes.

Thompson will be sentenced July 2. He has other charges pending against him in two separate cases.