Five of the seven men found guilty on terror charges in Uganda have been given life sentences. The other two were given 50-year sentences.
Justice Alfonse Owiny-Dollo said he believed the death sentence would not act as a deterrent.
The seven were involved in planning the 2010 bomb attacks in Kampala in which 74 people were killed.
They were trained by the Somalia-based Islamist militant group al-Shabab.