China Kazakhstan Border Agreement
The border management authorities of both countries regularly conduct meetings and sometimes even joint border patrols.  Long before the founding of the Kazakh nation, the Kazakhs forged links with the Tarim Basin. In 1456, Kelie (烈) and Jianibieke (贾尼别) attacked the Moghulistan who controlled the Tarim Basin. Esen Buqa II gave the western part of the western border to Zhetysu two Kazakh kings. This provided territory for the first installation of the Kazakh khanat. Since then, the two countries have united against the enemies and the bride and groom, but they have also fought against each other. In the 16th century, a group of Mongol Oirat crossed the Altai Mountains of the Mongolian plateau to enter the Dzungarian basin and then into the Kazakh steppe. In 1640, the Dsengars brought together the various Mongolian tribes and formed the Dstongar-Khanat. In 1680, the Dstongars defeated the Yarkent Khanate in the Tarim Basin. In the 17th century, the tribunes defeated the second of the three Zhuz of the Kazakh khanat. The Kazakhs were facing a crisis.
 On 16 October 2013, the Standing Committee of the National People`s Congress (NPCSC) in Kazakhstan And China signed a Memorandum of Understanding. The agreement is the main intermediate legislation between the two nations that advance bilateral relations. The law helps the two parliaments to meet to discuss bilateral issues between them.  The Sino-Kazakh border or the Sino-Kazakh border (Kazakh: the Chinese border哈边 between the People`s Republic of China and the Republic of Kazakhstan is the international border between the People`s Republic of China and the Republic of Kazakhstan. The border between the two countries was inherited largely from the border between the Soviet Union and the People`s Republic of China, and formerly between the Russian Empire and the Qing Empire; But it was not completely delineated until the late 20th and early 21st centuries. According to the international border commissions that have demarcated the borders, the border is 1,782.75 km long. [Citation required] Additional agreements were signed on 24 September 1997 and 4 July 1998 to more precisely delineate some small sections of the border.   In subsequent years, the local border was demarcated by joint commissions. According to the minutes and maps of the commissions, the border between the two countries is 1782.75 km long, of which 1215.86 km of land border and 566.89 km of border along (or beyond) rivers or lakes. The work of the Commissions has been documented by several common protocols, concluded with the protocol signed in Beijing on 10 May 2002.   The origins of the China-Kazakhstan border date back to the mid-19th century, when the Russian Empire succeeded in establishing control of Lake Zaysan.
The establishment of the border between the Russian Empire and the Qing Empire, which is not too different from the present Sino-Kazakh border, was provided for by the Beijing Agreement of 1860;  The actual boundary of the convention was drawn by the Chuchak Protocol (1864), which left Lake Zaysan on the Russian side.   The military presence of the Qing Empire in the Irtysh Basin collapsed during the Dungan Revolt (1862-1877). After the fall of the rebellion and the recapture of Xinjiang by Zuo Zongtang, the border between the Russian and Qing empires in the Irtysch Basin was slightly adapted by the Treaty of St. Petersburg (1881) in favor of Russia. Kazakhstan and China are the co-founders of the Shanghai Cooperation Organization (SCO).  In the development of relations with China, Kazakhstan aims to compensate for the geopolitical and economic influence of its northern neighbour, Russia.   However, there are potential conflicts over China`s cultural ties between the Kazakh people and the Uighurs of China`s Xinjiang province, which could influence a Uighur separatist movement.  China also wants to prevent U.S.