Tens of thousands of people were evacuated from high-risk areas of Beijing and another northern city as much of China was lashed by torrential rain on Sunday.
Deadly storm Doksuri has been sweeping northwards over China since Friday, when it careened into southern Fujian province after battering the Philippines as a typhoon.
The Chinese capital and surrounding region were drenched over the weekend, with officials warning of potentially hazardous conditions including floods, swelling rivers, mudslides and landslides.
More than 27,000 people in high-risk areas of Beijing have been evacuated, and another 20,000 were relocated from parts of neighbouring province Hebei's capital Shijiazhuang, state media said.
Hundreds of millions of people in northern China, including in Beijing, remain under a red alert -- the highest level -- for heavy rain through at least Monday afternoon.
The alert covers Beijing's 22 million people and Tianjin's 14 million, as well as parts of Hebei, Shanxi, Shandong and Henan provinces.
It is the first time since 2011 that such a heavy rainfall warning has been issued, according to local media.