German police commandos have stormed an apartment in the eastern city of Chemnitz and detained a man in connection with a hunt for a Syrian refugee suspected of planning a bomb attack.
"Nobody was injured and no shots were fired. We've taken the man into custody and we are questioning him now," Tom Berhardt, spokesman for the Saxony state criminal investigation office, said on Sunday.
Police found explosives in another apartment they raided in the city on Saturday but have been unable to track down the suspect, 22-year-old Jaber Albakr.
Police saw him at the door of the apartment block before he slipped through their grasp.
Police evacuated the residential building and fired a warning shot before storming the first apartment only to find Mr Albakr was not there.
A state-wide search has been launched for the man, including checking vehicles heading into Schoenefeld Airport in Berlin.
The German authorities say they have informed foreign security services about Mr Albakr.
The suspicion that a refugee was planning a bomb attack will prove unwelcome news for Chancellor Angela Merkel, whose conservative party has lost support to the far-right Alternative for Germany (AfD) party over her open-door migrant policy.
Ms Merkel, who last month said she wished she could "turn back the time by many, many years" to better prepare for last year's influx of almost one million migrants, has yet to say whether she will seek a fourth term as chancellor in next year's election.
In July, Islamic State claimed responsibility for attacks on a train near Wuerzburg and at a music festival in Ansbach which wounded 20 people.
Despite deploying hundreds of officers, police have been unable to find Mr Albakr.
A security source told Reuters that there was some evidence indicating the Syrian had Islamist leanings.