Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

A suicide bomber detonated an explosives-laden truck near the Somali president’s residence in Mogadishu Tuesday, killing five people and partially destroying nearby hotels, police said.

Huge clouds of smoke were seen over the capital and gunfire was heard.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

The bomb exploded during a morning traffic jam, Capt. Mohamed Hussein, a senior police officer, told The Associated Press.

Fierce gunfire ongoing around the Presidential Palace after ground shaking car bomb. Not clear who's shooting who. #Mogadishu #Somalia — Live From Mogadishu (@Daudoo) August 30, 2016

The blast damaged nearby hotels often frequented by government officials and business executives, he said.

Some Cabinet ministers at the SYL hotel were among the injured, Hussein said.

It came only three days after a car bomb and gun attack at a popular beach restaurant in the city killed 10 people. Both that and Tuesday's attack were claimed by regional al Qaeda-linked terror network, al Shabaab, which aims to topple the Western-backed government.

Security forces outside the SYL hotel which was partly destroyed by a bomb Tuesday. FEISAL OMAR / Reuters

Mogadishu's Madina hospital received 28 injured victims, said Dr. Mohamed Yusuf, the hospital's director.

The massive blast has left a trail of destruction across the hilltop presidential complex and to nearby hotels. The bombing tore into blast walls protecting hotels and blew off the roofs of nearby houses.

“Security forces tried to stop the bomber who used back roads before he sped through checkpoints near the presidential palace and detonated the bomb,” said Col. Ali Nur, a police officer. “He reached near the gate of the state house with flat tires.”