German police have foiled an alleged plot to attack spectators and participants at Sunday’s half-marathon in Berlin, reports say.
The Die Welt newspaper says four men were detained, one of whom allegedly planned to mount a deadly knife attack.
A number of apartments in the city’s west have been searched.
The newspaper reports the men have suspected links to a Tunisian man who killed 12 people in the city in a December 2016 truck attack.
Anis Amri, who had pledged alliance to the Islamic State (IS) group, was shot dead in Milan days later after a Europe-wide manhunt.
An unnamed senior police official is quoted as telling Die Welt: “We are still making our assessment. But it was probably a close call.”
More than 30,000 athletes participated in the half-marathon event on Sunday.
Earlier, German Interior Minister Horst Seehofer reiterated that the government was committed to national security.
He was speaking in the north-western city of Muenster, where two people were killed and 20 more injured on Saturday after a van was driven into the outdoor seating area of a restaurant.
Officials say the suspect in that attack, who killed himself, is not known to have any terror links, and is thought to be a German national with mental health issues.