The overture to Imran Khan represents a sea change from Trump's normally harsh rhetoric towards Pakistan, and will add to growing speculation that the United States is planning to pull out of Afghanistan in the near future.
Pakistan said on Monday US President Donald Trump has sought its help with faltering Afghan peace talks, part of intensifying efforts by Trump to end one of America's longest wars.
Trump, in a letter to new Prime Minister Imran Khan, asked for Pakistan's "support and facilitation" in negotiating an end to the war and offered to renew the strained relationship, Pakistan's foreign ministry said.
Pakistani media outlets, whose reporters met with Khan, quoted him as saying Pakistan would continue its efforts to help peace in Afghanistan.
The overture to Khan represents a sea change from Trump's normally harsh rhetoric towards Pakistan, and will add to growing speculation that the United States is planning to pull out of Afghanistan in the near future.
The US president wants to bring to a close the 17-year-old conflict between Afghan security forces and the Taliban, who are fighting to drive out international forces and reestablish their influence in the country.
US officials have long been pushing Pakistan to lean on Taliban leaders, who Washington says are based inside Pakistan, to bring them to the negotiating table.
"He has asked for Pakistan's cooperation to bring the Taliban into talks," Information Minister Fawad Chaudhry said.
Trump told Khan the Pakistan relationship was very important to the United States and to finding a solution to the Afghanistan conflict, Chaudhry added.
The US embassy in Islamabad had no immediate comment on the letter.
Trump has been open about his desire to bring home about 14,000 US troops who remain in Afghanistan as part of Resolute Support and a separate counter-terrorism mission aimed against militant groups such as al Qaeda and Daesh.
"President Trump has also acknowledged that the war had cost both USA and Pakistan. He has emphasised that Pakistan and USA should explore opportunities to work together and renew partnership," the foreign ministry said in a statement.
The ministry added that Pakistan is committed to playing "a facilitation role in good faith".
"Peace and stability in Afghanistan remain a shared responsibility."
Trump has appointed Afghan-born US diplomat Zalmay Khalilzad as a special envoy for Afghanistan, tasking him with pushing through peace talks.
Khalilzad last month set a deadline of April 2019 for the war to end. But Afghan Taliban militants last month rejected the proposed deadline and said a three-day meeting in Qatar between their leaders and Khalilzad, to pave the way for peace talks, ended with no agreement.
Khalilzad on Sunday began an eight-country tour, which includes Pakistan, Russia and Qatar, to promote peace and convince the Taliban to join negotiations.
Officially allies in fighting terrorism, Pakistan and the United States have a complicated relationship, bound by Washington’s dependence on Pakistan to supply its troops in Afghanistan but plagued by accusations Islamabad is not "doing enough."
Last month, Trump said in an interview Pakistan doesn't "do a damn thing" for the United States despite billions of dollars in US aid, adding that Pakistani officials knew of former al Qaeda leader Osama bin Laden's location before his killing by US troops in a 2011 raid inside Pakistan.
Khan hit back by saying the United States should not blame Pakistan for its own failings in Afghanistan and pointed out that the $20 billion in US aid was minuscule compared to over $123bn that was lost to its economy as a result of becoming a US ally in the aftermath of the September 11, 2001 attacks.
The statement had prompted Islamabad to issue a statement which for the first time mentioned Pakistan's role in the raid that killed Osama bin Laden.
In the past, Washington and Islamabad both had refused to confirm if Pakistan had any information regarding the whereabouts of the Al Qaeda leader.
Pakistani officials, who deny offering safe havens to the Afghan Taliban, say their influence on the group has waned over the years.
Last week, Afghan President Ashraf Ghani said he had formed a 12-strong team to negotiate peace with the Taliban, but warned that implementation of any deal would take at least five years.
US drone kills Taliban commander
A US drone strike killed a top Taliban commander in southern Afghanistan, officials confirmed on Sunday.
Mohammad Yasin, governor of restive southern Helmand province, told Anadolu Agency that Mullah Abdul Manan was targeted along with his guards in the Nauzaad district late on Saturday.
According to the local Khama Press, Mullah Abdulu Rahim alias Mullah Abdul Manan - who was the group’s shadow governor for Helmand - was killed with his four comrades and two of his security guards.
Mullah Manan is also said to have been a key figure in the Taliban's special forces, and was against negotiating a truce with Kabul.
Taliban spokesman Zabihullah Mujahed had confirmed his death.