French authorities have detained two people suspected of selling jihadi DVDs and other propaganda, under a new anti-terrorism law aimed at stopping French extremists from joining fighters abroad.

The Interior Ministry said in a statement Thursday that the two were taken into custody Wednesday night in the village of Amberieu-en-Bugey in southern France.

The ministry said it's the first time anyone has been detained under the new law, finalized this month.

Hundreds of French extremists have joined fighters for the Islamic State group in Syria and Iraq, including young teenagers and families, some from Muslim families and some who are converts. The French government is particularly concerned that extremists will return and stage attacks at home, and is trying to stop them from traveling in the first place.