WASHINGTON — A decade after the Flint, Michigan, water crisis raised alarms about the continuing dangers of lead in tap water, President Joe Biden is setting a 10-year deadline for cities across the nation to replace their lead pipes, finalizing an aggressive approach aimed at ensuring that drinking water is safe for all Americans.

Biden announced the final Environmental Protection Agency rule Tuesday in the swing state of Wisconsin during the final month of a tight presidential campaign.

The announcement highlights an issue — safe drinking water — that Vice President Kamala Harris has prioritized during her presidential campaign. The new rule supplants a looser standard set by former President Donald Trump’s administration that did not include a universal requirement to replace lead pipes.

“We know that over 9 million legacy lead pipes continue to deliver water to homes across our country,” EPA Administrator Michael Regan told reporters Monday. “But the science has been clear for decades: There is no safe level of lead in our drinking water.”

The rule is the strongest overhaul of lead-in-water standards in roughly three decades.

Lead, a heavy metal used in pipes, paints, ammunition and many other products, is a neurotoxin that can cause a range of disorders from behavioral problems to brain damage. Lead lowers IQ scores in children, stunts their development and increases blood pressure in adults.

The EPA estimates the stricter standard will prevent up to 900,000 infants from having low birth weight and avoid up to 1,500 premature deaths a year from heart disease.

The new regulation is stricter than one proposed last fall and requires water systems to ensure that lead concentrations do not exceed an “action level” of 10 parts per billion, down from 15 parts per billion under the current standard.

To help communities comply, the agency is making available an additional $2.6 billion for drinking water infrastructure through the bipartisan infrastructure law. The agency also is awarding $35 million in competitive grants for programs to reduce lead in drinking water.

The 10-year timeframe won’t start for three years, giving water utilities time to prepare. A limited number of cities with large volumes of lead pipes may be given a longer timeframe to meet the new standard.