Jahanghir Khoja, Jāhangīr Khwāja, or Jihangir Khoja (Uyghur: جهانگیر خوجا, Chinese: 張格爾; pinyin: Zhānggé'ěr; 1788 – 1828) was a member of the influential East Turkestan Āfāqī khoja clan, who managed to wrest Kashgaria from the Qing Empire's power for a few years in the 1820s.
Burhan ad-Din, a Khoja of the White Mountain faction, was the grandfather of Jahangir. Before rebellion broke out in May 1826 and during a fortuitously timed earthquake that destroyed most towns in the Ferghana Valley, Jahangir Khoja managed to flee to Kashgar from Kokand where he had been held in prison in accordance with a secret agreement concluded between the Khanate of Kokand and Qing dynasty China concerning descendants of Appak khoja. Among Jahangir's followers were Kirghiz, Tajiks, and White Mountain fighters. After appearing in Kashgar with only several hundred of his followers, he quickly increased his force with volunteers, and within several months had collected about 200,000 troops under his banner. With these he overthrew Qing power in Kashgar, Yarkand, Khotan, and Yangihissar, having Qing garrisons annihilated in these cities. This led to an increase in slavery in China due to Jahangir enslaving captives. His forces captured several hundred Chinese Muslims (Dungan or Hui) who were taken to Kokand. Tajiks bought two Chinese slaves from Shaanxi that they enslaved for a year before Tajik Beg Ku-bu-te returned them to China. All Chinese captured, both merchants and the 300 soldiers Janhangir captured in Kashgar had their queues cut off when brought to Kokand and Central Asia as prisoners. It was reported that many of the Chinese Muslim merchant captives became slaves with accounts of Chinese Muslim slavery in Central Asia increasing. The queues were removed from Chinese Muslim prisoners and then sold or given to various owners, one of them, Nian, ended up as a slave to Prince Batur Khan of Bukhara, Omar Khan ended up possessing Liu Qifeng and Wu Erqi. The others, Zhu, Tian Li, and Ma Tianxi ended up with various owners but plotted an escape. The Russians record an incident where they rescued the Chinese Muslim merchants who had escaped after they were sold by Jahangir's Army in Central Asia and sent them back to China.
Nevertheless, the Qing Daoguang Emperor managed to mobilize "all forces of Empire, that were put into motion" and by September 1827 had assembled an army of 70,000 in Aksu under the command of General of Ili Chang Ling (zh:长龄). In January 1828, this army moved against Jahangir Khoja. Other sources say that the Chinese Governor led 80,000 Chinese Muslim troops against Jahangir. Jahingir's forces were defeated within one month at a decisive battle on the banks of the Tuman River north of Kashgar. Although his forces during the battle outnumbered those of the Qing, the latter were much better organized being a regular state army. Jahangir had not created a regular army and had disbanded his voluntary army after gaining control of Western Kashgaria and taking the Gulbagh Qing Fortress in Kashgar at the beginning of 1827 when he had slaughtered all its defenders (about 12,000 Manchu and Chinese troops and members of their families). After receiving word that a Qing army was on its way to Kashgar, Jahangir again mustered voluntary troops. This army had no artillery units, despite having captured the six large cannons of the Gulbagh fortress, which were not brought and used in the battle. In contrast, Qing troops applied well-organized intense cannon fire across the Tuman River on Jahangir's positions, sending them into confusion. Mercenaries from Badakhshan, Kokand, Kunduz fled first, then the Kashgarians lost ground. Qing troops rushed to Kashgar and upon entering the city embarked on the wholesale massacre of the local population of about 20,000 civilians. On January 29, 1828, Jahangir managed to escape and hide in the mountainous Alai valley among the Kyrgyzs. Daoguang was dissatisfied with this turn of events and wrote to Chang Ling: "I sent an army to eliminate the evil, you were at the lair of the beast, but let him to escape, now all previous victories have no value, because he is still alive, the germ of future rebellions". Jahangir's capture resulted from the treachery of the former Hakim of Kashgar, Ishak Khoja, who sent a misleading letter to Jahangir telling him that the main body of Qing troops had departed and invited him to Kashgar to regain power. When Jahangir heard the news, he hurried back to Kashgar but was ambushed by Qing troops under the General of Ili, captured and delivered to Beijing. There he was exposed to the attention of China's capital's population, being carried for several weeks in a mobile iron cage through the main streets of Beijing. Finally he was brought to the Daoguang Emperor for interrogation, but, having gone mad due to bad treatment, he was unable to answer any questions. Immediately after the interrogation was completed he was executed. Jahangir Khoja's body was cut into numerous pieces and his bones thrown to the local dogs. His portrait was buried in the hill near Beijing. He was forty years old at the time of his death.
With Jahangir dead, the Chinese decided to punish the Khokandians for their sympathy with the Khojas and imposed restrictions on their exports to Kashgar. In retaliation, at the behest of Muhammad Ali Khan, the Khan of Kokand, Yusuf Khoja (خواجہ یوسف) became ruler of what was at that time known in the west as Chinese Turkestan.
- Encyclopædia Britannica Eleventh Edition, article on Kashgar
- Kim (2003)
- Robert J. Antony, Jane Kate Leonard (2002). Dragons, tigers, and dogs: Qing crisis management and the boundaries of state power in late imperial China. East Asia Program, Cornell University. p. 282. ISBN 1-885445-43-1. Retrieved 2010-11-28.
- This agreement, according to M. Kutlukov, was concluded first by the Kokand ruler Irdana Biy (1751-1770) as soon as the Qing became aware of Khoja Sarymsak (an Ak Taghlik who was the only person among Appak Khoja's descendants to survive the 1757-1759 Qing invasion of Kashgaria), who, via Kabul and Badakhshan, had arrived in Kokand and had settled there. The agreement was confirmed later by the following Kokand rulers: Narbuta Biy (1770-1798), Alim Khan (1798-1810), Omar Khan (1810-1822), and Muhammad Ali Khan (1822-1842). The rulers of Kokand promised in the agreement to hold all Appak Khoja descendants under observation, restrict their activities, and not let them leave Kokand. In exchange, Kokand received every year a definite amount of silver (quantities varied from 250 up to 1000 ingots (yamboos) and tea. Kokand traders were also granted trade privileges in Kashgaria. Jahangir Khoja (1788-1828) was a son of Khoja Sarymsak.
- Among volunteers in Jahangir's Army were a lot of ghalchas (mountain Tajiks), whose tight black costume gave rise to the rumours in Siberia about presence of Europeans among Jahangir's troops, those rumours were also contributed by Russian Foreign Intelligence Service, that being upset of the opportunity, might have gained by British forces in India due to this rebellion, reported of 13 British Body Guards of Jahangir Khoja, seven of them followed him wherever he goes all the time. Last fact was not confirmed by the local sources. According Russian sources, Jahangir's uprising was completely quelled by China by the summer of 1828.
- Millward 1998, p. 298.
- Millward 1998, p. 205.
- Millward 1998, p. 305.
- Laura Newby (2005). The Empire and the Khanate: a political history of Qing relations with Khoqand c. 1760-1860. BRILL. p. 97. ISBN 90-04-14550-8. Retrieved 2010-11-28.
- John King Fairbank (1978). The Cambridge History of China: Late Chʻing, 1800-1911, pt. 1. Cambridge University Press. p. 371. Retrieved 2010-11-28.
- Millward 1998, p. 168.
- Millward 1998, p. 285.
- Christian Tyler (2004). Wild West China: the taming of Xinjiang. New Brunswick, New Jersey: Rutgers University Press. p. 66. ISBN 0-8135-3533-6. Retrieved 2010-11-28.
- Henry Lansdell (1894). Chinese Central Asia A Ride to Little Tibet II. p. 56.
- Kutlukov, M. (1982) Relations between Khanate of Kokand and Qing China. Moscow, Nauka,
- Millward, James A. (1998). Beyond the Pass: Economy, Ethnicity, and Empire in Qing Central Asia, 1759-1864. Stanford University Press. ISBN 9780804729338.