Updated

A heavy storm ravaged parts of western Poland overnight, killing two people and raising the death toll in the region to nine.

High winds also killed seven people in neighboring Germany late Thursday.

Pawel Fratczak, a spokesman for firefighters, said Friday that tens of thousands of households were without electricity after falling trees broke power lines.

The storm killed a 67-year-old man who was trying to secure his house's roof and a 58-year-old woman crushed by a falling tree. Officials said 39 people were also injured.

Prime Minister Beata Szydlo visited the town of Zielona Gora, located in an area hardest hit, meeting with local officials and vowing financial help for repairs.

Firefighters also worked Friday to remove fallen trees and help secure hundreds of damaged roofs.

The storm also devastated the park of the Habsburg Palace in the town of Zywiec.