BEIJING, China (CNN) -- An earthquake that struck southwest China has killed at least 32 people and injured more than 500, according to the state-run Xinhua news agency.
The U.S. Geological Survey measured the quake as a 5.6-magnitude.
More than 800,000 people have been affected by the quake in Sichuan and Yunnan province, the Ministry of Civil Affairs said.
More than 152,000 people have been evacuated from the area and more than 258,000 homes have collapsed -- 30 percent of all the houses in the area -- the ministry said.
Thousands more houses are in danger of collapse, the ministry said.
The ministry also said that three bridges in Panzhihua were damaged and three water reservoirs in Liangshan county cracked.
On May 12, a 7.9-magnitude quake in Sichuan and nearby provinces killed nearly 70,000 people and more than 18,000 others are still listed as missing.