Oklahoma Attorney General John O’Connor has settled the state’s opioid lawsuit against three drug distributors for $250 million.

Oklahoma is the latest state to reach an agreement with drug companies over the opioid crisis. The deal comes after the Oklahoma Supreme Court reversed a $465 million judgment the state obtained against manufacturer Johnson & Johnson’s Janssen Pharmaceuticals.