Question: when did us go to war in afghanistan
Answer: War in Afghanistan ; code named Operation Enduring Freedom -- Afghanistan ( 2001 -- 2014 ) and Operation Freedom 's Sentinel ( 2015 -- present ) ) followed the United States invasion of Afghanistan of October 7 , 2001 .