NEW DELHI (BLOOMBERG) - If there were any doubts about China's intent to keep ties close with its all-weather ally Pakistan, Beijing demolished them with a reported US$2 billion (S$2.72 billion) loan just days after the election of a new Pakistani premier.
While cricketing legend Imran Khan attempts to form a coalition government, China has stepped up to reinforce a geopolitical alliance that shapes the South Asian nation's policies toward the US and India.
The announcement caused Pakistan's rupee to jump the most in nearly a decade as Mr Khan takes power with an economy in chaos.
The gesture speaks to Pakistan's overwhelming reliance on China as a source of financial, diplomatic and military support at a time when US President Donald Trump has cut military aid to Islamabad.
Ultimately, Mr Khan may not have a choice. Pakistan's powerful military has continued to push its civilian counterparts for close ties with China in order to ensure the flow of more than US$60 billion in loans for the China-Pakistan Economic Corridor infrastructure projects.
"There is a deep, far-reaching political consensus in Pakistan for a continued strong partnership with Beijing," said Mr Michael Kugelman, a senior associate for South Asia at the Woodrow Wilson Centre in Washington.
"This is especially true now, with Pakistan's relationship with America facing an uncertain future."
Mr Khan and his Pakistan Tehreek-e-Insaf, or Movement for Justice, won the most seats in an election last week that was marred by allegations of military interference. Like China, Mr Khan acted quickly to send a public message.
"Our neighbour is China, we will further strengthen our relations with it," Mr Khan said as he declared victory in a televised statement.
"The CPEC project which China started in Pakistan will give us (the) chance to bring in investment to Pakistan."
Speaking at a regular press briefing on July 30, Mr Geng Shuang, a spokesman for China's Foreign Ministry said China welcomed the new government.
Mr Khan "will likely try to balance the US and China, but China and Pakistan are mutually dependent", said Dr Wang Yiwei, the director of Renmin University's Institute of International Affairs in Beijing. "He won't be able to change that."
While China was initially focused on former premier Nawaz Sharif's Pakistan Muslim League-Nawaz, or PML-N, Beijing has "diversified its contacts and investments" in Pakistan, said Mr Dhruva Jaishankar, a foreign policy fellow at Brookings India.
At the same time, Pakistan's military - which has ruled the country outright for much of its 71-year history - defines the country's policy toward CPEC projects.
Mr Khan "does not have a lot of wiggle room", Mr Jaishankar said. "We may continue to see a gradual trend of Pakistan drifting closer to China and more distant from the United States. But that would have to do with a number of factors beyond Imran Khan's election."
Indeed, the political consensus on China is especially important now, said Mr Kugelman.
"Pakistan needs powerful friends, and China is one of the few that Islamabad can depend on - Khan knows this, and he'll do what's necessary to ensure that the China-Pakistan relationship remains strong," he said.
One of the most crucial tasks ahead of Mr Khan is Pakistan's ailing economy, which analysts say is likely to push Pakistan toward yet another International Monetary Fund bailout.
Over the weekend, Karachi's Express Tribune newspaper, citing unnamed Finance Ministry officials, reported that Beijing authorised a US$2 billion loan to help Islamabad weather the economic crisis.
The Islamic Development Bank, a multilateral lender based in Saudi Arabia, also activated a three-year US$4.5 billion oil-financing facility, the paper said.
A Finance Ministry spokesman didn't respond to calls or messages seeking comment on Tuesday.
The amount of Chinese loans given to Pakistan over the last 13 months alone comes close to the IMF's last loan of US$6.2 billion. Those vast debts to China have prompted worries from US Secretary of State Mike Pompeo, who told CNBC that he would be watching to see if Mr Khan's new government uses IMF funds to pay off Chinese loans.
"We want the US to see our ties without mixing it up with China," Mr Fawad Chaudhry, a spokesman for Mr Khan's party, said by phone on Wednesday. "We haven't yet taken a final decision to go to the IMF, though we hope the US won't hinder if we seek the fund's support."
The new Chinese loan will help Pakistan shore up falling foreign exchange reserves, said Mr Najam Rafique, director of the Islamabad-based Institute of Strategic Studies. He added that Mr Khan leans toward boosting ties with China.
"China isn't a distant power, it's a neighbour," Mr Rafique said.
Mr Khan "will be trying to improve and build upon what's already in process".