|Āfāqī Khoja Holy War|
Qing victory over the Afaqis in Kashgar
| Qing Dynasty |
Hunza Princely State
| Khoqand Khanate |
|Commanders and leaders|
| Daoguang Emperor |
| Jāhangīr Khoja |
| Eight Banners |
Green Standard Army
Han Chinese Militia
Hui Chinese Militia
Ishāqis Turkic Followers
Hunza Burusho Soldiers
| Āfāqī Turkic Followers|
In 1759, the Qing dynasty of China defeated the Dzungar Khanate and completed the conquest of Dzungaria. Concurrent with this conquest, the Qing occupied the Altishahr region of Eastern Turkestan which had been settled by the followers of the Muslim political and religious leader Afaq Khoja.
After the Qing conquest, the Chinese began to incorporate Altishahr and the Tarim Basin into their empire. The territory came to be known as Xinjiang. Although the followers of Āfāq Khoja known as the Āfāqī Khojas resisted Qing rule, their rebellion was put down and the khojas were removed from power.
Beginning at that time and lasting for approximately one hundred years, the Āfāqi Khojas waged numerous military campaigns as a part of a holy war in an effort to retake Altishahr from the Qing.
The khojas of Central Asia were a Naqshbandī Sufi lineage founded by Ahmad Kāsānī (1461-1542), known as Makhdūm-i-Azam or the “Great Master." After his death, the followers of Ahmad Kāsānī known as Makhdūmzādas, split into two factions, one led by Āfāq Khoja and another by Ishāqi Khoja.
The followers of Ishāqi Khoja were the first to settle in Eastern Turkestan and became known as the Ishāqis or the Qara Taghliqs (“Black Mountaineers”). The Āfāqī Khojas followed the Ishāqi Khojas into Eastern Turkestan settling in Yarkand where they became known as the Āfāqīs or Aq Taghliqs (“White Mountaineers”).
For over 80 years prior to the Qing conquest, these two khoja factions governed the Altishahr region of Eastern Turkestan including the six major cities (Aqsu, Kashghar, Khotan, Ush Turfan, Yangihissar, and Yarkand) bordering the Tarim Basin.During these times, the two clans competed as rivals and generally treated each other with animosity.
Just before the Qing conquest, the Iskàqís held control of Eastern Turkestan, although the populace was generally calling for change in favor of rule by the Āfāqī Khojas or even the Qing. In 1755–1756, Jahān Khoja and Burhān al-Dīn Khoja, two sons of an exiled Āfāqī Khoja leader, retook power in Yarkand, Tashkent, and the Ili River region of Dzungaria. The restoration of Āfāqī power in the region ended quickly, however, as the two brothers were easily defeated by the Qing in 1759 and later executed.
At that time, the Altishahr region of Eastern Turkestan became part of a fragile Chinese frontier governed by Manchu governors and Turkestani officials including supporters of the Ishāqis. While some Āfāqī families remained in the conquered territory others relocated to Khoqand where they could hide, regroup, and strike back at the Qing. Khoqand, as so, would suddenly find itself involved in Āfāqī Khojas military expeditions aimed at the Chinese.
During the time prior to the initiation of a holy war, animosity and hatred between the resident Muslims and the Qing grew as the result of a number of incidents and the conduct of the Qing.
In the first years after the conquest, local officials appointed by the Qing including ‘Abd Allah, the Hakim Beg of Ush Turfan, used their positions to extort money from the local population. Also during this time, the Qing superintendent Sucheng and his son were abducting Muslim women and holding them captive for months during which time the women were gang-raped. Such activities so angered the local Muslim population that it was reported that "Ush Muslims had long wanted to sleep on [Sucheng and son's] hides and eat their flesh."
As a result, in 1765 when Sucheng commandeered 240 men to take official gifts to Peking, the enslaved porters and the townspeople revolted. ‘Abd Allah, Sucheng, the garrisoned Qing force and other Qing officials, were slaughtered and the rebels took command of the Qing fortress. In response to the revolt, the Qing brought a large force to the city and besieged the rebels in their compound for several months until they surrendered. The Qing then cruelly retaliated against the rebels by executing over 2,000 men and exiling some 8,000 women. This uprising is known today as the Ush rebellion.
During this period a problem greater than such an isolated armed rebellion was the general conduct of the Qing occupiers relative to Muslim women. Garrisoned Qing forces were not permitted to bring their family members to this faraway frontier. As a result, Qing soldiers sought female companionship with Muslim women despite prohibition by statute. Although some marriages did occur, illicit sex and prostitution were more common. Either women were brought into the fortresses at night or the soldiers spent their nights in the cities.
In addition, Qing officials used the power of their positions to exploit Muslim women in a manner similar to the kinds of things Sucheng had done in Ush Turfan. In 1807, Yu-qing the superintendent of Karashahr was accused of a series of abuses. Another Qing official, Bin-jing, was accused of committing a number of crimes during 1818-1820, one of which “dishonored” and caused the death of the daughter of the political advisor and elder of Khoqand.
Although the details of Bin-jing's crimes were suppressed to prevent further discord, the Muslim population during these times was quite aware and quite angered with the on-going fraternization that occurred between the Qing and Muslim women.
Āfāqī Khoja challenge to Qing authority first emerged in 1797 when Sarimsaq, son of Burhān al-Dīn Khoja, attempted to launch a campaign to retake Kashghar but was stopped Narbuta Biy, the ruler of Khoqand.
Attacks on the Qing began in earnest approximately twenty years later in 1820. At that time, Jāhangīr Khoja, the son of Sarimsaq, proposed to the ruler of Khoqand, Umar Khan, that they join as allies and launch a holy war against the Qing.When the proposal was rejected by Umar Khan, Jāhangīr independently led some 300 soldiers on a raid to capture Kashghar. Jāhangīr's forces clashed with the Qing, but were forced to end the expedition even before reaching the gates of the Gulbagh fortress near Kashghar.
In 1825, Jāhangīr and his guerilla force ambushed and killed most every member of a small Chinese detachment. This small victory caused the local tribesmen to rally to Jāhangīr's support and shortly thereafter Jāhangīr attacked the city of Kashghar and executed the governor, a Turki. The Chinese force assigned to the area was too weak to stop the attack which expanded into a general revolt in the cities of Yangihissar, Yarkand, and Khotan where Chinese civilians caught outside the city walls were slain.
In 1826, Jāhangīr gathered another force of Qirghiz tribesmen, Kashgharians, and Khoqandian supporters and made plans for another attack on Kashghar. In the summer, the attack was launched, the city of Kashghar was captured, and the Gulbagh fortress was sieged. As in the prior year, the success of the campaign caused a general rebellion to erupt.
When the khojas attacked, the Qing had the support of the Hui merchants along with the Ishāqi Khojas who opposed the “debauchery” and “pillage” of the Āfāqī under Jāhangīr.In addition, the Dungans assisted the Qing by serving in the Green Standard Army and as a part of the merchant militia that defended Kashghar and Yarkand. In all such cases, this armed citizenry helped the Qing oppose Jāhangīr's attacks.
Meanwhile, in Khoqand, the ruler, Madali Khan, watched the activities close to his border and made the decision to join the holy war in support of Jāhangīr in order to protect Khoqand trade and commerce in the region. When Jāhangīr asked for assistance in capturing the Gulbagh fortress, Madali Khan led a Khoqand army of 10,000 to Kashghar. After participating personally in the battle for 12 days, Madali Khan returned home but left part of the Khoqandian force in Jāhangīr's command. On August 27 after the Qing had exhausted their food supply, the Gulbagh fortress surrendered to Jāhangīr. That summer Jāhangīr also successfully captured Yangihissar, Yarkand, and Khotan.
The Qing responded in the spring of 1827 by sending an expeditionary force of more than 20,000 soldiers to combat the Āfāqī Khoja and by the end of March had recaptured all of their lost territory. Jāhangīr was captured and taken to Peking where he was ultimately executed by slicing (Lingchi).
To protect and defend Altishahr from future attacks, the Qing increased troop levels in the territory, rebuilt the westernmost cities, and constructed stronger fortifications. Trade restrictions and boycotts were imposed against Khoqand for participating in the holy war and for allowing the Āfāqī to take refuge in Khoqand.
As the Qing were undertaking these activities in 1828–1829, Yusuf Khoja, the older brother of Jāhangīr Khoja, continued the Āfāqīs efforts to regain their lost homeland and approached the ruler of Khoqand for assistance just as his brother had done eight years earlier. Although, Madali Khan, who continued to rule Khoqand, really didn't desire to provoke the Qing, Khoqand was feeling the impact of the economic sanctions that had been imposed and felt that he had little to lose if he went to war against the Qing.
As such, Madali Khan supported the continuation of the holy war and allowed his highest military leaders, including Haqq Quli, the overall Commander of the army, to lead a large force against the Qing. Kashghar was easily occupied by September 1830 and the invaders immediately began a siege of the Gulbagh fortress. While the Khoqandians assaulted the Gulbagh fortress, Yusuf Khoja took a large force in an attempt to capture Yarkand.
At Yarkand, Chinese merchants and the Qing military declined to battle openly, taking cover inside fortifications and killing Khoqandi troops from a distance with guns and cannons. Yarkand's Turkic Muslims also helped the Qing defend against the invaders.
Over the next three months, neither the Khoqandian army nor Yusuf Khoja and his partisans were able to make any further conquests. No support of any kind was received from the populace and no major rebellion supported the expedition. Eventually a Qing relief force of 40,000 arrived. By the end of December 1830, the Khoqandian army and Yusuf Khoja had retreated back to Khoqand.
Rather than punish Khoqand for the invasion of 1830, the Qing realized that their former approach of trade sanctions and restrictions was ineffective at stabilizing the territory and preventing conflict. As a result, the Qing entered into an agreement with Khoqand in 1832 that normalized the relationship between the two countries first by pardoning the Kashgharians living in exile in Khoqand and the Kashgharians living in Altishahr who had supported the holy war. The Qing then compensated Khoqandi merchants for their merchandise and property losses. With regard to commerce, the Qing removed the trade sanctions that they had put in place and began treating Khoqand as a favored trading partner with special privileges related to taxes, duties and tariffs.
After the agreement of 1832 was implemented, Khoqand benefited economically from the new relationship with the Qing. As a result, Khoqand had a shared interest in keeping peace in the region and no longer supported the Āfāqī Khoja in their holy war. This ended all large scale khoja holy war military operations for a period of approximately 14 years. Only after 1846, when both Khoqand and China weakened economically due to revolutions, wars, and natural disasters, did the Āfāqīs reignite their efforts to regain Altishahr.
In August 1847, the sons and grandsons of Jāhangīr Khoja and his two brothers including Katta Tore, Yusuf Khoja, Wālī Khān, Tawakkul Tore, and Kichik Khan took advantage of the weakness of the Qing garrisons in Altishahr and crossed the border with a large force to attack Kashghar.The raid was undertaken without the knowledge or assistance of Khoqand and later became known as the 1847 Holy War of the Seven Khojas.
The city of Kashghar was taken in less than a month after which the Qing fortresses in Kashghar and Yangihissar were besieged. The Qing fortresses held strong, however, and the excesses of the Āfāqī Khoja invaders alienated the citizens to such an extent that no support was received from the local Muslim community and no popular uprising occurred as it had in previous raids. To the citizens of the cities attacked, the invaders seemed like Khoqandi agents rather than spiritual liberators.
In November, the Chinese were able to assemble a relief force and ultimately defeat the khojas in battle at Kok Robat near Yarkand. After the battle, the khojas collapsed and fled back to Khoqand.
Throughout the 1850s additional invasions were undertaken independently by the khojas. Despite repeated defeats, the khojas continued to fight for their ancestral claim on Altishahr. The raids seem to become a regular feature of the region's politics during these years and included an invasion in 1852 led by Dīvān Quli and Wālī Khān; an invasion of 1855 led by Husayn Īshān Khwāja; and an invasion in 1857 led by Wālī Khān.
Wālī Khān was successful in capturing Kashghar in 1857 and holding the throne as Amir for approximately three months. In capturing the city, Wālī Khān had the support of the local population at the outset but lost favor for his harsh, tyrannical leadership and the imposition and strict enforcement of dress codes, religious customs and traditions.During his short reign, Wālī Khān also gained notoriety when he infamously killed the German explorer Adolf Schlagintweit for no apparent reason. Ultimately, Wālī Khān was abandoned by his supporters because of his cruelty and defeated by a Qing army.
Compared with the invasions undertaken in 1826 and 1830, the raids of the 1850s lacked any formal state support on the part of Khoqand. In each case, the raids were carried out in an independent manner. After the raid of Husayn Īshān Khwāja and Wālī Khān in 1855, the Qing court formally investigated the invasion and concluded that the raid was not sponsored by Khoqand. As further proof of non-complicity on the part of Khoqand, the ruler of Khoqand, Khudàyàr Khàn, attempted to execute Wālī Khān in 1855 for massacring Muslins during the raid and ordered that surveillance be placed in the future on khoja leaders.
The raids of the khojas in the 1850s ended time and again in failure ultimately because they were unable to create and lead a successful revolt with the support of the Muslim citizenry in both Khoqand and Altishahr.
In the 1860s great changes occurred in China and Altishahr that eventually end the Āfāqī Khoja holy war.
As the decade of the 1860s opened, the Qing economy and military continued to be strained by two major internal revolutions, the Taiping Rebellion and the Nian Rebellion. Both of these revolutions had been on-going for nearly ten years and had forced the Qing to reduce their logistical support and military strength in Altishahr.
Added to the instability in China, fighting between the Dungans and the Han Chinese broke out in the summer of 1862 in the central Chinese Province of Shensi. The fighting grew and became known over time as the Dungan Revolt. As the Qing brought the Taiping army to Shensi to deal with the rebels, the authorities suggested that the Han organize formal militia units to protect themselves. Afraid that the Dungans would ally with the Taiping army against them, the Han militias began to slaughter the Dungans.
The Dungan Revolt rapidly spread throughout Shensi and Kansu provinces. The Qing were not able to get control of the situation in central China until 1864 after the arrival of To-lung-a as the imperial commissioner and military leader. By March 1864, To-lung-a had recaptured most of Shensi province forcing the Dungan militias west into Kansu.
As the Dungan Revolt took place, the Qing worried about the repercussions in Altishahr and ultimately they issued orders to disarm the Dungan soldiers in the Qing army and to execute suspicious individuals.Concerned about such actions and attempting to rally support, the Dungans fighting the Qing in the rebellion issued warnings of an impending Qing massacre of Muslims throughout China.
Such warnings spread west to Altishahr and were responsible among other grievances for the start of a Muslim rebellion that began in June 1864 when a group of Dungans in the small town of Kucha set fire to a marketplace and began killing those whom they considered infidels. The violence escalated and others Muslims joined in the rebellion. The small Qing garrison attempted to stop the violence but was defeated.
By the end of June, armed attacks against the Qing authorities in Yarkand and Kashghar had begun. By the end of July similar rebellions had started in Aqsu, Urumchi, and Ush Turfan.
Although the revolts in each case were initiated by the Dungans, other Muslims were quick to join the rebellion. Even though the Dungan Revolt was not a war of religion, the revolt in Altishahr that was ignited by the Dungans grew into a holy war. In Altishahr, individuals of different ethnicities, tribal affiliations, social backgrounds and classes united as Muslims and rebelled against the Qing regime. The motivations of the Altishahr revolutionaries differed in many cases but beginning at this time in 1864 virtually the entire Muslim population in Altishahr stood together against the infidel Qing rule. As so, the 1864 rebellion which started as a Dungan revolt led to a general widespread Muslim rebellion.
As the Dungans and their Turkic Muslim allies fought for control of the city of Kashghar, requests for aid were made to the ruler of Khoqand, ‘Ālim Quli, and to the Āfāqī Khoja. In response, an expedition led by the renown Khoqandi military commander Ya‘qūb Beg was sent from Khoqand to Kashghar in late 1864. Included as a member of the small force sent to Kashghar was Buzurg Khan, the son of famed Āfāqī leader Jāhangīr Khoja.
Over the next eight months, Ya‘qūb Beg led a coalition of Kyrgyz and Qipchaq tribesmen along with Badakhshi mountaineers and captured Kashghar, Yangihissar, and Yarkand.By the spring of 1866, Ya‘qūb Beg had consolidated his powerbase and overcome Āfāqī khoja challenges from Wālī Khān and Buzurg Khan effectively ending the Āfāqī khoja holy war for Altishahr.
Ya‘qūb Beg went on first to capture Khotan and Kucha in 1867 and then Urumchi and Ush Turfan by the end of 1870. The Qing were expelled from Central Asia and Ya‘qūb Beg ruled an independent Muslim state consisting of the entirety of Altishahr until 1877 when Qing General Zuo Zongtang completed the recapture of Altishahr and occupied Kashghar.
During the reign of Ya‘qūb Beg many khoja religious leaders lost their influence. Many others were executed. After the Qing reconquered the region in 1877, the khoja ceased to be a group that exercised great power.
Today what was known to Central Asians as Altishahr is now a part of the Xinjiang Uygur Autonomous Region of the People's Republic of China. With the creation and administration of the Chinese provincial system there has been extensive immigration of Han Chinese and sinicization of Xinjiang has taken place. Although the Turkic people still maintain a plurality in Xinjiang the population of Han Chinese is very likely to surpass all other ethnicities in the near future.
Ahmad Shāh Durrānī, also known as Ahmad Khān Abdālī, was the founder of the Durrani Empire and is regarded as the founder of the modern state of Afghanistan. In July 1747, Ahmad Shah was appointed as the King of Afghanistan by a loya jirga in Kandahar, where he set up his capital. Assisted by a council of nine advisers from various Afghan tribes, Ahmad Shah pushed east towards the Mughal and Maratha Empires of India, west towards the disintegrating Afsharid Empire of Iran, and north towards the Khanate of Bukhara of Turkestan. Within a few years, he extended his control from Khorasan in the west to Kashmir and North India in the east, and from the Amu Darya in the north to the Arabian Sea in the south.
Dungan is a term used in territories of the former Soviet Union to refer to a group of Muslim people of Hui origin. Turkic-speaking peoples in Xinjiang Province in Northwestern China also sometimes refer to Hui Muslims as Dungans. In both China and the former Soviet republics where they reside, however, members of this ethnic group call themselves Hui because Dungans are descendants of Hui that came to Central Asia.
The Dzungar Khanate, also written as the Zunghar Khanate, was an Inner Asian khanate of Oirat Mongol origin. At its greatest extent, it covered an area from southern Siberia in the north to present-day Kyrgyzstan in the south, and from the Great Wall of China in the east to present-day Kazakhstan in the west. The core of the Dzungar Khanate is today part of northern Xinjiang, also called Dzungaria.
Muhammad Yaqub Bek was an adventurer of Uzbek descent who was the ruler of Yettishar (Kashgaria) from 1865 to 1877. He held the title of Atalik Ghazi.
The Dungan Revolt (1862–1877) or Tongzhi Hui Revolt or Hui (Muslim) Minorities War was a war fought in 19th-century western China, mostly during the reign of the Tongzhi Emperor of the Qing dynasty. The term sometimes includes the Panthay Rebellion in Yunnan, which occurred during the same period. However, this article relates specifically to the uprising by members of the Muslim Hui and other Muslim ethnic groups in China's Shaanxi, Gansu and Ningxia provinces, as well as in Xinjiang, between 1862 and 1877.
Jahanghir Khoja, Jāhangīr Khwāja or Jihangir Khoja, was a member of the influential East Turkestan Afaqi khoja clan, who managed to wrest Kashgaria from the Qing Empire's power for a few years in the 1820s.
Taranchi is a term denoting the Muslim sedentary population living in oases around the Tarim Basin in today's Xinjiang, China, whose native language is Turkic Karluk and whose ancestral heritages include Iranian and Tocharian populations of Tarim and the later Turkic peoples such as the Uyghurs, Karluks, Yaghmas, Chigils, Basmyls and lastly, the Mongolic tribes of the Chagatai Khanate.
Xinjiang historically consisted of two main geographically, historically, and ethnically distinct regions with different historical names: Dzungaria north of the Tianshan Mountains; and the Tarim Basin south of the Tianshan Mountains, currently mainly inhabited by the Uyghurs. They were renamed Xinjiang (新疆) in 1884, meaning "new frontier," when both regions were reconquered by the Chinese Qing dynasty after the Dungan revolt (1862–1877).
Afaq Khoja, also known as Apaq Xoja or more properly Āfāq Khwāja, was a religious and political leader with the title of Khwaja in Kashgaria. He was also known as Khwāja Hidāyat Allāh.
During the Qing dynasty (1644–1911), the Qing rulers were Manchu, not Han, and were themselves a minority in China. The Qing dynasty witnessed five Muslim rebellions. The first and last rebellions were caused by sectarian infighting between rival Sufi Muslim orders.
Khoja or Khwaja, a Persian word literally meaning 'master', was used in Central Asia as a title of the descendants of the noted Central Asian Naqshbandi Sufi teacher, Ahmad Kasani (1461–1542) or others in the Naqshbandi intellectual lineage prior to Baha al-din Naqshband. The most powerful religious figure in the late Timurid era was the Naqshbandi Shaykh Khwaja Ahrar. The Khojas often were appointed as administrators by Mongol rulers in the Altishahr or present-day region of Tarim Basin in Xinjiang, China.
Wali Khan was a member of the Ak Taghliq clan of East Turkestan Khojas, who invaded Kashgaria from the Kokand during the Afaqi Khoja revolts on several occasions in the 1850s, and succeeded in ruling Kashgar for a short while.
Abdul Karim Khan was the ruler of Yarkand Khanate in what is now north-west China (Xinjiang) between 1560 and 1591. He was second son of Abdurashid Khan. During his reign, he lost control over a number of oases and merely acted as the titular figurehead ruler.
The Revolt of the Altishahr Khojas was an uprising against the Qing dynasty of China, which broke out in 1757 during the reign of the Qianlong Emperor. The rebels were led by Khwāja-i Jahān, leader of the White Mountain Sufis. Qing era documents refer to the event as the "Pacification of the Muslim regions". Hojijan and his brother, Burhān al-Dīn, both held the Muslim title Khoja.
Altishahr, also known as Kashgaria, is a historical name for the Tarim Basin region used in the 18th and 19th centuries. The term means 'Six Cities' in Turkic languages, referring to oasis towns along the rim of the Tarim, including Kashgar, in what is now southern Xinjiang Uyghur Autonomous Region of China.
The General of Ili, also known in western sources as the Kuldya Military Governor, was a position created during the reign of the Qing Qianlong Emperor to "pacify" Dzungaria and suppress uprisings by the Khoja "Rebels". The General of Ili governed the entire Xinjiang during Qing rule until it was turned into a province.
The Dzungar conquest of Altishahr resulted in the Tibetan Buddhist Dzungar Khanate in Dzungaria conquering and subjugating the Genghisid-ruled Chagatai Khanate in Altishahr. It put a final end to the independence of the Chagatai Khanate.
The Qing dynasty ruled over Xinjiang from the late 1750s to 1912. In the history of Xinjiang, the Qing rule was established in the final phase of the Dzungar–Qing Wars when the Dzungar Khanate was conquered by the Manchu-led Qing dynasty of China, and lasted until the fall of the Qing dynasty in 1912. The post of General of Ili was established to govern the whole of Xinjiang and reported to the Lifan Yuan, a Qing government agency that oversaw the empire's frontier regions. Xinjiang was turned into a province in 1884.
Holy War of the Seven Khojas was a revolt against the Qing dynasty of China, which broke out in 1847 during the reign of the Daoguang Emperor. The revolt was led by seven Muslim leaders, including Walī Khan, Katta Khan, Kichik Khan and Tawakkul Khoja. The rebels, backed by Kokand Khanate, attacked on Kashgar, Yarkand and Yangi Hisar. The revolt was unsuccessful, but it could in some ways be seen as the initial stages of the uprisings against Qing rule in Altishahr.
Yettishar, commonly known as Kashgaria, was a short-lived Sunni Muslim Turkic state with predominantly Uyghur population that existed in Xinjiang between 1867 and 1877 during the Dungan Revolt against the Qing dynasty. The seven cities were Kashgar, Khotan, Yarkand, Yangishahr, Aksu, Kucha and Korla. In 1873, the state was recognized by the Ottoman Empire as a vassal.