In this article

on Friday said it has agreed to pay to U.S. states, local governments and Native American tribes to settle the majority of that it fueled the through lax oversight of its pill sales.

The settlement would allow for "full resolution" of all claims on behalf of those parties, the company said in a release ahead of its . Kroger is now the latest retail pharmacy chain to announce a nationwide settlement agreement after , and did last fall.

Still, Kroger said the settlement is not an admission of wrongdoing or liability.

"Kroger will continue to vigorously defend against any other claims and lawsuits relating to opioids that the final agreement does not resolve," the company said in the release.

Shares of Kroger were up 4% in early trading Friday.

Kroger will pay $1.2 billion to U.S. states and local governments and $36 million to Native American tribes over 11 years. The company posted a net loss for the second quarter as it took a $1.4 billion charge related to the settlements and associated legal fees.

State and local governments have filed thousands of lawsuits against drug companies and wholesalers accused of contributing to the oversupply of prescription drugs that fueled the , resulting in a plethora of settlement deals.

More than 564,000 people died from overdoses involving any opioid, including prescription and illicit opioids, from 1999 to 2020, according to the from the Centers for Disease Control and Prevention.

Most deaths initially involved prescription drugs. Governments, doctors and companies took steps to make them harder to abuse and obtain, but people with opioid use disorder increasingly switched to heroin, which proved to be more deadly.

Read CNBC's latest health coverage:

Several companies announced nationwide opioid settlements within the last year.

In November, agreed to pay to U.S. states, local governments and tribes to resolve all opioid claims. The company also settled with West Virginia, which had the highest number of opioid-related overdose deaths nationwide, in January for .

Also in November, agreed to pay $5 billion to states, local governments and tribes to resolve all opioid-related lawsuits. The retail pharmacy also settled with West Virginia for last fall.

in December finalized a nationwide settlement agreement with all U.S. states and local governments to resolve all opioid-related lawsuits. Walmart settled with West Virginia for a few months earlier.

has not reached any nationwide opioid settlement, but the company agreed to pay to West Virginia last fall. Rite Aid is reportedly preparing to within a few weeks to help restructure its debt and potentially halt ongoing opioid lawsuits.