China's safety watchdog says a coal mine in the north of the country has flooded, trapping 12 miners.

The accident happened around 11 p.m. Saturday in Shanxi, a coal-rich province.

The State Administration of Work Safety said in an online statement Sunday that 94 miners were working underground in the locally state-owned mine and the other 82 were rescued.

China's mines had long been the world's deadliest, but safety improvements have reduced deaths in recent years.