Saudi Crown Prince Mohammed bin Salman.

Kicking off his tour of South Asia and China with a far higher Pakistan investment than expected, the crown prince said the $20 billion figure represents only the start of an economic tie-up that would bring the historic Muslim allies even closer.

ISLAMABAD (Reuters) — Saudi Crown Prince Mohammad Bin Salman on Sunday said Saudi Arabia has signed investment agreements worth $20 billion during his high-profile visit to Pakistan, where tensions were flaring up with nuclear-armed rival India.

Kicking off his tour of South Asia and China with a far higher Pakistan investment than expected, the crown prince said the $20 billion figure represents only the start of an economic tie-up that would bring the historic Muslim allies even closer.

“It’s big for phase 1, and definitely it will grow every month and every year, and it will be beneficial to both countries,” said the crown prince.

“We have been a brotherly country, a friendly country to Pakistan. We’ve walked together in tough and good times, and we (will) continue.”

But Prince Mohammad’s visit is at risk of being overshadowed by Pakistan’s growing tensions with India. Earlier this week a suicide bomber killed 44 Indian paramilitary police in the disputed Kashmir region. New Delhi has accused Pakistan of having a hand in the bombing and vowed to punish Islamabad, which denies involvement.

Cash-strapped and in need of friends, Pakistan welcomed the crown prince with open arms and in grandiose fashion, including sending fighter jets to guide his incoming plane once it entered Pakistani airspace.

Prime Minister Imran Khan and Pakistan’s army chief Qamar Javed Bajwa greeted Prince Mohammad on the red carpet of a military airport in the garrison town of Rawalpindi, before Khan personally drove the crown prince to the capital Islamabad.

“Saudi Arabia has always been a friend in need, which is why we value it so much,” said Khan, while seated next to Prince Mohammad. “I want to thank you for the way you helped us when we were in bad situation.”

Saudi Arabia has in recent months helped keep Pakistan’s economy afloat by propping up its rapidly dwindling foreign exchange reserves with a $6 billion loan, giving Islamabad breathing room as it negotiates a bailout with the International Monetary Fund.

Islamabad has shown appreciation by treating Prince Mohammad’s trip as the biggest state visit since Chinese President Xi Jinping in 2015, soon after Beijing announced plans to invest tens of billions of dollars on infrastructure in Pakistan as part of China’s global Belt and Road initiative.

Most of the agreements signed focused on energy projects, including a $10 billion refinery and petrochemicals complex in the coastal city of Gwadar, where China is building a port. Memorandums of understanding were also signed for investments in minerals and agriculture, Khan said.

The two nations’ relationship has in the past centred on oil-rich Saudi Arabia backing Pakistan’s economy during difficult periods, and in return Pakistan’s powerful army lending support to Saudi Arabia and its royal family.