A judge has given life sentences to five men convicted of carrying out twin bombings which killed 76 people who were watching the 2010 World Cup final in the Ugandan capital Kampala.

The men were convicted of terrorism Thursday and prosecutors had asked for the death penalty. Two others convicted of similar charges were given 50 years in jail. One suspect convicted of being an accessory to terrorism was sentenced to a year of community service.

Five others were acquitted.

The attacks, for which the Somali armed group al-Shabab claimed responsibility, targeted a rugby club and a restaurant where customers were watching the World Cup final on giant screens.

The alleged mastermind of the attacks, a Ugandan named Issa Luyima, is among those given life terms.