European governments have agreed to synchronize their laws to bar citizens from going abroad to fight for the Islamic State group and other extremists.

A document signed Tuesday by foreign ministers from the 47-nation Council of Europe requires countries to outlaw specific actions, including intentionally taking part in terrorist groups, receiving terrorist training or traveling abroad for the purpose of engaging in terrorism.

Analysts say European laws vary, with some countries like France charging people with crimes if they plan to leave to join a violent extremist group, and others, such as in Scandinavia, lacking a legal way to prevent their citizens from becoming foreign fighters.