MOGADISHU, Somalia -- MOGADISHU, Somalia (AP) — A police officer in Somalia says two people were killed after a car bomb exploded next to a hotel frequented by government officials.

Capt. Mohamed Hussein also said that least five people were injured in the Friday evening explosion. Police officer Hassan Abdi said the car bomb exploded shortly after a bomb planted in a laptop computer detonated at a nearby restaurant.

Al-Shabab militants frequently carry out suicide and car bomb attacks inside Mogadishu, and many of those are targeted at government officials.

Al-Shabab once controlled Mogadishu but was ousted from the city in August 2011. Al-Shabab claimed responsibility for the September attack on the Westgate Mall in neighboring Kenya. That attack killed 67 people.

Earlier on HuffPost:

Loading Slideshow...
  • Survivors are helped to escape from a window at Mogadishu’s court complex in Mogadishu, Somalia, Sunday, April 14, 2013. Militants launched a serious and sustained assault on Mogadishu's main court complex Sunday, detonating at least two blasts, taking an unknown number of hostages and exchanging extended volleys of gunfire with government security forces, witnesses said.(AP Photo/Farah Abdi Warsameh)

  • A Somali soldier passes near a destroyed home next to Mogadishu’s court complex in Mogadishu, Somalia, Sunday, April 14, 2013. (AP Photo/Farah Abdi Warsameh)

  • Somali soldiers look at the wreckage of the car that detonated the bomb near the entrance of Mogadishu’s court complex, Mogadishu, Somalia, Sunday, April,14, 2013. (AP Photo/Farah Abdi Warsameh)

  • A Somali soldier walks near a destroyed car near the entrance of Mogadishu’s court complex, Mogadishu, Somalia, Sunday, April 14, 2013. (AP Photo/Farah Abdi Warsameh)