MOGADISHU, SOMALIA (CNN) - A security spokesman says at least 12 people were killed when a car bomb exploded outside a restaurant in Mogadishu.
Al-Shabab militants are claiming responsibility for the attack in the Somali capital.
The car bomb exploded Thursday near Somalia's national intelligence facility, security spokesman Idris Aden said.
Most of the dead were government soldiers.
At least 10 other people were injured in the blast after a minivan packed with explosives crashed into a restaurant and blew up, sending flames and black smoke into the air.
Al-Shabaab rebels claimed responsibility for the attack, which spokesman Sheikh Abdiaziz Abu Musab said killed 15 security force members.
The injured were taken to a nearby hospital, Aden said.
The restaurant is popular with Somali security forces.
Last week, militants carried out a deadly attack on Somalia's presidential palace, exploding a bomb and then opening fire.
At least 12 died, including two government officials and seven Al-Shabaab attackers, but President Hassan Sheikh Mohamud was unharmed.
Bombings have rattled Mogadishu in regular intervals this year, and Al-Shabaab has regularly taken responsibility for them.
The group, which the United States has designated as a terrorist organization, hopes to turn Somalia into a fundamentalist Islamic state by force. It also has launched attacks in other countries, such as Kenya and Uganda, which have killed dozens.
Copyright 2014 CNN. All rights reserved.