A government official in Somalia says the death toll from al-Shabab's attack on Mogadishu's Supreme Court complex has risen to 35.

Dahir Amin Jesow, a Somali parliamentarian who heads a security committee, said Monday that the toll from the attacks on the court complex and a separate car bomb could rise even further because of the number of seriously wounded. Dozens were hurt in the attacks.

Al-Shabab once controlled almost all of Mogadishu. The armed Islamic militants were pushed out of the city in 2011 but continue to carry out attacks.

The government said Sunday that nine militants stormed the court complex, setting off bombs and firing a barrage of bullets. It said all nine died in the attack.