In a tweet, the Premier said, "Pakistan welcomes release of professors Kevin King and Timothy Weeks in Afghanistan".
The Taliban insurgents had released two hostages - Kevin King from the USA and Timothy Weeks from Australia - on Tuesday in a prisoner exchange deal with the Afghan government. But Trump said in September that he was withdrawing an invitation to the insurgents to meet near Washington due to the killing of a United States soldier.
The two leaders further agreed to remain in close contact, according to PM Office. In a telephonic conversation on Thursday, Khan also appreciated Trump's continued engagement as well as mediation offer in Jammu and Kashmir. Afghan President Ashraf Ghani led the exchange but acknowledged that the swap was closely coordinated with the US.
"The two leaders reaffirmed their commitment to strengthening the bilateral trade relationship, which is on track to set a new record this year, as well as investment and people-to-people ties between our countries", White House Deputy Press Secretary Judd Deere said in a statement.
In reaction to the phone call, a spokesman for the Taleban, Zabiullah Mujahid, told DPA that once the USA left Afghanistan, the Taleban will talk with all Afghan sides, but not with the Afghan government as a "legitimate state".
The three members of the Taliban-linked Haqqani network who were released include Anas Haqqani, Haji Mali Khan and Hafiz Rashid. We hope this step gives a boost of confidence to all parties involved to re-engage in the peace process.
The Taliban remains strongly opposed to any peace talks with the Kabul administration, dismissing it as an American puppet.