Pakistan's foreign minister says Iran and Saudi Arabia have indicated a willingness to pursue diplomacy to end their disputes after Pakistan's prime minister traveled to both countries to try and ease tensions.

Tensions between the rival Middle Eastern countries escalated following last month's attack on the Saudi oil industry.

Shah Mahmood Qureshi said Wednesday that both the Saudi and Iranian leadership indicated a willingness to talk after meeting with Pakistan Prime Minister Imran Khan, who traveled to Iran on Sunday and Saudi Arabia on Tuesday.

In this Oct. 15, 2019, photo provided by the Saudi Press Agency, Saudi King Salman, right, meets with Pakistani Prime Minister Imran Khan, in Riyadh, Saudi Arabia. Khan's visit comes after traveling on Sunday to Iran, where he met President Hassan Rouhani and Supreme Leader Ayatollah Ali Khamenei. (Saudi Press Agency via AP)

In this Oct. 15, 2019, photo provided by the Saudi Press Agency, Saudi King Salman, right, meets with Pakistani Prime Minister Imran Khan, in Riyadh, Saudi Arabia. Khan's visit comes after traveling on Sunday to Iran, where he met President Hassan Rouhani and Supreme Leader Ayatollah Ali Khamenei. (Saudi Press Agency via AP)

Qureshi revealed no additional details.

Khan's mediation efforts come after Washington blamed the Sept. 14 attack on Saudi oil fields on Iran, a charge which Tehran denies. The attack halved the kingdom's oil production.

Since then, Khan has attempted to play the role of facilitator to arrange talks between Riyadh and Tehran.