The Somalia-based extremist group al-Shabab is claiming responsibility for the twin blasts in Mogadishu that have killed at least 18 people and injured 20 others.
Al-Shabab made the claim late Friday via its Andalus radio arm.
The explosions shattered months of relative calm in Somalia's capital, which is often a target of al-Shabab.
Police say one blast occurred near Somalia's intelligence headquarters. The second occurred near the headquarters of parliament.
The director of an ambulance service in Somalia's capital says its workers have ferried 18 bodies after a pair of explosions in Mogadishu.
Abdirahman Abdulqadir, the director of Aamin Ambulance service, tells The Associated Press that at least another 20 people have been injured in the attack.
Police say two car bomb blasts rocked Mogadishu, followed by sustained gunfire.
The first blast occurred near Somalia's intelligence headquarters. The second occurred near parliament's headquarters, where security forces engaged with gunmen thought to be trying to attack the presidential palace.
A Somali police official says two car bomb blasts have rocked the capital, Mogadishu, followed by sustained gunfire. Three people have been killed.
Capt. Mohamed Hussein says the first blast, apparently caused by a suicide car bomber, occurred near Somalia's intelligence headquarters.
The second blast occurred near parliament's headquarters, where security forces have engaged with gunmen thought to be trying to attack the presidential palace.
The explosions have shattered a months-long period of calm in Mogadishu, which is often the target of attacks by the al-Shabab extremist group.
There is no immediate claim of responsibility for Friday evening's blasts.
Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.