A Superior man charged after a raid of his home has pleaded guilty to felony distribution of a controlled substance.

James Daniel Kavanagh, 50, on Tuesday was sentenced to 25 days in jail, two years of probation and 36 hours of community service, according to court records.

In exchange for the guilty plea, prosecutors dropped nine other drug distribution charges and one charge of cultivation of more than 24 marijuana plants.

Police in March 2018 conducted a search of Kavanagh‘s home at 121 Mohawk Circle in Superior following a number of controlled buys made at the home starting in January, according to an arrest affidavit.

The person who executed the controlled buys told police Kavanagh had a briefcase “full of drugs,” and would buy the drugs on the dark web with cryptocurrency.

The search turned up 18 MDMA pills, eight oxycodone pills, two amphetamine pills, one clonazepan pill, 1 ½ Valium pills and a half-pill of Xanax, according to the affidavit. Police also found 16.66 grams of MDMA, 2.33 grams of methcathinone, small amounts of LSD and cocaine, two sugar cubes and seven mints believed to contain LSD, and an unknown yellow powder.

Prepackaged MDMA, a methamphetamine-style pipe, a digital scale and $16,800 in cash also were found, according to the affidavit.

An illegal marijuana grow operation also was discovered and 131 marijuana plants were seized at the property.