US Defense Secretary Ash Carter warned of the threat from Islamic State in Afghanistan during a surprise visit on Friday days after the Pentagon painted a grim picture of worsening security there.
Carter met troops at a US base near the city of Jalalabad in Nangarhar Province, where about 600 US troops are stationed. Operating Base Fenty is a hub for training, logistics and counter-terrorism efforts across eastern Afghanistan.
Islamic State has seized swathes of territory in Iraq and Syria and in recent months mounted attacks on Afghan security forces in Nangarhar.
The group competes with the Taliban for territory and recruits, say US officials.
“Carter told a news conference after meeting acting Afghan Defence Minister Masoom Stanekzai on Friday.
US Army General John Campbell, who leads international forces in Afghanistan, said Islamic State had coalesced over the last five or six months in Nangarhar and Kunar provinces and had been fighting the Taliban for several months.
He estimated there were between 1,000 and 3,000 members of Islamic State in Afghanistan and said its presence had forced the Taliban to re-direct some resources away from fighting Afghan security forces.
In a report to the US Congress released this week, the Pentagon said that from the beginning of the year to mid-November, there were 27 percent more high-profile attacks in the capital Kabul compared with the same period last year.
Afghan national defense and security forces also had 27 percent more casualties from the beginning of 2015 up to mid-November compared with the same period last year.
Recent setbacks include the brief capture of the northern city of Kunduz by the Taliban, a months-long struggle in Helmand province and an insurgent raid on the airport in the city of Kandahar last week that killed 50 civilians and security personnel.
Campbell said Afghan forces had shown resilience during a “very tough year” but would need assistance for some time.
In mid-October, President Barack Obama reversed plans to reduce the US military presence to a small protection force in Kabul, saying he would prolong the engagement by maintaining a force of 9,800 through most of 2016.
The US troops have the missions of training and advising Afghan security forces and conducting counter-terrorism operations.