A 32-year-old Lompoc man was sentenced to 20 years in prison Friday for aiding and abetting the distribution of fentanyl which led to the death of one inmate and serious bodily injury to another inmate at the Santa Barbara County Northern Branch Jail.

Kaelen Jacobkeali Wendel was found guilty in March after a five day trial. He was sentenced this week by United States District Judge Maame Ewusi-Mensah Frimpong, according to a news release from the Department of Justice.

Wendel reportedly used candy containers to smuggle fentanyl into the North Branch Jail in October 2022.

Wendel gave fentanyl to his co-defendant Michael Villapania, a 36-year-old from Lompoc, thinking he would receive jail commissary goods in exchange, according to authorities.

Villapania then then sold the drug to a victim identified in court documents as “J.V.” who then shared the fentanyl with another victim identified as “E.E.”, according to the Department of Justice.

E.E died as a result of an overdose but J.V. was revived after nurses and deputies performed CPR and administered multiple doses of Narcan to both victims.

Days after the incident, county officials identified the inmate who died as Santa Maria man Edgar Mescua Estrada, 37, also known as Edgar Estrada Amezcua.

Villapania pleaded guilty on Feb. 1 to one count of distribution of fentanyl and was sentenced on June 10 to seven years in federal prison, according to the Justice Department.