Heavy flooding in China has led to two separate coal mine accidents, which killed three people and trapped more than 40 on Saturday.

In the first accident, heavy rains caused part of a coal mine in Guangxi Zhuang Autonomous Region to cave in, killing three miners and leaving 19 trapped in an underground shaft.

In another accident, heavy rains trapped 23 miners underground at the Niupeng coal mine in Guizhou Province.

Crew workers operated at least 17 pumps to release water from the flooded Niupeng mine before rescuers could be sent down the pit.

The rescue operations are still going on at both mines to reach the trapped miners, reports Xinhua.