State officials in Washington are investigating after an estimated 3 million gallons of “untreated sewage” were dumped in the Puget Sound in just under 30 minutes Friday morning.

The Department of Ecology confirmed that a combination of “power disruptions” and the failure of the backup pumping systems at the West Point Wastewater Treatment Plant in Seattle led to the spillage of around 3 million gallons of waste into Puget Sound, prompting the closure of several beaches due to bacteria levels in the water.

Officials said in a statement that the waste was “untreated” and the massive flow took place in just 27 minutes.

CHEVRON OIL SPILL DUMPS NEARLY 800,000 GALLONS OF CRUDE, WATER IN CALIFORNIA CANYON

The sewage was diverted to an outfall near North Beach in Discovery Park.

In King County alone, nine beaches were initially shut down and residents were urged to avoid water contact until further notice. An update Friday afternoon revised the list to just two beaches in the county.

Jefferson County issued a warning for Fort Worden State Park “due to high levels of fecal bacteria in the water.”

Three beaches in Kitsap County will also remain closed until Monday because of the sewage spill.

CRUISE PASSENGER CLAIMS CABIN FLOODED WITH SEWAGE-SMELLING ‘WASTE WATER’ DURING ‘NIGHTMARE’ VOYAGE

While it is not clear what caused the backup pump systems to fail, the initial power disruption at the plant was caused by a Seattle City Light power surge and outage, King County officials said. More than 10,000 people were affected by the blackout.

According to Seattle City Light, more than half of the disruptions at the plant over the last 17 years were caused by “malfunctioning electrical facilities.”

Washington’s Department of Ecology is investigating the incident as “unauthorized discharges” that violate the state’s water quality permits.

CLICK HERE TO GET THE FOX NEWS APP

“Ecology anticipates taking necessary enforcement actions after its full investigation.”

A similar power failure occurred Thursday at the Renton Wastewater Treatment Plant in King County for around 50 minutes.