Somali militants have claimed responsibility for killing a second member of parliament in as many days.
Al-Shabab said it shot Abdiaziz Isaq Mursal, who died Tuesday after an ambush in the Madina district of Mogadishu. Authorities said he was shot multiple times and died on the spot.
Al-Shabab has threatened to continue attacking lawmakers.
The al-Qaida-linked group took credit for a car bombing Monday in Mogadishu that killed parliamentarian Isak Mohamed Ibrahim and wounded another lawmaker.
Al-Shabab has lost much of its territory over the past few years to African Union and Somali government troops, but militants continue to carry out attacks.