SAO PAULO — Heavy rains in the southern Brazilian state of Rio Grande do Sul killed 37 people, with another 74 still missing, the state civil defense agency said Friday, as record-breaking floods devastated cities and forced thousands to leave their homes.

It was the fourth such environmental disaster in a year, following floods in July, September and November 2023 that killed 75 people in total.

The flooding statewide has surpassed that seen during a historic 1941 deluge, according to the Brazilian Geological Service. In some cities, water levels were at their highest since records began nearly 150 years ago, the agency said.

On Thursday, a dam at a hydroelectric plant between the cities of Bento Goncalves and Cotipora partially collapsed and entire cities in the Taquari River valley, like Lajeado and Estrela, were completely overtaken by water. In the town of Feliz, 50 miles (80 kilometers) from the state capital, Porto Alegre, a massively swollen river swept away a bridge that connected it with the neighboring city of Linha Nova.

Operators reported electricity, communications and water cuts across the state. More than 23,000 people had to leave their homes, according to the civil defense agency.

Without internet, telephone service or electricity, residents struggled to provide updates or information to their relatives living in other states. Helicopters flew continually over the cities while stranded families with children awaited rescue on the rooftops.

The downpour started Monday and is expected to last at least through Saturday, Marcelo Seluchi, chief meteorologist at the National Center for Monitoring and Alerts of Natural Disasters, told Brazil's public television network Friday.

On Thursday night, Gov. Eduardo Leite alerted the state's population — known as gauchos — about the persistence of rains and floods. The situation was expected to worsen in Porto Alegre, he said.

''As a human being, I am devastated inside, just like every gaucho is," he said. "But as governor, I am here steadfast and I guarantee that we will not falter. We are doing everything with focus, attention, discipline, and outrage, to ensure that everything within our reach is done.''

Weather across South America is affected by the climate phenomenon El Niño, a periodic, naturally occurring event that warms surface waters in the Equatorial Pacific region. In Brazil, El Niño has historically caused droughts in the north and intense rainfall in the south.

This year, the impacts of El Niño have been particularly dramatic, with a historic drought in the Amazon. Scientists say extreme weather is happening more frequently due to human-caused climate change.