Federal prosecutor's office says man charged with "taking part in the activities of a terrorist group".