SAN FRANCISCO (AP) — Drugmaker Endo Pharmaceuticals has agreed to pay the city of San Francisco $10 million over its role in selling prescription opioids in the city.

City Attorney David Chiu announced the settlement Wednesday, five days before a trial is to begin of the city’s claims against the drug industry over the toll of opioids.

READ MORE: State Drops Transit Mask Requirement After Federal Mandate Struck Down

Chiu said Endo, the maker of the prescription painkiller Percocet, is to pay $5 million this year and another $5 million over the next decade, with the money being used to fight the opioid epidemic.

The Malvern, Pennsylvania-based company has agreed to nearly $300 million worth of settlements of opioid claims with U.S. government entities since 2019, according to an Associated Press tally. One of them, for $25 million, came just this week with Alabama; that was announced along with about $250 million in agreements between the state and other companies.

An Endo spokesperson did not immediately respond to requests for comment from The Associated Press.

READ MORE: Strong Tesla Sales Send 1st Quarter Earnings To 7 Times More Than Year Ago

The San Francisco trial is scheduled to open in U.S. District Court on Monday with claims involving the drugmakers Allergan and Teva, distribution company Anda and pharmacy chain Walgreens.

It’s among the first wave of federal cases chosen for trial.

Opioid trials are currently being held in state courts in Florida and West Virginia. Closing arguments in a Washington state case scheduled for this month were recently moved to July. And parties are awaiting a judge’s ruling in another West Virginia trial held last year.

MORE NEWS: Potent Spring Storm Roaring Toward Bay Area; Avalanche Watch Issued For Tahoe

Overdoses from prescription and illicit opioids have been linked to more than 500,000 deaths in the U.S. in the last two decades.

Source: sanfrancisco.cbslocal.com.