Uzbekistan Wanderer

Independent travel guides to Samarkand, Bukhara, Khiva & the Silk Road

Culture & History

Khanate of Kokand: History from 1709 to 1876

The Khanate of Kokand from 1709 to 1876: Ming founders, the Qing trade deal, Tashkent, Khudoyar Khan's three reigns, the 1875 revolt and what survives.

Uzbekistan Wanderer artwork for Khanate of Kokand: History from 1709 to 1876, with an illustration of a madrasah portal

Above the carved gates of Khudoyar Khan's palace in Kokand, set in glazed majolica between two slim corner towers, runs a line of Arabic script. It names the building's owner as "Sayyid Muhammad Khudoyar Khan", with a word for greatness attached, according to the description kept by Uzbekistan's official tourism portal (last checked: September 2026).

It was nearly the last thing the Khanate of Kokand ever said about itself. Work on the palace began in 1871 and ran to about 1873. In July 1875 the man named in the tiles was chased out of his own capital, and within months of that a Russian decree had abolished his state altogether.

That makes the inscription a fair summary of the whole dynasty: for more than 160 years it made claims louder than its power strictly supported, and usually got away with it.

A title nobody was entitled to

Start with the word "khan". For most of the khanate's life its rulers didn't use it.

The dynasty begins with Shahrukh Biy, leader of the Ming, an Uzbek tribal group in the Fergana Valley, who ruled from 1709 to 1722. The historian Scott Levi, whose 2017 book The Rise and Fall of Khoqand, 1709–1876 is the standard English-language history, is careful to point out that the Uzbek Ming had nothing to do with China's Ming dynasty. In Uzbek, ming simply means a thousand.

Shahrukh and his heirs took the title biy, a tribal chief's rank, because "khan" had for close to six centuries been reserved in Central Asia for men who could trace a male line back to Genghis Khan. The Ming couldn't. Bukhara's Manghits had the same problem and became emirs instead (the Bukharan emirate's story covers that workaround). Kokand chose a bolder one.

Alim, who ruled from 1799 to 1811, simply declared himself khan. Levi calls it a breach of tradition, and the dynasty then spent real effort making the breach look respectable. Court writers produced the Altun Beshik, or "Golden Cradle", legend, which traced Shahrukh's ancestry back to Babur, the Fergana-born prince who founded the Mughal Empire in India. By the time Khudoyar had "Sayyid", an honorific normally signalling descent from the Prophet's family, set in tile over his gate, stacking up borrowed prestige was an old family habit.

Why the valley, and why then

What made a tribal lordship into a regional power was a combination of Bukhara's weakness and China's arrival. Bukhara had lost its grip on the Fergana Valley in the late seventeenth century as its own coinage and authority decayed. Then, between 1756 and 1759, the Qing conquered the lands that later became Xinjiang, which put a Chinese imperial frontier directly on Kokand's eastern edge. The routes from the valley to Kashgar and Yarkand suddenly led straight into Qing markets.

Levi's central argument is that Kokand rose on integration, not isolation, which cuts against the old textbook line that Central Asia withered once sea trade bypassed the caravans.

Under Narbuta Biy (1770–1799) the whole valley came under the dynasty's control. The khans spent the proceeds on canals, and used access to water to settle tens of thousands of migrants, who then owed their harvests, and their loyalty, to whoever controlled the headworks. They also bought guns: by the middle of the nineteenth century, Levi notes, a valley that Babur had thought could support three or four thousand soldiers was producing a state able to field an army of up to 100,000.

Kashgar: the war that turned into a trade deal

The Qing relationship is the part of Kokand's history most visitors never hear about, and it's a large part of how the khanate got rich.

Kokand long tolerated exiled religious leaders, the khojas, who raided Qing-held Kashgar. In 1830 a Kokandi force besieged the Manchu citadel at Kashgar itself. The campaign failed. Yet the cost of putting it down pushed the Qing into a reversal: under a settlement dated 13 January 1832, Kokand's resident agents, the aqsaqals, were allowed to operate in Qing territory and collect duties from Central Asian merchants there.

Think about how unusual that is. A valley khanate lost a military campaign against the Qing empire and came away with the right to tax traders inside it.

Tashkent, the steppe, and a state thirty times its size

The first half of the nineteenth century was the khanate's high point, and three reigns carry it.

Alim Khan and Tashkent

Alim's lasting gain was Tashkent, taken from Bukharan and Kazakh control by about 1809–1810. It was a mixed city of Turkic and Persian speakers, and for the next fifty-odd years it was ruled from Kokand by appointed governors. So the old Tashkent mahallas Russia captured in 1865 belonged to a Kokandi province, not an independent city. Alim himself didn't last. He was killed in 1811, and his brother Umar took the throne.

Umar Khan, poet-ruler

Umar reigned until 1822 (Britannica dates his start to 1809; Levi's sequence puts it at 1811). He wrote verse under the pen name Amir (often given as Amiri), and his wife Nadira, born in 1792, became one of the best-known women poets the region has produced, writing in both Chagatai Turkic and Persian. Levi calls this a brief Islamic cultural flowering, run on a deliberately Timurid model. The Friday mosque in Kokand, with its long wooden-columned gallery, dates from Umar's reign.

Madali Khan and the overreach

Muhammad Ali, always called Madali, ruled from 1822 to 1842 and presided over the widest borders. In 1820 Kokand had built the fortress of Ak Masjid (modern Kyzylorda, in Kazakhstan) far down the Syr Darya towards the Aral Sea. By 1840, Levi writes, the khanate's territory had grown by a factor of thirty in four decades, to roughly 250,000 square miles and some 3,000,000 subjects, bigger than Bukhara and rivalling it in population.

Then it cracked. Madali's marriages were attacked as breaches of Islamic law, which cost him the clergy's backing. Emir Nasrullah of Bukhara invaded in 1839 and again in 1841–42, briefly occupied Kokand, and had Madali executed in 1842, along with Nadira. The Bukharans were expelled within months, but Kokand never regained its old balance between Bukhara, the steppe and the Qing.

The rulers at a glance

Reign dates for Kokand vary by a year or two between sources. These follow Levi's 2017 study and the Encyclopaedia Iranica entry he co-wrote, with Britannica noted where it differs.

RulerReignWhat changed
Shahrukh Biy1709–1722Ming tribal leader; dynasty's founder
Abdulkarim Biy1734–1750Kokand becomes the capital, around 1740
Narbuta Biy1770–1799Whole Fergana Valley under control; Qing ties
Alim Khan1799–1811First to take the title khan; Tashkent taken
Umar Khan1811–1822 (Britannica: 1809–1822)Court culture peaks; Friday mosque built
Madali (Muhammad Ali) Khan1822–1842Widest borders; 1832 Qing settlement; executed by Bukhara
Khudoyar Khan1845–1858, 1862–1863, 1865–1875Three reigns; palace built 1871–73; overthrown July 1875

Three reigns for one khan

Khudoyar came to the throne aged about twelve in 1845, lost it in 1858, regained it for 1862–63, and returned in 1865 for the final decade. That on-off pattern is the real story of Kokand's last thirty years.

Power was being fought over by factions far more than by rulers. The Qipchaq, a rival Uzbek group, dominated the court in the 1840s and 1850s; Kyrgyz and Qipchaq military leaders repeatedly set khans up and knocked them down. Between Khudoyar's second and third reigns, for instance, the throne went to a nominal khan while real authority sat with the army commander Alimqul, who was killed defending Tashkent against the Russians in 1865.

Russian accounts painted Kokand's last khans as greedy despots, and Khudoyar's hated taxes make that easy to argue. Levi's counterpoint is persuasive: Russian expansion was itself the destabilising force, peeling loyal groups away fort by fort, and the resulting chaos was then cited as the reason to intervene further.

The sequence runs like this. Russia took Ak Masjid in 1853, turned back to the Kokandi steppe forts after the Crimean War, captured Tashkent in 1865 and forced a commercial treaty on Kokand in 1868 that left it a de facto vassal. Khudoyar was a Russian client from the late 1860s, and those are the years he built his palace. The pattern is the same one visible in Khiva, where monumental building sped up after sovereignty had gone; the story of the Khivan khanate shows it even more starkly.

1875–76: the revolt that ended it

The final collapse came from inside, and fast. In July 1875 a rising against Khudoyar, driven by anger at his taxes and at his dependence on Russia, pushed him out of Kokand. He fled to Russian territory. His son Nasr al-Din was placed on the throne, but the revolt spread, and a pretender calling himself Pulad Khan became its figurehead.

Russia answered with force. General Konstantin von Kaufman, the Turkestan governor-general, sent troops into the valley, and Mikhail Skobelev ran a winter campaign through 1875–76 that the historian Alexander Morrison, whose book The Russian Conquest of Central Asia gives the Fergana conquest its own chapter, has described as a series of punitive expeditions that deliberately made war on civilians. Pulad Khan was captured and executed. The last organised resistance in Kokand's name came from the Kyrgyz of the Alai mountains, who surrendered in 1876.

An imperial decree dated 19 February 1876 in the Russian calendar then in use abolished the khanate and turned its territory into Fergana Oblast, a province of the Turkestan Governor-Generalship. It went on to become the richest province of Russian Turkestan, largely on cotton.

The palace had been finished for perhaps three years.

Why so little of the khanate's capital survives

Here's a question visitors reasonably ask: if Kokand was a capital for 136 years, why does the old city feel so thin?

Largely because of 1918, not 1876. After the Russian Revolution, a Muslim-led Turkestan Autonomy was proclaimed in Kokand in November 1917 as a rival to the Bolshevik-controlled Tashkent Soviet. It lasted about three months. Red forces took the city around 20 February 1918, and the old town was burned; death-toll estimates run into the thousands and are still disputed. Much of what a nineteenth-century khanate capital would have left behind went up in that fire, which is why the surviving monuments stand as islands in a mostly Soviet grid.

Of the original 119 rooms (some sources say 113) across seven courtyards on about four hectares, only two courtyards and 19 rooms remain, now housing a regional museum. Khudoyar's jewelled throne isn't there at all: according to the official tourism portal it's in the Hermitage in St Petersburg.

Reading Kokand's monuments as a dynasty timeline

Our practical Kokand day-trip guide handles the route and opening times. The history adds a different way to walk it: in chronological order, one reign per stop.

  • Norbutabek Madrasah belongs to Narbuta Biy's era, the moment the whole valley came under one family.
  • The Friday (Jami) Mosque and the Dakhma-i-Shokhon royal tombs are Umar Khan's, from the court-culture years.
  • Modari Khan Mausoleum, raised in 1825 for Umar's mother, dates from early in Madali's reign, as the khanate was heading for its widest extent.
  • Khudoyar Khan's palace is the client-state finale, built when the borders had shrunk back to the valley.

Walked in that order, the buildings grow more ornate as the state they served gets smaller.

One detail to look for on the facade: the tilework was finished by craftsmen from Rishtan, the valley's ceramics town, and if you're heading east afterwards, the workshops in Rishtan still use the blue-and-white palette you'll have just been looking at. For anyone who wants the full scholarly account before going, Levi's introduction, which lays out the khanate's arc from Shahrukh to annexation, is free to read from the University of Pittsburgh Press.