A settlement valued at $8.34 billion was reached between Purdue Pharmaand the Justice Department, which required the drug company to plead guilty to three felonies related to its marketing and distribution of OxyContin, according to the Wall Street Journal.

OxyContin maker Purdue Pharma LP reached a tentative agreement with some plaintiffs to resolve litigation over the company’s alleged role in fueling the U.S. opioid crisis and plans to tussle with states opposing the settlement offer in bankruptcy proceedings, people familiar with the matter said.