Somali security forces stormed a hotel in the capital late on Monday ending a siege by al Shabaab militants following a nearly day-long battle in which at least nine people were killed, police said.
Gunfire crackled from inside the building as the special forces foughtthe militants more than 12 hours after the Islamist group stormed the building in the centre of Mogadishu.
The assault underscores the continuing ability of the al Qaeda-allied militants to stage deadly attacks with sometimes high casualties inside the city even as President Hassan Sheikh Mohamud's government presses an offensive against them.
"The operation at the hotel Rosa has been concluded," Sadik Aden Ali, a police spokesperson said.
Ali said the militants had killed eight civilians and later added that one soldier had also died in the hotel siege.
"The ... terrorists killed nine people including a soldier," he said.
Five soldiers were also injured in the gunfight, he said, adding that six al Shabaab fighters had been involved in the attack on the hotel.
"One blew himself up and five were shot dead by the security forces," Ali said, adding that 60 civilians had been rescued.