MOGADISHU, Somalia (AP) -- A Somali official says suspected al-Qaida-linked militants have ambushed a convoy carrying doctors near Somali capital, killing six people, three of them foreigners.

Capt. Mohamed Hussein, a senior Somali police commander, said Wednesday the convoy came under attack in a semi-forested area outside Mogadishu, while on the way to give medical assistance to patients at a hospital.

One foreign doctor was also wounded in the attack. Hussein blames al-Shabab insurgents for the attack. Somalia's weak government is attempting to rebuild the war-ravaged nation after African Union troops in the last couple of years helped the Somali army eject al-Qaida-linked militants from all the major cities, including the capital Mogadishu.

Although daily fighting has stopped since the militants were evicted, guerrilla attacks blamed on the militants continue.