Moroccan authorities have arrested an Algerian national thought to be a member of Jund al-Khilafa, a jihadist group responsible for the September beheading of a French tourist, authorities said Sunday.
The operation was carried out by police near the border town of Ahfir, about 30 kilometres north of Oujda, according to a statement from the Interior Ministry, which did not give a date for the arrest.
The Algerian national, whose identity was not revealed, was "in possession of large quantities of dangerous substances" and his arrest also led to the discovery of firearms, it said.
"The suspect was accompanied by another person, whose identity is the subject of investigation," the statement added.
Jund al-Khilafa, (Soldiers of the Caliphate) -- who have pledged allegiance to the Islamic State group -- last year claimed responsibility for kidnapping and killing Hervé Gourdel, a 55-year-old mountain guide in the Djurdjura ranges southeast of Algiers.
The Algerian army mobilised some 3,000 troops in the search for the Frenchman`s body and eventually found it earlier this month after a tip-off from a suspected militant being held in custody.
Gourdel`s remains will be transferred to France on Monday.
As part of the investigation, prosecution cases have been brought against 15 people, all Algerian nationals.
At least six jihadis have also been killed, including the leader of Jund al-Khilafa, Abdelmalek Gouri, who the army said it had killed in December.
In November Morocco announced the arrest of six men in the region of Berkane, near Oujda, for making a video in which they announced "the appearance of Jund al-Khilafa" in the kingdom.
The long common border between Algeria and Morocco has been officially closed for more than 20 years owing to persistent diplomatic disputes.
However, it is still the site of various forms of contraband trafficking.