PUERTO ESCONDIDO: Hurricane Erick killed at least two people as it swept through southern Mexico causing significant damage to coastal communities before weakening to a low-pressure system Thursday night, authorities said.

A man was electrocuted while helping with debris removal in the southern Oaxaca state, where Erick made landfall, after handling high-voltage cables near a stream, the state government said.

A child died in neighboring Guerrero state after being swept away by a swollen stream as his mother tried to carry him across in the town of San Marcos, civil protection authorities reported.

The US National Hurricane Center’s latest advisory at 0300 GMT said Erick had weakened overnight to a tropical storm located 95 miles (155 kilometers) from Acapulco port, with sustained winds of 30 mph (50 kmh) as it moved across southern Mexico on Thursday.

Coastal communities in Oaxaca including Lagunas de Chacahua, home to around 2,800 people, were directly hit by the storm, which destroyed thatched roofs and flooded streets.