Somali security forces finally put an end to a deadly siege Sunday that had dragged on through the night at a hotel in Somalia's capital, but not before at least 23 people were killed. Al-Shabab claimed the attack as the Islamic extremist group wages a bloody insurgency in the country and elsewhere in Africa.

Among the dead: a mother and her three children, one of them a baby, say Somali police. The victims also include at least a dozen police officers, reportsReuters.

Five militants stormed the building Saturday after a suicide truck bomber lingered at the gate, pretending to repair the vehicle before it blew up, reportsThe Associated Press. Once inside the Nasa-Hablod hotel, the attackers engaged security forces in a gun battle, with at least one militant detonating a suicide vest.

Police say three attackers are dead and AP reports five have been captured alive. The police and intelligence chiefs have been fired in the wake of two brutal back-to-back attacks on the Somali capital, according to the wire service.

Saturday's siege comes just two weeks after the deadliest attack ever in the country. On Oct. 14, twin bombings in Mogadishu took a staggering toll; more than 350 killed.

Nobody has laid claim to that attack, although the Somali government blames al-Shabab, a group the United States has designateda foreign terrorist organization.

Mogadishu has been a frequent target of al-Shabab attacks as the group fights to overthrow the U.N.-backed government and seeks "the creation of a fundamentalist Islamic state in Somalia," according to the Council on Foreign Relations, a Washington-based think tank.

In June the group performed a similar overnight siege at a pizza restaurant and nearby hotel that left dozens dead. It too began with a car bombing at the hotel's front gates.

Al-Shabab has also launched more than 150 attacks in neighboring Kenya; among the deadliest were a 2015 assaulton a university in Garissa that killed around 150 people and an attackon a Nairobi shopping mall in 2013 that left dozens dead.

There are thought to be up to 9,000 al-Shabab fighters in Somalia today, saysCFR. Born in 2006, the al-Qaeda-affiliated group reached its peak in 2011, reigning over parts of Mogadishu, until African Union troops helped drive it out. Today the group controls parts of Somalia's rural southern and central regions, says CFR.

NPR's East Africa correspondent Eyder Peralta has reported that Somalia will likely seek deeper involvement from the United States as it works to flush out the al-Shabab from its strongholds.

After the Oct. 14 attack, the United States did step up its military response, reportsAP, launching a drone strike against the group about 35 miles outside Mogadishu.

Copyright 2017 NPR. To see more, visit