ALBANY, N.Y. (AP) — New York state is suing six companies that made firefighting foam containing chemicals that have contaminated drinking water in two upstate communities and groundwater in a Long Island community.

Gov. Andrew Cuomo and New York Attorney General Barbara Underwood said Wednesday the companies manufactured foam containing PFOS and/or PFOA, which can pose adverse health effects.

The lawsuit contends the companies knew or should've known the chemicals could pose a threat to public health and the environment.

PFOA has contaminated drinking water in Hoosick Falls in Rensselaer County, while PFOS has contaminated drinking water around an Air National Guard base in Newburgh and groundwater near another base in Southampton, Long Island.

More than $38 million in state funds have been spent to investigate and clean up contamination linked to the chemicals.

More From WIBX 950