Islamist militants rammed a car bomb into the gate of a hotel and stormed inside, killing at least 13 people in Somalia's capital Mogadishu on Wednesday, police said.
Gunfire rang out as fighters entered Dayah Hotel, which is popular with politicians. A second blast shook the area shortly afterwards, injuring several people nearby.
Colonel Abdiqadir Hussein, a police officer, said security forces later managed to secure the building.
"We have rescued the people and concluded the operation at Dayah hotel. The security forces are now inside the hotel and we shall give further details of casualty later," he said.
Another police officer, Major Mohamed Ahmed, said a dozen people had been wounded, in addition to the 13 killed who included members of the security forces and civilians. "The death toll may rise," he added.
Duniye Mohamed, a doctor at Madina hospital where some casualties were taken, said the injured included people with "very serious" wounds.
Islamist group Al Shabaab, which until 2011 controlled Mogadishu and much of Somalia, claimed responsibility for the attack.
"Well-armed mujahideen (fighters) attacked the hotel, and now they are fighting inside the hotel," reported Somalia's Andalus radio, which is linked to al Shabaab.
The insurgents often launch bomb and gun attacks in the capital, saying they want to topple the Western-backed government and impose their strict interpretation of Islam on the nation.
In the past two years, a campaign by African Union troops and Somali forces has driven the group out of key urban strongholds, but it remains active from bases in rural areas.
The Horn of Africa country swore in nearly 300 members of its parliament last month. The lawmakers will also pick the president, although that vote has repeatedly been postponed.