OxyContin maker Purdue Pharma has reached a tentative agreement to settle some 2,000 opioid lawsuits filed by local governments, Native American tribes and states set to go to trial next month.

The deal will cost the company and its billionaire owners, the Sackler family, between $10 billion and $12 billion, according to multiple reports. That includes $3 billion from the Sackler family's personal fortune, according to The Washington Post. The company is expected to soon file for bankruptcy.