On 9 February 1965, it was announced that President Ayub Khan would travel to China. On 2 March 1965, President Ayub Khan and his officials departed for China for an eight-day visit. During his trip, on March 7, a joint communiqué was released, emphasizing common concerns of interest and assuring mutual cooperation. President Ayub Khan's visit to China in 1965 is significant, as it marked the first trip by any Pakistani president, reflecting the shifts in Pakistan's foreign policy during the 1960s. Subsequently, virtually all Pakistani presidents visited China.
Pakistan recognized the Republic of China in 1950; however, diplomatic relations were established in 1951. The Sinorelations between China and Pakistan relations in the initial decade can be classified into three distinct phases. The first period spanned from 1951 to 1954, during which relations were characterized by low levels of trade, with occasional official visits between the two countries. The second phase was initiated following the Bandung Conference, where significant progress was made in the exchange of talks. Much enthusiastically displayed by the Chinese side rather than the Pakistani side. The third phase began in 1957 and continued until early 1961, during which the direction of relations shifted downwards. In the beginning, Pakistan was an ally of America and was seen by China as a threat to communism. The border between China and Pakistan was unclear, and the Chinese claimed some areas that were part of Hunza and Gilgit as their own, which was evident in their maps.
Certain statements by Pakistani officials supported the Two-China policy, which weakened the relationship between the two nations. However, the relationship between India and China reached its peak in the 1950s, when both countries encouraged cooperation and brotherhood. At the time of the Non-Alignment Movement, the friendship began to turn into hostile relations between India and China. America began to accord India more importance following the change in government in 1961. The Kennedy administration viewed India as a nation that could counter the rise of Communism and Chinese influence in the region. Pakistan was not granted the same status even though the country was an ally, and the expectations of the Pakistani government that the USA was trying to solve the Kashmir issue by putting pressure on India in exchange for offering it a lot of help proved to be ineffective. India benefited from the various blocs created after the Second World War through its non-aligned foreign policy. The defence pacts signed by the USA and India were also seen as a threat to its safety by Pakistan. This was the right moment for Pakistan to adjust its foreign policy and maintain peace in its relationships with distant foreign countries. In 1959, the government of Pakistan offered to negotiate a border that was not clearly defined with China. The relationship began to improve when China accepted the offer after Pakistan decided to vote for its membership included in the United Nations. 1962, the Sino-India war 1962 also significantly improved relations with Pakistan and China because China's support for Pakistan was primarily based on China's support for Pakistan. In 1963, the Boundary Commission started negotiations, which proved effective and eventually led to the Border Agreement.
The visit by President Ayub Khan was a symbol of goodwill towards China. On his trip, he met with Chairperson Liu Shao-Chi and Premier Chou En-lai. An official joint Communique was released on 7 March. The march aimed to foster a more cooperative and friendly relationship between the two nations, and as a result, friendly discussions were held. From then on, the international policy for both nations was founded on friendly cooperation. Both countries believed that if Asian and African nations adhered to the ten principles included during the Bandung Conference, cooperation could be achieved despite the differences in their respective social systems. The significance of these points was exemplified through the relationships with Pakistan and China.
Both countries were happy to have completed the task of border demarcation stipulated in the border agreement in March 1963. The China-Pakistan boundary commission proved competent for the job, which could improve the relationship between the two nations. Both countries agreed that to achieve political independence, the main prerequisite is the development of their economies, as well as those of African and Asian countries. Both countries focused on the importance of cultural cooperation. They both agreed that racial discrimination and colonialism are the biggest obstacles any nation faces in achieving independence, so these hurdles must be overcome to ensure a peaceful world. Asian-African Solidarity may be a crucial factor in completing the process. They are against the nuclear weaponization process in Southeast Asia, as that would increase the danger of mass destruction. They also emphasized the ban on the use of nuclear weapons. Both countries hope that the Sino-Indian boundary agreement can be realized shortly through negotiations that bring peace to the region. President Ayub has reiterated that the United Nations should recognize China, and the idea that involves two Chinas should be scrapped. They both agreed they believe that the unanswered Kashmir issue is a matter of grave concern for peace and that the United Nations must resolve it following the wishes of the Kashmiri people. Ayub was the President of the United Nations. Ayub was also able to invite China's Chinese chairman to Pakistan, which was greeted with warm acceptance. When he returned from China on 9 9 March 1965, he was delighted by the progress made during the trip.
The trip was of significant importance in Pakistan's foreign policy. Pakistan began its friendship with China. The friendship proved beneficial in the years to come since China was an all-weather friend. China has proven itself to be a true partner by assisting Pakistan through its tough times.