Police arrested a 22-year-old student of Jordanian nationality in Trier on Monday after receiving indications of a security threat to the city.

Authorities closed the Christmas market, public offices and cultural sites in the western German city, in Rhineland-Palatinate state, and urged residents to avoid the city center. Police spokesperson Marc Fleischmann initially said they were searching for a person whose whereabouts were unknown.

Officers searched an apartment in Trier's Olewig district around 3 p.m. The suspect was not found during this search but witnesses spotted him nearby afterward. Police located him during an "intensive" search on Liebrauenstrasse and detained him. The suspect sustained minor injuries during the arrest.

Police said they had received "concrete indications from various sources" that the 22-year-old could pose a serious threat to the general public. They did not disclose the nature of the potential threat.

Hours after the arrest on Monday evening, police said they believed the danger had passed. The Christmas market was set to reopen from 6 p.m. local time. A police spokesperson told the DPA news agency: "But in our view, there's no further danger." Officers said they would remain in the city center and available to respond to any further concerns.

The city administration had closed public-facing offices and canceled afternoon appointments. Several cultural facilities shut, including Trier's Roman monuments, the theater box office and an evening light show at the Imperial Baths. The local bank Sparkasse Trier closed all its branches across the city, as did its ice rink on Kornmarkt.