Pakistani Prime Minister Imran Khan has held his first face-to-face talks with US President Donald Trump during a trip to Washington DC.
The meeting was part of a push to mend relations, which have been strained by the Afghan conflict.
Mr Trump reduced security aid to Pakistan early last year, accusing the country of “lies and deceit”.
At the White House meeting on Monday, Mr Trump also offered to mediate in the Indian-Pakistani conflict in Kashmir.
He said that he was making the offer after Indian Prime Minister Narendra Modi requested that he “mediate or arbitrate” in the 70-year-old territory dispute between the two nations.
“If I can help, I would love to be a mediator,” Mr Trump said on Monday.
“If I can do anything on that let me know.”
What else did the leaders say?
Mr Trump said that Pakistan was helping the US to “extricate” its troops from Afghanistan, through political negotiations.
The US president said he could win the war in Afghanistan within 10 days, but that he did not want to kill millions of people. He is aiming to persuade Mr Khan to pressure the Taliban into striking a peace deal with the Afghan government.
Mr Khan praised the negotiations, saying: “There is no military solution in Afghanistan. If you go all out military, millions and millions of people will die.”
Mr Trump added that before Mr Khan came into office, the country had been “subversive” to US interests and “did not respect US leadership”.
What are the diplomatic tensions?
Since he won Pakistan’s general election just under a year ago, Mr Khan has called for “mutually beneficial” ties with America, while remaining an outspoken critic of US anti-terrorist tactics such as drone strikes.
The Trump administration is trying to negotiate its military withdrawal from Afghanistan with the Taliban, a militant group it has long accused Pakistan of supporting.
Mr Khan has previously said that US assistance was “minuscule” compared with what the US-led “war on terror” had cost Pakistan.
As well as counter-terrorism and defence, the two leaders were likely to discuss trade and investment as Mr Khan battles to fend off a balance of payments crisis after a bailout from the International Monetary Fund.
Source: BBC NEWS