Washington - A premature withdrawal of US troops from Afghanistan would be a strategic mistake, President Donald Trump’s nominee to be the top military officer said on Thursday, as the United States and Taliban make progress to end the nearly 18 years of war.

“I think pulling out prematurely would be a strategic mistake,” General Mark Milley, currently the Army’s chief of staff and nominee to head the joint chiefs of staff, told a Senate Armed Services Committee hearing.

Milley said he believed the war would eventually be brought to an end through a negotiated settlement with the Taliban. He added that there was “some progress” in that effort.

The United States and the Taliban are getting closer to a deal that is expected to be centreed on a US promise to withdraw troops in exchange for a Taliban promise not to let Afghanistan be used as a base for terrorism, officials say.