Moroccan authorities have made five new arrests linked to the murder a week ago of two Scandinavian women in the High Atlas mountains, the country's counter-terror chief said on Monday.
The arrests were made in several cities in the kingdom, bringing to 18 the number of people detained over the double-murder, said Abdelhak Khiam, head of Morocco's central office for judicial investigation.
"The two victims were stabbed, had their throats slit and were then beheaded," he told AFP.
The four main suspects in what the authorities describe as a terrorist act were arrested between Monday and Thursday last week in the tourist hub city of Marrakesh.
Danish student Louisa Vesterager Jespersen, 24, and 28-year-old Norwegian Maren Ueland were found dead at an isolated hiking spot south of Marrakesh on December 17.
Investigators said on Monday that the dismantled "cell" was made up of 18 members, including three with terror-related criminal records.
"The emir of the group" was Abdessamad Ejjoud, a 25-year-old street vendor living on the outskirts of Marrakesh, said Khiam.
Ejjoud had "formed a kind of cell that discussed how to carry out a terrorist act inside the kingdom," he told AFP.
He was said to be in a video shot a week before the murders, in which four suspects are seen pledging allegiance to Islamic State group leader Abu Bakr al-Baghdadi with a black ISIS flag in the background.
The alleged killers had "agreed under the influence of their emir to carry out a terrorist act... targeting the security services or foreign tourists," Khiam told AFP.
Two days before the murders, they allegedly went to the Imlil region "because it is frequented by foreigners" and "targeted the two tourists in a deserted area", he added.
The others suspected of direct involvement in the killings were Abderrahim Khayali, a 33-year-old plumber, 27-year-old carpenter Younes Ouaziyad, and Rachid Afatti, a 33-year-old street vendor.
Ouaziyad and Afatti were alongside Ejjoud during the murder, said Khiam.
"The members of this cell had no contact with Daesh (ISIS) operatives in conflict zones, whether in Syria, Iraq or Libya" despite declaring allegiance to Baghdadi, he added.
Last week, investigators released pictures of three wanted suspects identified as Afatti, Ouaziyad and Ejjoud.
Rabat's prosecutor has also said the four main suspects pledged allegiance to the Islamic State group in a video filmed a week before the double-murder.
The killings have shaken Norway, Denmark and Morocco. Another video circulated on social networks allegedly showed the murder of one of the tourists.
Morocco, which relies heavily on tourism income, suffered a jihadist attack in 2011, when a bomb blast at a cafe in Marrakesh's famed Jamaa El Fna Square killed 17 people, mostly European tourists.
An attack in the North African state's financial capital Casablanca killed 33 people in 2003.
Since 2002, Morocco had dismantled 185 terror cells and taken measures to rehabilitate those arrested, said Khiam.
"The origins of this extremism must be fought - namely insecurity, illiteracy and ignorance," he said.
Tourism is a cornerstone of Morocco's economy and the kingdom's second-largest employer, after agriculture.
The sector accounts for 10% of national income and is one of the country's main sources of foreign currency.
* Sign up to News24's top Africa news in your inbox: SUBSCRIBE TO THE HELLO AFRICA NEWSLETTER