Turkestan, also spelt Turkistan (literally "Land of the Turks" in Persian), refers to an area in Central Asia between Siberia to the north and Iran, Afghanistan, Kashmir, and Tibet to the south, the Caspian Sea to the west and the Gobi Desert to the east.
"Turkestan" was used to describe any place where Turkic peoples lived.
On their way southward during the conquest of Central Asia in the course of the 19th century, the Russians under Nikolai Aleksandrovich Veryovkin took the city of Turkistan (in present-day Kazakhstan) in 1864. Mistaking its name for that of the entire region, they adopted the name of "Turkestan" (Russian: Туркестан) for their new territory.
As of 2015, the term labels a region in Central Asia which is inhabited mainly by Turkic peoples, but the regions also contained peoples who were not Turkic, such as the Tajiks, and excluded some who were. It includes present-day Turkmenistan, Tajikistan, Kazakhstan, Uzbekistan, Kyrgyzstan and parts of Xinjiang (also known as East Turkestan). Often, the Turkic regions of Afghanistan and Russia (Tatarstan and parts of Siberia) are included as well.
The history of Turkestan dates back to at least the third millennium BC. Many artifacts were produced in that period, and much trade was conducted. The region was a focal point for cultural diffusion, as the Silk Road traversed it. Turkestan covers the area of Central Asia and acquired its "Turkic" character from the 4th to 6th centuries AD with the incipient Turkic expansion.
Turkic sagas, such as the Ergenekon legend, and written sources such as the Orkhon Inscriptions state that Turkic peoples originated in the nearby Altai Mountains, and, through nomadic settlement, started their long journey westwards. Huns conquered the area after they conquered Kashgaria in the early 2nd century BC. With the dissolution of the Huns' empire, Chinese rulers took over Eastern Turkestan. Arab forces captured it in the 8th century. The Persian Samanid dynasty subsequently conquered it and the area experienced economic success. The entire territory was held at various times by Turkic forces, such as the Göktürks until the conquest by Genghis Khan and the Mongols in 1220. Genghis Khan gave the territory to his son, Chagatai and the area became the Chagatai Khanate. Timur took over the western portion of Turkestan in 1369 and the area became part of the Timurid Empire. Eastern portion of Turkestan was also called Mogulistan, and continued to be ruled by descendants of Genghis Khan.
Known as Turan to the Persians, western Turkestan has also been known historically as Sogdiana, Ma wara'u'n-nahr (by its Arab conquerors), and Transoxiana by Western travellers. The latter two names refer to its position beyond the River Oxus when approached from the south, emphasizing Turkestan's long-standing relationship with Iran, the Persian Empires and the Umayyad and Abbasid Caliphates.
Turkestan is roughly within the regions of Central Asia lying between Siberia on the north; Tibet, Pakistan, Afghanistan, and Iran on the south; the Gobi Desert on the east; and the Caspian Sea on the west. Oghuz Turks (also known as Turkmens), Uzbeks, Kazakhs, Khazars, Kyrgyz, Hazara and Uyghurs are some of the Turkic inhabitants of the region who, as history progressed, have spread further into Eurasia forming such Turkic nations as Turkey and Azerbaijan, and subnational regions like Tatarstan in Russia and Crimea in Ukraine. Tajiks and Russians form sizable non-Turkic minorities.
The region of the Seres is a vast and populous country, touching on the east the Ocean and the limits of the habitable world, and extending west nearly to Imaus and the confines of Bactria. The people are civilised men, of mild, just, and frugal temper, eschewing collisions with their neighbours, and even shy of close [conversation], but not averse to dispose of their own products, of which raw silk is the staple, but which include also silk stuffs, furs, and iron of remarkable quality.— Henry Yule, Cathay and the Way Thither
In ancient times all the districts of Transoxania had belonged to the kingdom of China [Ṣīn], with the district of Samarqand as its centre. When Islam appeared and God delivered the said district to the Muslims, the Chinese migrated to their [original] centers, but there remained in Samarqand, as a vestige of them, the art of making paper of high quality. And when they migrated to Eastern parts their lands became disjoined and their provinces divided, and there was a king in China and a king in Qitai and a king in Yugur.— Marwazī
Muslim writers viewed the Khitai, the Gansu Uighur kingdom and Kashgar as all part of "China" culturally and geographically, with the Muslims in Central Asia retaining the legacy of Chinese rule in Central Asia by using titles such as "Khan of China" (تمغاج خان) (Tamghaj Khan or Tawgach) in Turkic and "the King of the East in China" (ملك المشرق (أو الشرق) والصين) (malik al-mashriq (or al-sharq) wa'l-ṣīn) in Arabic, which were titles of the Muslim Qarakhanid rulers and their Qarluq ancestors.
The title Malik al-Mashriq wa'l-Ṣīn was bestowed by the 'Abbāsid Caliph upon the Tamghaj Khan, the Samarqand Khaqan Yūsuf b. Ḥasan. Afterwards, coins and literature had the title Tamghaj Khan appear on them, which continued to be used by the Qarakhanids, the Transoxania-based Western Qarakhanids and some Eastern Qarakhanid monarchs. Therefore, the Kara-Khitan (Western Liao)'s usage of Chinese things such as Chinese coins, the Chinese writing system, tablets, seals, Chinese art and other items from Chinese culture such as porcelein, mirrors, and jade was designed to appeal to the local Central Asian Muslim population, since the Muslims in the area regarded Central Asia as former Chinese territories and viewed connections with China as prestigious. Western Liao's rule over Muslim Central Asia reinforced these Muslims' view that Central Asia was a Chinese territory. For example, Turkestan and Chīn (China) were identified with each other by Fakhr al-Dīn Mubārak Shāh, with China being identified as the country where the cities of Balāsāghūn and Kashghar were located.
The Liao Chinese traditions and the Qara Khitai's clinging helped the Qara Khitai avoid Islamization and conversion to Islam. The Qara Khitai used Chinese and Central Asian features in their administrative system.
Although in modern Urdu Chin means China, Chin referred to Central Asia in Muhammad Iqbal's time, which is why Iqbal wrote that "Chin is ours" (referring to the Muslims) in his song Tarana-e-Milli.
The Tang Chinese reign over Qocho and Turfan and the Buddhist religion left a lasting legacy upon the Buddhist Uyghur Kingdom of Qocho with the Tang presented names remaining on the more than 50 Buddhist temples with Emperor Tang Taizong's edicts stored in the "Imperial Writings Tower " and Chinese dictionaries like Jingyun, Yuian, Tang yun, and da zang jing (Buddhist scriptures) stored inside the Buddhist temples and Persian monks also maintained a Manichaean temple in the Kingdom., the Persian Hudud al-'Alam uses the name "Chinese town" to call Qocho, the capital of the Uyghur kingdom.
The Turfan Buddhist Uighurs of the Kingdom of Qocho continued to produce the Chinese Qieyun rime dictionary and developed their own pronunciations of Chinese characters, left over from the Tang influence over the area.
The modern Uyghur linguist Abdurishid Yakup pointed out that the Turfan Uyghur Buddhists studied the Chinese language and had Chinese books such as Qianziwen (the thousand character classic) and Qieyun *(a rhyme dictionary) and it was written that "In Qocho city were more than fifty monasteries, all titles of which are granted by the emperors of the Tang dynasty, which keep many Buddhist texts as Tripitaka, Tangyun, Yupuan, Jingyin etc."
In Central Asia the Uighurs viewed the Chinese script as "very prestigious" so when they developed the Old Uyghur alphabet, based on the Syriac script, they deliberately switched it to vertical like Chinese writing from its original horizontal position in Syriac.
The last major victory of Arabs in Central Asia occurred at the Battle of Talas (751). The Tibetan Empire was allied to the Arabs during the battle. Because the Arabs did not proceed to Xinjiang at all, the battle was of no importance strategically, and it was An Lushan's rebellion which ended up forcing the Tang Chinese out of Central Asia. Despite the conversion of some Karluk Turks after the Battle of Talas, the majority of Karluks did not convert to Islam until the mid 10th century, when they established the Kara-Khanid Khanate. This was long after the Tang dynasty was gone from Central Asia.
Barthold states that the Islamic rule over Transoxiana was secured at the Battle of Talas. Turks had to wait two and a half centuries before reconquering Transoxiana when the Karakhanids reconquered the city of Bukhara in 999. Professor Denis Sinor said that it was interference in the internal affairs of the Western Turkic Khaganate which ended Chinese supremacy in Central Asia, since the destruction of the Western Khaganate rid the Muslims of their greatest opponent, and it was not the Battle of Talas which ended the Chinese presence.