The drug dealer who sold Mac Miller the drugs which reportedly ended his life has been arrested in connection with his death.

The arrest comes almost a year after Miller was found dead from an accidental drug overdose in his California home.

The criminal complaint filed in the Central District of California alleges that Cameron James Pettit, 28, supplied Miller with counterfeit oxycodone pills containing fentanyl, per NBC News.

"We are aggressively targeting drug dealers responsible for trafficking illicit fentanyl, which has become the most deadly facet of the opioid epidemic," said U.S. Attorney Nick Hanna. "We are committed to slowing the number of overdose deaths and prosecuting those responsible for spreading this most dangerous opioid."

"Fentanyl disguised as a genuine pharmaceutical is a killer," said Hanna, "which is being proven every day in America. Drugs laced with cheap and potent fentanyl are increasingly common, and we owe it to the victims and their families to aggressively target the drug dealers that cause these overdose deaths."

Miller's death rocked the entertainment world with many celebs mourning publicly him following the rapper's death.