Health officials say 27,000 gallons of sewage spilled out of a mainline pipe in Belmont Shore on Friday evening.

The spill happened around 6:30 p.m. near Livingston Drive and Second Street, according to a statement from the city’s Health Department.

“The spill was associated with a force main break, a pressurized pipe to convey wastewater,” according to the statement. There was no word on what caused the break.

Long Beach Utilities stopped the spill by rerouting sewage to bypass the line and is working on emergency repairs, and the city has called in a contractor to clean up what spilled.

Sewage entered the drainage system that ultimately leads to the ocean, forcing Long Beach to close coastal waters throughout the city.

Long Beach is no stranger to beach closures because of sewage spills, but it most commonly happens when sewage flows down the Los Angeles or San Gabriel rivers from upstream cities. Over one recent five-year span, local beaches were closed for 63 days because of upstream spills.

State law requires the closures any time sewage makes its way to the coast until testing shows the water meets quality standards. These rigorous rules don’t hold true for all types of spills.

When runoff from a massive warehouse fire in Boyle Heights sent potentially toxic chemicals flowing toward Long Beach in June, there was little public warning, and beaches remained open.

Jeremiah Dobruck is executive editor of the Long Beach Post where he oversees all day-to-day newsroom operations. In his time working as a journalist in Long Beach, he’s won numerous awards for his investigative reporting and editing. Before coming to the Post in 2018, he wrote for publications including the Press-Telegram, Orange County Register and Los Angeles Times. Reach him at [email protected] or @jeremiahdobruck on Twitter.