A Somali military court has sentenced a man to death in connection with the October bombing in the capital that killed more than 500 people.

The truck bomb was the most powerful blast ever witnessed in Mogadishu and the deadliest single attack in the Horn of Africa nation.

The chief of the military court, Gen. Hassan Ali Shute, says Hassan Aden Isak was found guilty of coordinating the bombing.

Abdullahi Ibrahim was convicted of being a member of the al-Shabab extremist group and was sentenced to life in prison. Abdiweli Ahmed Diriye was convicted of allowing the truck to pass uninspected through security checkpoints and received three years in prison.

The court also ordered the release of Mukhtar Mohamud Hassan and Abdul Abdi Warsame, who were acquitted of their charges.