German police detained a man who took a woman hostage at the train station in Cologne on Monday and said the suspect, who was seriously injured in the rescue operation, was probably a Syrian citizen.

Germany is on high alert for militant attacks, almost two years after a Tunisian Islamist rammed a hijacked truck into a Christmas market in central Berlin, killing 11 people as well as the driver.

"The suspect is under control," police in the western city of Cologne said on Twitter. "A female hostage has sustained light injuries and is being tended to." The suspect was being resuscitated.

A spokeswoman said officers had forced their way into a pharmacy where the suspect was, adding that the hostage-taker's motives were unclear.

The suspect is probably a 55-year-old Syrian citizen, Cologne's deputy police chief Miriam Brauns said, adding that police found identification documents in the back of the pharmacy that showed that the owner of the papers was allowed to stay in Germany until mid-2021.

The man was known to police for offences including theft and fraud, she said, adding that it was not certain that the owner of the documents was the hostage taker.

The incident prompted the evacuation of the station.

"We also do not rule out a terrorist attack," Brauns said.

Police called on witnesses to provide any pictures or video footage that could help to determine the suspect's motive.

German magazine Focus had earlier reported that several shots appeared to have been fired in the station, which is next to the city's cathedral, a major tourist attraction.

Images taken outside the station showed the steps of the cathedral were crowded with travellers carrying suitcases due to the evacuation.

German police have also arrested eight men suspected of membership of a far-right militant group which assaulted foreigners in the eastern city of Chemnitz and planned attacks on politicians.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.