Heavy storms that swept through several southern Chinese provinces this past week killed 18 people and left four more missing.

The storms have dumped more than 20 centimeters (nearly 8 inches) of rainfall in 48 hours on some towns, toppled thousands of homes, and dislocated tens of thousands of residents, the Ministry of Civil Affairs said Friday.

The deaths were caused by house collapses, landslides, drowning or lightning.

Hubei province, where heaviest rainfalls were recorded, reported the highest death toll of 10. The local civil affairs agency said 664,000 people were affected.

In the neighboring province of Hunan, the storms affected 527,000 people.

Another five people were reported dead in the municipality of Chongqing. Guizhou province reported two deaths, and one person died in Anhui province.

Authorities were also trying to dispose of nearly 17,000 pigs that drowned in heavy rain in the southwestern region of Guangxi.

The official Xinhua News Agency on Saturday said foul smell permeated the air at a hog farm where the animals died nearly a week ago in a rain that dumped 39 centimeters (15 inches) in 20 hours on the village of Liuye.