Swiss authorities said a man armed with an axe and a knife held 15 hostages on a train for almost four hours, until police stormed the train and fatally wounded him late on Thursday.
The incident occurred in the town of Essert-sous-Champvent on the train line connecting Baulmes and Yverdon-les-Bains in the Swiss canton of Vaud near the French border.
"The hostages were all released unharmed," police in the Vaud canton said in a statement on Friday. "The hostage taker was fatally wounded during the intervention."
Police did not provide any details regarding the possible motives of the man, who police said was a 32-year-old asylum seeker.
Jean-Christophe Sauterel, police spokesperson for the Vaud canton, said there was no indication that the hostage-taking was a terrorist incident.
"It's an unprecedented event given the number of victims, 15 hostages, and the intervention of 60 police," Prosecutor General Eric Kaltenrieder told local television.

Shooting at Australia's Bondi Beach kills 12
Police hold person of interest after Brown University shooting leaves two dead
Hamas says Israel's killing of senior commander threatens ceasefire
Ukraine's Zelenskyy ditches NATO ambition ahead of peace talks
Thailand declares curfew along coast as Cambodia border fighting spreads
India tightens pollution curbs as Delhi's air quality worsens
'Peace is not far away' says Erdogan after Putin meeting
Belarus frees Nobel winner, protest figures as US lifts more sanctions
