Pakistan said on Monday U.S. 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.

The overture to Khan represents a sea change from Trump's normally harsh rhetoric toward Pakistan, and will add to growing speculation that the United States is planning to pull out of Afghanistan in the near future.