China–Pakistan relations, also referred to as Chinese-Pakistani relations or Sino–Pakistani relations, refers to the bilateral relations between the Islamic Republic of Pakistan and the People's Republic of China (PRC). Formal relations between China and Pakistan were established in 1950, when the Dominion of Pakistan was among the first countries to sever diplomatic relations with the Republic of China (ROC) government in favour of recognizing the PRC as the legitimate "China". Since then, relations between the two countries have been extremely cordial for more than half a century, which are influenced by their similar geopolitical interests. Both countries have placed considerable importance on the maintenance of a "special relationship" between them, and their regular exchanges of high-level visits have culminated in the establishment of various cooperative measures. China has provided economic, technical, and military assistance to Pakistan; both sides regard each other as close strategic allies.
 Bilateral relations have evolved from China's initial policy of neutrality to an extensive partnership driven primarily by Pakistan's strategic importance. The two countries formally resolved all of their boundary disputes with the Sino-Pakistani Agreement of 1963, and Chinese military assistance to Pakistan began in 1966; a strategic alliance was formed in 1972, and economic cooperation had begun in earnest by 1979. Consequently, China has become Pakistan's largest supplier of armaments and third-largest trading partner overall. More recently, China has moved forward with an agreement to cooperate in improving the Pakistani civil nuclear power sector.
 Maintaining close relations with China is also a central part of Pakistan's foreign policy. In 1986, Pakistani president Muhammad Zia-ul-Haq visited China to improve diplomatic relations, and Pakistan was one of only two countries – alongside Cuba – to offer crucial support to China in the aftermath of the 1989 Tiananmen Square protests. On the military front, the People's Liberation Army and the Pakistan Armed Forces share a notably close relationship; China has supported Pakistan's position on the Kashmir conflict, while Pakistan has supported China's position on the Xinjiang controversy, the Tibetan sovereignty debate, and the political status of Taiwan. Military cooperation between the two sides has continued to increase significantly, with joint projects producing armaments ranging from fighter jets to guided missile frigates.
 Both countries have generally pursued a bilateral policy that focuses to strengthen their alliance in all areas. While serving as China's main bridge to the Muslim world, Pakistan has also played an important role in closing the communication gap between China and the United States—namely through the 1972 visit by Richard Nixon to China. Recent rankings have described Pakistan as the country that is most under Chinese political influence. According to a 2014 poll by the BBC World Service, over 75% of Pakistanis view China's influence positively, with less than 15% expressing a negative view. Chinese citizens have been reported in similar polls as holding the third-most positive opinion of Pakistan's influence in the world, behind only Indonesia as well as Pakistan itself. In March 2022, a poll coordinated by Palacký University Olomouc found that 73% of Chinese citizens held favourable views of Pakistan, placing it behind only Russia in that regard.
 Pakistan has a long and strong relationship with China. The long-standing ties between the two countries have been mutually beneficial. A close identity of views and mutual interests remain the centre-point of bilateral ties. Since the 1962 Sino-Indian War, Pakistan has supported China on most issues of importance to the latter, especially those related to Taiwan, Xinjiang, and Tibet and other sensitive issues such as human rights.
 The Chinese leadership has acknowledged Pakistan's steadfast support on key issues. Pakistan helped China in reestablishing formal ties with the West, where they helped make possible the 1972 Nixon visit to China. Pakistan has collaborated with China in extensive military and economic projects, seeing both as counterweights to an Indian-Western alliance. Pakistan has also served as a conduit for China's influence in the Muslim world.
 China also has a consistent record of supporting Pakistan in regional issues. Pakistan's military depends heavily on Chinese armaments, and joint projects of both economic and militaristic importance are ongoing. China has supplied blueprints to support Pakistan's nuclear program.
 Amin argues that the basis of the Sino-Pak entente from its beginning has been "a mutual need to pool together resources to contain perceived Indian aspirations to hegemony over South Asia". He continues: "Both China and Pakistan regard the entente as necessary to maintain a balance of power in the subcontinent favourable to themselves against an India that is believed by both Chinese and Pakistani strategists to be an expansionist power that occupies land regarded as properly belonging to Beijing and Islamabad respectively, and that is intent on expanding further".
 Buddhist monks from the area of what is now Khyber Pakhtunkhwa region of Pakistan were involved in the Silk Road transmission of Buddhism to Han dynasty China. The Han dynasty's Protectorate of the Western Regions bordered the Kushan Empire. Faxian travelled in what is now modern-day Pakistan.
 During World War II, the Hui Muslim imam Da Pusheng (Chinese: 达浦生) toured the Middle East and South Asia to confront Japanese propagandists in Muslim countries and denounce their invasion to the Islamic world. Misinformation on the war was spread in the Islamic Middle Eastern nations by Japanese agents. In response, at the World Islamic Congress in Hejaz, Imam Du openly confronted fake Muslim Japanese agents and exposed them as non-Muslims. Japan's history of imperialism was explained by Du to his fellow Muslims. Muhammad Ali Jinnah, the future founder of Pakistan, met with Imam Du. The Chinese Muslims' anti-Japanese war effort received a pledge of support from Jinnah. The Hindu leaders Tagore and Gandhi and Muslim Jinnah both discussed the war with the Chinese Muslim delegation under Ma Fuliang while in Turkey President İsmet İnönü also met the delegation. Gandhi and Jinnah met with the Hui Ma Fuliang and his delegation as they denounced Japan.
 The Chinese communists defeated the Nationalists in the Chinese Civil War. On 1 October 1949, Mao Zedong announced the founding of the People's Republic of China. Pakistan recognized the new Chinese government on 4 January 1950, becoming the first Muslim country to do so. Diplomatic relations between Pakistan and China were established on 21 May 1951. While initially ambivalent towards the idea of a Communist country on its borders, Pakistan hoped that China would serve as a counterweight to Indian influence. India had recognised China a year before, and Indian Prime Minister Nehru also hoped for closer relations with the Chinese. In 1956, Pakistani Prime Minister Huseyn Shaheed Suhrawardy and Chinese Premier Zhou Enlai signed the Treaty of Friendship Between China and Pakistan, marking closer bilateral ties. Zhou Enlai was statesman who established relations with Pakistan. From there, the relations between the two countries moved from strength to strength.
 With escalating border tensions leading to the 1962 Sino-Indian war, China and Pakistan aligned with each other in a joint effort to counter India and the Soviet Union as both have border disputes with India. One year after China's border war with India, Pakistan and China signed the Sino-Pakistan Agreement. The agreement resulted in China and Pakistan each withdrawing from about 1,900 square kilometres (750 square miles) of territory, and a boundary on the basis of the 1899 British Note to China as modified by Lord Curzon in 1905.
 Geo-political considerations drew China and Pakistan close at a time when Pakistan was a member of two explicitly anti-communist alliances, CENTO and SEATO. Since then, the informal alliance that initially began as mutual opposition towards India has grown into a lasting relationship that has benefited both nations on the diplomatic, economic and military frontiers. Along with diplomatic support, Pakistan served as a conduit for China to open up to the West. China has in turn provided extensive economic aid and political support to Pakistan.
 Since the two sides established their "all-weather diplomatic relations", there have been frequent exchanges between the two countries' leadership and peoples. For example, former Chinese Premier Zhou Enlai received warm welcomes in all of his four visits to Pakistan. When Zhou died in 1976, then-Pakistani Ambassador to China rushed to the Chinese Ministry of Foreign Affairs at 8 in the morning without appointment. Upon arriving at the ministry, the ambassador cried due to his grief in front of Chinese diplomats. In 2004, a road in Pakistani capital Islamabad leading to the Diplomatic Enclave was named "Zhou Enlai Road". It is the first road in Pakistan that is named after foreign leaders. On 27 May 1976, then Chinese Communist Party chairman Mao Zedong, aged 83, received his last foreign guest Pakistani president Zulfiqar Ali Bhutto despite his critical illness, 105 days before his death.
 On 22 May 2013, Chinese Premier Li Keqiang's airplane was escorted by six JF-17 Thunder jets, jointly developed by the two countries, as it entered Pakistani airspace. The premier was also received by both Pakistani president and prime minister upon his arrival at the airport. On 20 April 2015, Chinese President and Communist Party General Secretary Xi Jinping visited Pakistan as his first foreign visit of the year, also the first by a Chinese president in 9 years. Before his arrival, he published an article praising the friendship on Pakistani newspapers like Daily Jang. The Chinese president compared visiting Pakistan with visiting his brother's home. Like previous visit by Premier Li, the airplane was escorted by 8 JF-17 Thunder jets. Xi was given a grand welcome upon his arrival at Noor Khan airbase, a 21-gun salute and guard of honour was presented to him.
 When I was young, I heard many touching stories about Pakistan and the friendship between our two countries. To name just a few, I learned that the Pakistani people were working hard to build their beautiful country, and that Pakistan opened an air corridor for China to reach out to the world and supported China in restoring its lawful seat in the United Nations. The stories have left me with a deep impression. I look forward to my upcoming state visit to Pakistan. Pakistan's military initially depended almost entirely on American armaments and aid, which was increased during the covert U.S. support of Islamic militants in the Soviet–Afghan War. The U.S. under President Richard Nixon supported Pakistan in the 1971 Bangladesh Liberation War. However, the period following the Soviet withdrawal and the dissolution of the Soviet Union led indirectly to the increasing realignment of the U.S. with the previously pro-Soviet India. The Pressler Amendment in 1990 suspended all American military assistance and any new economic aid amidst concerns that Pakistan was attempting to develop a nuclear weapon. Given the support that Pakistan had given them during the War in Afghanistan, many Pakistanis saw this as a betrayal that sold out Pakistani interests in favour of India. This belief was further strengthened as India had developed a nuclear weapon without significant American opposition, and Pakistan felt obligated to do the same. Consequently, the primarily geopolitical alliance between Pakistan and China has since 1990 branched out into military and economic cooperation, due to Pakistan's belief that the U.S. influence and support in the region should be counterbalanced by the Chinese.
 Since the September 11 attacks, Pakistan has increased the scope of Chinese influence and support by agreeing to a number of military projects, combined with extensive economic support and investment from the Chinese.[citation needed] With the U.S.-led War in Afghanistan, there is a general sentiment in Pakistan to adopt a foreign policy which favours China over the United States. Washington has been accused deserting Pakistan in favour of a policy that favours stronger relations with India, while Pakistan sees China as a more reliable ally over the long term.
 The Five Principles of Peaceful Coexistence are part of China-Pakistan foreign policy discourse, and in April 2005 these principles were codified in the Treaty of Friendship, Cooperation, and Good Neighborly Relations signed between the two countries.
 In February 2022, Prime Minister Imran Khan's presence at opening ceremony of 2022 Winter Olympics, Beijing declared support Pakistan on Kashmir conflict, Khan also expressed his commitment to the One-China Policy.
 After 3 Chinese citizens killed in the University of Karachi bombing, Pakistani president Arif Alvi, PM Shehbaz Sharif, foreign minister Bilawal Bhutto and PTI leader Imran Khan made the remarks during a visit to the Chinese embassy where they expressed condolences to the Chinese side over the deaths of the teachers, and strongly condemned the attack.
 In July 2019, Pakistan was one of 50 countries that backed China's policies in Xinjiang, signing a joint letter to the UNHRC commending China's "remarkable achievements in the field of human rights", claiming "Now safety and security has returned to Xinjiang and the fundamental human rights of people of all ethnic groups there are safeguarded.
 In November 2019, Pakistan was one of 54 countries that signed a joint statement supporting China's Xinjiang policies.
 In June 2020, Pakistan was one of 53 countries that backed the Hong Kong national security law at the United Nations.
 There are strong military ties between China and Pakistan. This alliance between two neighbouring East-South Asian nations is significant geopolitically. The strong military ties primarily aim to counter regional Indian and American influence, and was also to repel Soviet influence in the area. In recent years this relationship has strengthened through ongoing military projects and agreements between Pakistan and China.
 According to Stockholm International Peace Research Institute, Pakistan is China's biggest arms buyer, counting for nearly 47% of Chinese arms exports. Since 1962, China has been a steady source of military equipment to the Pakistani Army, helping establish ammunition factories, providing technological assistance and modernising existing facilities.
 Most recently, the Chinese Chengdu J-10B fighter was compared to its closest American counterpart, the Lockheed Martin F-16C Block 52/60, the most advanced F-16, for orders on either aircraft for the Pakistan Air Force, resulting in the wins of the Chinese Chengdu J-10B. Accordingly, the Chengdu J-10C had more advanced technology such as its radar and OLS targeting system, and its new generation stealthy features, such as its DSI intake gave it an edge over the Lockheed Martin F-16.
 China and Pakistan are involved in several projects to enhance military and weaponry systems, which include the joint development of the JF-17 Thunder fighter aircraft, K-8 Karakorum advance training aircraft, a tailor-made training aircraft for the Pakistan Air Force based on the Chinese domestic Hongdu L-15, space technology, AWACS systems, Al-Khalid tanks, which China granted license production and tailor-made modifications based on the initial Chinese Type 90 and/or MBT-2000. The Chinese has designed tailor-made advanced weapons for Pakistan, making it a strong military power in the South Asian region. The armies have a schedule for organising joint military exercises.
 China is the largest investor in Pakistan's Gwadar Deep Sea Port, which is strategically located at the mouth of the Strait of Hormuz. It is viewed warily by both the U.S. and India as a possible launchpad for the Chinese Navy, giving them the ability to launch submarines and warships in the Indian Ocean. China has recently pledged to invest nearly 43 billion US dollars.
 In 2008, Pakistan had purchased military equipment from China for an improved quality of defence arsenal and force to fight the constant attack from foreign militants. This relationship still continues nine years later when Pakistan Army imported Chinese-built Low to Medium Altitude Air Defence System (LOMADS) LY-80 for its air defence system.
 If you love China, love Pakistan too.
 Li Keqiang, Premier of the People's Republic of China
 In the past, China has played a major role in the development of Pakistan's nuclear infrastructure, especially when increasingly stringent export controls in Western countries made it difficult for Pakistan to acquire plutonium and uranium enriching equipment from elsewhere such as the Chinese help in building the Khushab reactor, which plays a key role in Pakistan's production of plutonium. A subsidiary of the China National Nuclear Corporation contributed in Pakistan's efforts to expand its uranium enrichment capabilities by providing 5,000 custom made ring magnets, which are a key component of the bearings that facilitate the high-speed rotation of centrifuges. China has also provided technical and material support in the completion of the Chashma Nuclear Power Complex and plutonium reprocessing facility, which was built in the mid-1990s.
 On 26 January 2015, Chinese Foreign Minister Wang Yi during a conclusion of a two-day visit of Raheel Sharif to Beijing called Pakistan China's "irreplaceable, all-weather friend". Sharif also met Yu Zhengsheng, Meng Jianzhu and Xu Qiliang. On 19 April 2015, China concluded sale of eight conventional submarines worth $5bn, the biggest arms sale by China in its history. The vessels are supplied by the China Shipbuilding Trading Company, and financed to Pakistan at a low interest rate. Pakistan and China also conducted joint maritime exercise dubbed as "Sea Guardian 2" in July, 2022.
 In late April 2023, the Chinese defence minister Li Shangfu facilitated a meeting by Pakistan army chief General Syed Asim Munir in Beijing. The deepening of military ties between Islamabad and Beijing had been worrisome to Western countries.
 China, Pakistan and Afghanistan have coordinated to increase regional stability. Former Foreign Minister Wang Yi has said that China intends to use Xinjiang as a base of economic development for the region, increasing security and facilitating trade.
 China's leadership appreciated Pakistan's fight against terrorism with a special mention of eliminating al-Qaeda, Tehreek-e-Taliban Pakistan (TTP) and the Turkistan Islamic Party (Chinese called East Turkistan Islamic Movement, ETIM), added the ISPR statement. Baloch terrorists especially Majeed Brigade, a faction of the Baloch liberation Army (BLA), launched many attacks on the Chinese interest in Pakistan, China Supports Pakistan's Counterterrorism Plan.
 Pakistan has been one of China's major trade partners. According to China's custom statistics the bilateral trade volume for the calendar year 2017 crossed the US$20 billion mark for the first time. In 2017 China's exports to Pakistan grew by 5.9% to reach $18.25 billion whereas Pakistan's exports to China fell by 4.1% to $1.83 billion.
 Pakistan strongly supported China's successful 2007 application to join the South Asian Association for Regional Cooperation (SAARC) as an observer.
 Economic trade between Pakistan and China has been recently increasing, and a free trade agreement has been signed. Military and technological transactions continue to dominate the economic relationship between the two nations, and China has pledged to increase their investment in Pakistan's economy and infrastructure. As in seventy years the People's Republic of China moved to the center of the world stage, became the world's largest economy (by purchasing power parity rating) in 2014, it has also helped Pakistan by bringing in more of its expertise and investment. The Chinese economic boom has not only helped Pakistan in a way but also ushered new era of development in the country especially after signing of multi-billion CPEC agreement.
 In 2011 China Kingho Group cancelled a $19 billion mining deal because of security concerns.
 On 26 April 2014, China Mobile announced $1 billion of investment in Pakistan in telecommunication infrastructure and training of its officials within a period of three years. The announcement came a day after China Mobile subsidy Zong emerged as the highest bidder in the 3G auction, claiming a 10 MHz 3G-band licence, qualifying for the 4G licence.
 On 22 April 2015, according to China Daily, China released its first overseas investment project under the Belt and Road Initiative for developing a hydropower station near Jhelum.
 At the time of 2022-2023 Pakistani economic crisis, China was the only country that continues to provide loans. China has lent Pakistan more than 2 billion US dollars to prop up its collapsing economy.
 On May 6, 2023, Pakistan's Foreign Minister Bilawal Bhutto Zardari met his Chinese counterpart Qin Gang at the foreign ministry in Islamabad. China reiterated its interest to end the political crisis in Pakistan after Imran Khan was ousted in April 2022. The Chinese official expressed hope that "the political forces in Pakistan will build consensus, uphold stability and more effectively address domestic and external challenges so it can focus on growing the economy."  China had provided a $1 billion Chinese SAFE deposit and a roughly $1.4 billion commercial loan maturing in June 2023. Pakistan's huge debt obligations totaling $77.5 billion, particularly towards China and Saudi Arabia had reached record levels in 2022/23.
 The CPEC will connect Pakistan with China and the Central Asian countries with highway connecting Kashgar to Khunjerab and Gwadar. Gwadar Port in southern Pakistan will serve as the trade nerve centre for China, as most of its trade especially that of oil will be done through the port, which is operated by the China Overseas Port Holding Company, a state-owned Chinese company. Currently, sixty per cent of China's oil must be transported by ship from the Persian Gulf to the only commercial port in China, Shanghai, a distance of more than 16,000 kilometres. The journey takes two to three months, during which time the ships are vulnerable to pirates, bad weather, political rivals and other risks. Using Gwadar Port instead would reduce the distance and possibly the cost.
 The plan seeks to build on a market presence already established by Chinese enterprises, Haier in household appliances, ChinaMobile and Huawei in telecommunications and China Metallurgical Group Corporation (MCC) in mining and minerals. In other cases, such as textiles and garments, cement and building materials, fertiliser and agricultural technologies (among others) it calls for building the infrastructure and a supporting policy environment to facilitate fresh entry. According to the plan, a key element in this is the creation of industrial parks, or special economic zones, would be done with the provision of water, perfect infrastructure, sufficient supply of energy and the capacity of self-service power.
 But the main thrust of the plan actually lies in agriculture, contrary to the image of CPEC as a massive industrial and transport undertaking, involving power plants and highways. The plan acquires its greatest specificity, and lays out the largest number of projects and plans for their facilitation, in agriculture. For agriculture, the plan outlines an engagement that runs from one end of the supply chain all the way to the other. From provision of seeds and other inputs, like fertiliser, credit and pesticides, Chinese enterprises will also operate their own farms, processing facilities for fruits and vegetables and grain. Logistics companies will operate a large storage and transportation system for agrarian produce, as stated by the plan in Dawn.
 The other common investment is expected in information and technology, a full system of monitoring and surveillance will be built in cities from Peshawar to Karachi, with 24-hour video recordings on roads and busy marketplaces for law and order. A national fibre-optic backbone will be built for the country not only for internet traffic, but also terrestrial distribution of broadcast TV, which will cooperate with Chinese media in the "dissemination of Chinese cultures".
 "Pakistan is China's Israel"
 - Xiong Guangkai, Chinese General
 The support that China and Pakistan give each other is considered significant in global diplomacy, and has been compared to Israel–United States relations and Russia–Serbia relations. When confronted by US officials about Beijing's uncompromising support for Pakistan, Chinese General Xiong Guangkai famously said, "Pakistan is China's Israel." Andrew Small, the author of The China-Pakistan Axis: Asia's New Geopolitics, characterizes this remark as "part explanation, part sarcastic jibe, delivered by (China's) military intelligence chief after one too many meetings with US counterparts on the subject."
 According to a Pew survey of Pakistani public opinion in 2010, 84 per cent of respondents said they had a favourable view of China and 16 per cent had a favourable view of the United States. Similarly, the Chinese state-run media has portrayed Pakistan in a favourable light in regional issues. In 2013, this figure increased to 90% of Pakistanis having a favourable view of China.
 Pakistan and China have long praised the close ties the two countries have with each other. Pakistani President Pervez Musharraf referred to China as Pakistan's "time-tested and all-weather friend", while in return Chinese leader Hu Jintao has referred to Pakistan as "a good friend and partner". Some observers have noted these statements as occurring after Pakistani relations with the United States or India have become strained, such as after Osama Bin Laden was killed by American forces without Pakistan's prior permission.
 In July 2013 the Pew Research Center, as part of their Global Attitudes Project, declared Pakistan to have the most positive view of China in the world. According to the research, 81% of Pakistanis responded favourably to China. On the other hand, only 11% of Pakistanis had a favourable view of the United States, the lowest in the world.
 Pakistan, with its strategic position, natural resources and warm-water ports, has long been an ally of Beijing. The Chinese see the south Asian state, the closest they have to a friend both in south Asia and in the Islamic world, as important to the security and development of their western, predominantly Muslim provinces, and as a useful aide in efforts to counter the influence of India. In recent years, links have grown closer.
 The Guardian
 A common quotation referring to China-Pakistan Friendship is, "A Friendship Higher than Himalayas, deeper than ocean, sweeter than honey, and stronger than steel."
 "[Pakistan] no longer try to maintain a middle ground between China and the United States"
 - Hina Rabbani Khar, Pakistani Minister of State for Foreign Affairs
 Dawn has reported that Pakistan's historically relationship with the U.S., the colonial nature of its administrative structure and the Western orientation of most bureaucrats (with Western dual citizenship and degrees from Western universities) is one of the important challenging factors in bilateral relations. In a memo titled Pakistan's Difficult Choices, Pakistani Minister Hina Rabbani Khar argued that the instinct to preserve Pakistan's partnership with the United States would ultimately sacrifice the full benefits of the country's "real strategic" partnership with China.
 The author of The China-Pakistan Axis: Asia's New Geopolitics concludes the book by connecting the bilateral relationship to broader themes in Chinese foreign policy. According to the author, on the one hand, Pakistan is both a Chinese pawn (against India) and platform for power projection, but there are limits to this approach. For instance, as Small notes, "Beijing's counterterrorism strategy has been essentially parasitic on the United States being a more important target for transnational militant groups than China. It's unclear how long that can last."
 if there were recriminations they were not made public. Indeed China's ties with Pakistan, which were established during Mao's rule and are based on shared hostility towards India, thrive on many common interests. A long history of secret deals between their two armies--overrides the problems with Islamic extremism.
 Andrew Small, the author of The China-Pakistan Axis: Asia's New Geopolitics
 Important events: