Twenty-one people are confirmed to have died in the 30-hour ordeal, the health ministry said. The fight to retake the hotel ended overnight, officials said.
The assailants used explosives to gain entry to Mogadishu's Hayat Hotel before violently taking control.
Islamist militant group al-Shabab has taken responsibility for the attack.
"I would like to inform all Somalis that the operation at the hotel was concluded at midnight," police Commander Abdi Hassan Mohammed Hijra told journalists in a briefing that took place close to the site of the attack.
"It is shocking that innocent people lost their lives here... The security forces were engaged in rescuing the people one by one and in groups."
Read More (...)