Afghans should not misconstrue America's sudden, contentious and near-total withdrawal from parts of Syria as a precursor to a similar move in Afghanistan, US Defense Secretary Mark Esper said Monday. The US last week announced the withdrawal of 1,000 American troops from northeast Syria, days after Turkey launched an offensive against the previously US-backed Kurdish People's Protection Units (YPG), which Ankara considers a terrorist group. Speaking at NATO's Resolute Support mission headquarters in Kabul, Esper said America maintains a "longstanding commitment" to Afghanistan, which it invaded in 2001 to oust the Taliban, and noted US policy direction for the country is completely different. "All these things should reassure our Afghan allies and others that they should not misinterpret our actions in the recent week or so with regard to Syria and contrast that with Afghanistan," he said. Underscoring America's will to stay in Afghanistan, Esper said, was that it still faces a "virulent terrorist threat that originated in the form of Al-Qaeda and now finds itself in the Taliban and ISIS-K and other groups". ISIS-K is the abbreviation for the Afghan Islamic State affiliate. The US and the Taliban were last month on the brink of signing a deal that would have seen some American forces begin to withdraw from Afghanistan in return for various insurgent security commitments. But negotiations collapsed at the last minute when Trump declared talks "dead" following Taliban attacks including one that killed a US soldier. General Scott Miller, who leads US and NATO forces in Afghanistan, said over the past year the US has reduced its military footprint by about 2,000 troops. "As we work in Afghanistan with our partners, we are always looking to optimise the force," Miller said, speaking at the same press conference as Esper. "Unbeknownst to the public, as part of our optimisation over the last year we have reduced our authorised strength by 2,000 here." That force reduction is unrelated to any prospective deal with the Taliban. US Forces-Afghanistan spokesman Colonel Sonny Leggett said the US now has around 13,000 troops in the country. Zalmay Khalilzad, the US special envoy leading negotiations, has spoken informally with Taliban officials in Pakistan, raising the possibility that Washington is seeking to resume talks, and Esper has said he supports a political agreement.