A Swiss man has been sentenced to 10 years in prison by a Moroccan terrorism court for links to Islamic extremists who allegedly killed two Nordic tourists last year.

The man, 33, was convicted of charges including "deliberately helping perpetrators of terrorist acts" and training terrorists, according to state news agency MAP. The verdict was Thursday but reported Friday.

The online advertising technician, who was arrested in December, has a Moroccan wife, according to a lawyer representing another Swiss suspect in the case.

Moroccan prosecutors have filed terrorism charges against 25 individuals suspected of links to the killings.

The women tourists, one from Denmark and one from Norway, were found dead in their tent in the Atlas Mountains Dec. 17. Authorities blamed followers of the Islamic State group.