Iran has sought the help of Pakistan in crushing ISIS. Iran's Chief of Army Staff Major Gen Mohammad Bagheri recently visited the Pakistan-Afghanistan border and discussed ways to boost defence ties with his Pakistani counterpart, Gen Qamar Javed Bajwa. He also met with President Mamnoon Hussain and Foreign Minister Abdullah Hussain Haroon.

New Delhi — An Indian strategic expert said that the crucial meeting between the Iranian army chief and his Pakistani counterpart, which came in the backdrop of uncertainty in India’s engagement with Iran due to US sanctions, is likely to have a decisive impact on India-Iran relations in the near future.

A joint statement issued at the end of the meeting mentioned cooperation in the fight against Daesh. 

"The Iranian army chief's visit to Pakistan is significant amid the changing geopolitics of the region after US sanctions against Iran. The visit will also impact India-Iran ties, which are at a low ebb since the US sanctions. Iran's cosiness with Pakistan is likely to adversely affect India's relations with Iran and it is likely to impact the Chabahar Port project also," Qamar Agha, a leading strategic expert, told Sputnik. 

Iran and Pakistan have also charted a comprehensive military framework for mutual cooperation in the areas of security, the fight against terrorism and the exchange of information, according to a joint statement.

Iran and Pakistan share a 1,000-kilometre-long common border. This is the first visit by an Iranian army chief to Pakistan since the Islamic Revolution in 1979.