Jordanian search teams pulled the bodies of three suspected terrorists from the rubble of their hideout, a government official said Sunday, hours after assailants opened fire and set off explosions that killed three members of the security forces trying to storm the building.
No group immediately took responsibility.
Jordan has played a key role in the US-led coalition fighting the Islamic State group in Syria and Iraq, using its air force against the jihadists and allowing coalition forces to use its bases.
Security forces gather near a damaged building at the city of Salt, Jordan, August 12, 2018.
Four security personnel were killed during the operation after the suspected militants sought sanctuary in the multi-storey building in Salt, a hillside city, the government said.
Twenty people were also injured, when a building collapsed during the raid, according to Al-Arabiya.
Government spokeswoman Jumana Ghunaimat told the state news agency Petra that three suspects had been arrested so far in an operation that was still underway against a cell hiding in a building in the centre of hillside Salt city, about 30 km (18 miles) west of Amman. In December 2016, a shootout at a Crusader castle in the southern town of Karak left 14 people dead, including seven members of the security forces, four attackers and three civilians.
On Friday, a bomb was planted under a police vehicle providing security at a music festival in the town of Fuheis.
The minister added that a special team demolished the remaining parts of the building "because it is too unsafe to be around it".
On Saturday, Prime Minister Omar al-Razzaz vowed that Jordan would "not be complacent in the hunt for terrorists".
Ghneimat said that the security forces raided the house in Salt after receiving a tip-off.
The United States "strongly condemned" the attacks against Jordanian security forces in Al-Fuhais and in Salt, in a statement released Sunday by its Amman embassy.
Security forces have been extra vigilant since the start of this year with warnings that sympathisers of Islamic State could launch revenge attacks after the militants were driven out of most of the territory they once controlled in Syria and Iraq.