Under US law, individuals can lose their citizenship for joining a foreign army or armed group as an officer, or for joining forces hostile to the United States. However, foreign fighters who have been barred from their home countries have fanned the flames of terrorism and insurgency when left unchecked.