At least 14 people were killed and nine injured when militants stormed a hotel in the Somali capital of Mogadishu on Saturday.
The gunmen took an unknown number of hostages before security forces were able to retake control of the hotel.
The preliminary death toll provided by officials included civilians and guards as well as the militants, Reuters reported.
“We have finally ended the siege,” police Capt. Mohamed Hussein told the Associated Press. “The last remaining militants were killed on the top floor.”
After detonating a car packed with explosives at the gates of Nasa-Hablod Hotel, located near the city’s international airport, armed militants rushed inside, shooting at guests, the AP reported.
Once they entered the hotel, the assailants posted snipers on the roof, threw grenades and fired at security forces with machine guns.
Police said at least four gunmen participated in the attack. The Islamic extremist group al-Shabab, which is fighting government forces in multiple areas across the country, claimed responsibility for the attack.
“We attacked the hotel which was frequented by the apostate government members,” al-Shabab military operations spokesman Sheikh Abdiasis Abu Musab told Reuters.
The group frequently conducts suicide attacks and bombings in Somalia’s cities.
On June 1, al-Shabab carried out an assault on another Mogadishu hotel, killing at least 16 people and wounding an additional 55.