US Army soldiers stand with Afghan policemen before a joint patrol of Qalanderkhail, outside of Bagram Air Field. Picture: Maya Alleruzzo/AP

Kabul - A spokesman for the Afghan Taliban condemned on Tuesday US President Donald Trump's announcement that he will keep American troops in Afghanistan with no set timetable for withdrawal.

"Instead of continuing of war in Afghanistan, Americans should have thought about withdrawing their soldiers from Afghanistan," Taliban spokesman Zabihullah Mujahid said in a statement issued hours after Trump's televised speech on U.S. policy in Afghanistan and South Asia.

Mujahid said "as long as there is even one American solder in our country", the Islamist insurgents would "continue our jihad".