If you're wondering what Pakistan's connection to the US and Iran is, and why they are positioning themselves to potentially host peace talks between the two countries, here's some context.
What is Pakistan's connection to Iran?
Pakistan shares a 900-kilometre border in its southwest with Iran, and also deep historical, cultural and religious links.
Iran was the first country to recognise Pakistan after independence in 1947. Pakistan returned the favour for the Islamic republic after the 1979 revolution.
They cooperated against Moscow during the Soviet occupation of Afghanistan.
Cross-border militant activity in the Balochistan region is a concern for both.
But Pakistan also represents some Iranian diplomatic interests in Washington, where Tehran has no embassy.
And it is home to the world's second-biggest Shia Muslim population after Iran.
How about the US?
Pakistan's powerful army chief, Field Marshal Asim Munir, has built up a personal rapport with US President Donald Trump and spoke to him last Sunday.
Munir visited Washington with Pakistani Prime Minister Shehbaz Sharif last year after a flare-up in hostilities between Pakistan and India in divided Kashmir.
Sharif praised Trump's "bold and visionary" intervention, while Munir said the US leader deserved the Nobel Peace Prize for stopping an escalation between the nuclear-armed neighbours.
On Iran, Trump said Pakistan knows the country "better than most" and this week shared Sharif's X post that Pakistan was "ready" to host talks to end the conflict.