President Donald Trump, speaking at a White House meeting with visiting Pakistani Prime Minister Imran Khan, said on Monday the United States is working with Islamabad to find a way out of the war in Afghanistan.

Trump held out the possibility of restoring U.S. aid to Pakistan, depending upon what is worked out, and offered assistance to Islamabad in trying to ease strained ties with India.

Khan told Trump there was only one solution for Afghanistan and that a peace deal with the Taliban was closer than it had ever been. He said he hoped in the coming days to be able to urge the Taliban to continue the talks.