The government-funding deal struck Sunday by Congress requires the Department of Defense to identify all military bases where a long-used firefighting foam contaminated drinking water wells and to establish uniform clean-up procedures.

Under the resolution, the Pentagon must give Congress a list of affected sites within 120 days, and include its plans for telling communities about the contamination and when it was detected.

The provision amounts to the first federal mandate to the Defense Department to deal with the potentially widespread contamination, and what is likely to be billions of dollars' and years' worth of cleanup. The chemicals, known as PFOS and PFOA, have been linked to health risks, but are not regulated by the EPA.

A review last month by the Inquirer and Daily News found that 395 military bases need to be tested for the chemicals, according to numbers from the Air Force, Army and Navy -- about 90 more than listed by the Defense Department in March 2016.

The Pentagon has been working on creating a comprehensive list for more than a year, but each branch of the military has responded to the contamination separately.

"I am pleased that the spending deal includes the language I secured to require greater transparency from the Department of Defense on the issue of water contamination in Bucks and Montgomery Counties," said Sen. Bob Casey (D., Pa.). "I will continue to work diligently on this issue to ensure Bucks and Montgomery County families can have peace of mind and resolution."

Former bases in Willow Grove and Warminster have long been on the list of contaminated sites.  About 70,000 residents were affected in Bucks and Montgomery Counties, where public water wells are undergoing remediation.

Casey secured the language that will compel the Pentagon to release its list, though Rep. Brian Fitzpatrick (R., Bucks) announced Monday that the requirement was part of the deal. 

“Bob Casey came to me early in the appropriations process to ensure this language was included to prevent what’s happening in Montgomery and Bucks Counties from continuing nationwide — he was dogged every step of the way," said Sen. Dick Durbin (D., Ill.), the minority whip.

The rest of Pennsylvania's congressional delegation has also been pushing for these and other actions.