April 3 (UPI) -- Police in western Germany on Thursday night arrested a man armed with knives and pyrotechnic devices after he allegedly threatened to commit violence aboard a high-speed train, according to local authorities, who said a dozen passengers were injured.

The suspect, identified as a 20-year-old German man from Aachen, ignited two unknown pyrotechnic devices on an Intercity-Express train traveling from Aachen to Frankfurt at about 9 p.m., the Rhein-Sieg district police authority press office said in a statement.

Passengers on the train were able to detain the suspect and lock him in the train's restroom. When police arrived at the Siegburg/Bonn station, officers arrested the man.

The train carrying about 180 passengers was evacuated and a section of the station was cordoned off, authorities said.

A search of the man discovered two knives and two additional commercially available pyrotechnic smoke devices.