People walk amidst destruction at the scene, a day after a double car bomb attack at a busy junction in Mogadishu, Somalia Sunday, October 30, 2022. [AP Photo

Somalia's president, elected this year, said the country remained at war with al-Shabab "and we are winning."

The attack in Mogadishu occurred on a day when the president, prime minister and other senior officials were meeting to discuss expanded efforts to combat violent extremism and especially al-Shabab. The extremists, who seek an Islamic state, have responded to the offensive by killing prominent clan leaders in an apparent effort to dissuade grassroots support.

The attack has overwhelmed first responders in Somalia, which has one of the world's weakest health systems after decades of conflict. At hospitals and elsewhere, frantic relatives peeked under plastic sheeting and into body bags, looking for loved ones.

Halima Duwane was searching for her uncle, Abdullahi Jama. "We don't know whether he is dead or alive but the last time we communicated he was around here," she said, crying.

Witnesses to the attack were stunned. "I couldn't count the bodies on the ground due to the (number of) fatalities," witness Abdirazak Hassan said. He said the first blast hit the perimeter wall of the education ministry, where street vendors and money changers were located.

 The scene of a double car-bomb attack in Mogadishu, Somalia, Saturday. [AP Photo]

An Associated Press journalist at the scene said the second blast occurred in front of a busy restaurant during lunchtime. The blasts demolished tuk-tuks and other vehicles in an area of many restaurants and hotels.

The Somali Journalists Syndicate, citing colleagues and police, said one journalist was killed and two others wounded by the second blast while rushing to the scene of the first. The Aamin ambulance service said the second blast destroyed one of its responding vehicles.

It was not immediately clear how vehicles loaded with explosives again made it to the high-profile location in Mogadishu, a city thick with checkpoints and constantly on alert for attacks.

The United States has described al-Shabab as one of al-Qaida's deadliest organizations and targeted it with scores of airstrikes in recent years. Hundreds of U.S. military personnel have returned to the country after former President Donald Trump withdrew them.