Kaiser has agreed to pay more than $49 million for alleged illegal dumping of hazardous and medical waste in unsecure dumpsters outside its hospitals, California Attorney General Rob Bonta announced Friday.

Bonta, in partnership with six district attorneys, announced the settlement, saying the health care provider unlawfully disposed of hazardous waste, medical waste and protected health information at Kaiser facilities statewide.

In addition to the money, Kaiser will be required to take significant steps to prevent future unlawful disposals, Bonta said.