A train accident in the Alps in southern Germany on Friday left at three people dead and dozens injured, authorities said.

The regional train headed for Munich appears to have derailed shortly after noon in Burgrain, near the resort town of Garmisch-Partenkirchen, according to federal police. Three carriages overturned at least partly, and people were pulled out of the windows to safety.

A train derailed in southern Germany

This video grab shows firemen and rescue helpers working around a derailed train on June 3, 2022, in Burgrain near Garmisch-Partenkirchen, southern Germany.  (STR/NETWORK PICTURES/AFP via Getty Images)

A train derailed in southern Germany

This video grab shows firemen and rescue helpers working next to a derailed train on June 3, 2022, in Burgrain near Garmisch-Partenkirchen, southern Germany.  (STR/NETWORK PICTURES/AFP via Getty Images)

A train derailed in southern Germany

This video grab shows policemen and firemen rescuing a person from a derailed train on June 3, 2022 in Burgrain near Garmisch-Partenkirchen, southern Germany. (STR/NETWORK PICTURES/AFP via Getty Images)

The cause was not immediately clear.

The local government in Garmisch-Partenkirchen said that at least three people were killed, news agency dpa reported. Sixty people were being treated for injuries, and 16 of them were seriously hurt.

It wasn't clear how many people were on the train at the time of the accident.

CLICK HERE TO GET THE FOX NEWS APP

The line between Garmisch-Partenkirchen and Oberau, north of the accident site, was closed. The area is near the Austrian border.