Special forces have arrested an alleged Islamic State (IS) group supporter in the Austrian capital Vienna, who is believed to have tried to derail trains in neighbouring Germany.
The 42-year-old Iraqi national is thought to have twice put obstacles on rail tracks last year.
Flags for the IS group and writings in Arabic were found nearby, prosecutors said.
German and Austrian investigators are now questioning the man in Vienna.
Local newspaper Kronen Zeitung reports the father of five served for 15 years in the Iraqi army. He was living in Austria as a refugee and worked for a security company, it says.