A 49-year-old man who suffered a cardiac arrest while sandbagging in Saskatchewan has died, the RCMP said.

It happened Wednesday afternoon near the town of Lampman, which has been struggling in recent days to keep ahead of rising floodwaters.

About two kilometres north of the town, the man was helping to sandbag a local property that was threatened by the flood.

At around 5 p.m. CST he collapsed. Efforts to revive him failed and he was pronounced dead in hospital in Estevan, the RCMP said.

Police haven't released the man's name but said his family has been notified.

Lampman is a town of about 800 people located near Estevan in the southeast part of the province.