CVS subsidiary Omnicare Inc. has agreed to pay $15.3 million to settle claims brought by the U.S. Drug Enforcement Administration and federal prosecutors that it illegally dispensed opiate pharmaceuticals to long-term care facilities, such as assisted living and skilled nursing sites.

The settlement is among the most significant to involve a federal investigation into opioid distribution by a pharmacy, although the Department of Justice has charged individual pharmacies across the country.