Four companies will pay nearly $78 million to clean up contaminated groundwater at two Los Angeles-area toxic waste sites, authorities announced Tuesday.

Settlements approved by a federal court on Sept. 30 will provide money to clean up two federal Superfund sites in Los Angeles County and resolve lawsuits that have been pending for more than 30 years, a U.S. Department of Justice statement said.

Also Read: California oil spill suspect Beta Operating had dozens of violations: Report

The Montrose Chemical Corp. and Del Amo Superfund sites, located south of downtown Los Angeles near the communities of Torrance and Carson, once produced pesticides and rubber. They are among several former industrial areas in Southern California that are on the national Superfund priority list of sites requiring long-term hazardous waste cleanup.

People living near the sites have been affected by pollution for years, said Meredith Williams, director of the California Department of Toxic Substances Control.

Also Read: Massive oil spill in California’s Orange County causes destruction of marine life

“We stand with the people who live, work and play near this contamination, and we will continue our efforts to make the polluters pay for their actions,” she said in a statement.

The companies involved are Montrose Chemical Corporation of California; Bayer CropScience Inc.; TFCF America Inc., and Stauffer Management Company LLC.

From 1947 to 1982, Montrose operated the country’s largest manufacturing plant for the pesticide DDT at the Montrose site, federal prosecutors said.