Fighting in south Somalia between al Shebab militants and government forces killed at least 24 people, while a rebel attack in the capital killed three Transport Ministry workers, officials and the group said on Saturday.
Al Shebab launched an attack on government troops late on Friday in the Awdigle district and Mubarak village in the Lower Shabelle region, south of the capital Mogadishu. Clashes lasted until early Saturday and killed at least two dozen people, residents said.
In a gun attack in the capital, the group, which wants to topple the Western-backed government, killed three people working for the Transport Ministry, police said.
Al Shebab said it launched the raid in south Somalia and was behind the Mogadishu assault. "We shall continue killing the enemies," Sheikh Abdiasis Abu Musab, al Shebab’s military operations spokesman, told Reuters.
The African Union's AMISOM peacekeeping force and Somali soldiers pushed al Shebab into smaller pockets of territory during an offensive launched last year, but the group still launches regular bomb and gun attacks.
"We did not sleep last night because they exchanged shells and gunfire throughout the night," resident Afrah Hussein told Reuters from Awdigle district, adding he had counted 17 dead but could not say if they were soldiers or militants.
In Mubarak, a resident saw seven killed from both sides.
Al Shebab said 25 soldiers were killed in the south. Lower Shabelle Governor Abdikadir Mohamed Sidi told Reuters at least 40 rebels died, alongside Colonel Dahir Shekaal, the commander of government forces in Awdigle.
Al Shebab and officials often given conflicting figures.
In the attack in Mogadishu, police said the three Transport Ministry workers were killed when gunmen blocked their car and sprayed them with bullets.
Separately, two lawmakers were wounded in Mogadishu when gunmen used a similar tactic. Al Shebab could not be reached for comment on that assault.
Although diplomats say al Shebab has been pushed mainly into areas in the Galgala hills in the north and Juba Valley in the south, the group has continued to launch strikes in the capital Mogadishu and on Somali and AMISOM forces.