General Electric Co. has agreed to pay $7.95 million to partially settle a federal lawsuit filed by Hudson River communities that had to find alternate water supplies when the company began dredging for PCBs.

The Fairfield, Conn.-based company settled litigation with the towns and villages of Stillwater and Waterford, and with Waterford’s water commissioners, according to The Times-Union of Albany. The newspaper obtained the agreement through a Freedom of Information request.