At least 295 of the detainees belong to militant groups outlawed over the past three years .