President Obama announced Wednesday that he will keep roughly 3,000 more U.S. troops in Afghanistan than previously announced – prolonging America’s role in a war that already has lasted more than a decade.

Obama said he will leave around 8,400 U.S. troops in Afghanistan when he leaves office in January.

“The Taliban remains a threat,” Obama said from the Roosevelt Room with Defense Secretary Ash Carter and the Joint Chiefs of Staff chairman, Gen. Joseph Dunford.

Obama had planned to drop troop levels to 5,500 troops, from 9,800, by the end of 2016. But Taliban resurgence has forced a reconsideration of his administration’s exit strategy.