Updated

Two Danish brothers of Somali origin have been sentenced to six and three years in prison, respectively, for the older brother's participation in a training camp run by Al Qaeda-linked militants in Somalia.

They were the first convictions under a Danish law that makes it illegal to receive training from a terrorist group.

Danish news agency Ritzau said the men, who are aged 24 and 19 but were not named by the Aarhus court, immediately appealed Monday's ruling.

The court found the older brother guilty of receiving training to commit terrorist acts while attending a camp run by al-Shabab, an Islamist insurgent group linked to Al Qaeda. The younger brother was convicted of assisting him by providing travel documents, Ritzau said.

Al-Shabab seeks to recruit new fighters from Somali communities overseas.