Three men accused of the murder of two Scandinavian hikers in the Atlas Mountains last year have been sentenced to death, an antiterrorism court in Morocco decided on Thursday.

Maren Ueland, 28, of Norway and Louisa Vesterager Jespersen, 24, of Denmark, were discovered dead at their campsite in a remote part of the Atlas Mountains in December 2018 with wounds to their necks. The incident was labeled by Moroccan authorities as a terror attack after some of the men involved pledged allegiance to the Islamic State.

The men were tried under an antiterrorism law and were the main defendants in a case that put two dozen suspects on trial over the women’s deaths last year.