Johnson & Johnson and two Ohio counties have reached a $20.4 million settlement that removes the corporation from the first federal lawsuit against opioid manufacturers, scheduled to begin later this month.

In a statement released Tuesday, the healthcare giant said the agreement with Cleveland's Cuyahoga and Akron's Summit counties allows it "to avoid the resource demands and uncertainty of a trial." However, the terms stipulate that Johnson & Johnson makes "no admission of liability."

"[The] Company is open to identifying an appropriate, comprehensive resolution of the overall opioid litigation. At the same time, the Company remains prepared to defend its actions," the statement said.

Johnson & Johnson agreed to pay the counties a total of $10 million and to reimburse them for $5 million in legal fees. An additional $5.4 million would go toward programs to fight opioid addiction in the two counties.

In 2017, Ohio had the nation's second highest per capita rate of fatal opioid overdoses, with 46.3 deaths per 100,000 people, according to the Centers for Disease Control and Prevention. West Virginia had the highest rate at 57.8 per 100,000, the CDC said.

Janssen Pharmaceuticals, a subsidiary of Johnson & Johnson, made two opioids that were distributed in Cuyahoga and Summit counties. Johnson & Johnson says the drugs were "responsibly marketed" and "accounted for less than one percent of the total opioid prescriptions in the United States."

In August, the drug maker was ordered to pay $572 million in a case in Oklahoma, which blamed Johnson & Johnson for helping fuel the opioid crisis in the state.

Judge Thad Balkman, who presided over the Oklahoma case, said the pharmaceutical giant "caused an opioid crisis that is evidenced by increased rates of addiction, overdose deaths and neonatal abstinence syndrome" in the state.

The case involving the Ohio counties is the first federal case to be brought against pharmaceutical companies and is therefore seen as potentially setting precedent for how similar suits will be handled.

Four other drug makers have already settled ahead of the Oct. 21 trial, but McKesson Corp., AmerisourceBergen, Cardinal Health, Teva Pharmaceutical Industries Ltd., Walgreens Boots Alliance Inc. and Henry Schein Inc. are still listed as defendants, according to Reuters.

The maker of OxyContin, Purdue Pharma, which filed for Chapter 11 bankruptcy last month, has reached a tentative settlement in the Ohio suit worth some $12 billion.

Johnson & Johnson, like the other drug makers, still faces some 2,000 other suits in various states related to the opioid epidemic.

Early next year, a similar case brought by West Virginia's Cabell County and the city of Huntington — which have the highest opioid overdose rates in the country — is set to be taken up.

Copyright 2019 NPR. To see more, visit https://www.npr.org.