The Islamic Republic of Iran has maintained close ties with Pakistan and has engaged with Afghanistan’s Taliban authorities.