The Environmental Protection Agency director overseeing a region that includes Flint, Michigan, is stepping down after contaminated water in that city exposed residents to lead poisoning.
EPA Region 5 Administrator Susan Hedman offered her resignation effective Feb. 1, and the offer was accepted, the EPA said in a statement Thursday.
SEE ALSO: Rescue teams find body of missing 2-year-old Tenn. boy
The agency said Hedman's resignation was accepted "given Susan's strong interest in ensuring that EPA Region 5's focus remains solely on the restoration of Flint's drinking water," suggesting her position could be a distraction.
Residents in the town of nearly 100,000 have been warned not to drink unfiltered tap water and the National Guard has been distributing bottled water in Flint. Water from the Flint River wasn't properly treated, allowing lead to leach from pipes
See images related to the Flint water crisis:
The EPA on Thursday also announced an emergency order requiring that the state and city "take a series of immediate steps to address the drinking water contamination in Flint."
It said the city and state's response to the crisis has been "inadequate to protect public health."
The EPA's emergency order comes nearly four months after advocacy groups petitioned the agency to step in.
SEE ALSO: Trump: Palin linking son's arrest to Obama is fair
In October, the National Resources Defense Council, the American Civil Liberties Union and local groups petitioned the EPA to use its emergency powers to secure safe water in Flint. In December, EPA responded that it would "defer action" until the city had the corrosiveness of its water under control.
"The failure to act on it was bizarre and unacceptable," said Henry Henderson, director of the NRDC's Midwest program. "This action today reflects different thinking."
As they waited for that response, the same advocacy groups filed notice that they planned to sue city and state officials for ongoing violations of the Safe Drinking Water Act. Henderson said he still believes the courts have a role to play in Flint.
"It's really good that EPA has shifted its position, but is it adequate to protect the public?" said Henderson. "We believe court supervision needs to take place."
More from NBC News:
3 Americans Missing in Baghdad Might Not Be Kidnapped: Iraq PM
Vets: Don't Blame Obama for Track Palin's Behavior
The GOP Establishment's Risky Bet on Trump