The country has a unique relationship with Afghanistan. They share a 2,570km (1,600 mile) border. They are significant trading partners. There are numerous cultural, ethnic and religious connections. The former Afghan leader Hamid Karzai once described the two countries as inseparable brothers
But for some capitals queuing up to revive their relationship with Islamabad, there are mixed feelings.
Pakistan has not been seen by all as a firm ally in the battle against jihadist terrorism. It has long been accused by many in the United States and elsewhere of providing support for the Taliban, something it denies.
After the 9/11 attacks that were planned in Afghanistan, Pakistan positioned itself as an ally of the US in the so-called “war on terror”.
But at the same time, parts of the country’s military and intelligence establishment maintained links with Islamist groups in Afghanistan like the Taliban. Those links, so it is claimed, at times turned into significant material and logistical support.