In October 1253 the Jinsha River ran grey green between its gorge walls.
There was nobody on the far bank.
Kublai Khan’s soldiers stood on the slope above the water. Horses sneezed. Wind came up the valley and pressed the banners flat against their poles.
No bridge. No boats.
The river was wide enough that the sound of it drowned out men talking.
Local people gave them an answer. Kill a sheep. Tie the four hooves tight. Tie the neck tight. Blow air in through the skin.
One sheepskin, inflated, holds up a man.
Tie several dozen in a row, lay planks across them, and you have a raft.
That night the Mongol army crossed the river lying on sheepskins.
The Chinese phrase for it survives: crossing the river on leather bags.
What waited on the other side was a kingdom three hundred years old, which had not been ruled by its own king for most of that time.
A Country With Two Legs
To understand that night, go back three hundred and sixteen years.
In 937 a soldier named Duan Siping raised troops at Jianchang, destroyed the kingdom that held Yunnan, and took the throne. He called his state Dali.
Its capital had a fine name, Yangjumie, and stood where the old city of Dali still stands, at the foot of the Cangshan range.
The kingdom lasted. It outlived the Northern Song. It outlived the Liao. It outlived the Jin.
It was still there when the Southern Song was already dying.
In those three centuries the Chinese heartland went through five dynasties and more than a dozen emperors. In Dali the family name on the throne never changed.
But the Duan family had long stopped being the ones who spoke.
From the eleventh century the government belonged to a clan named Gao. The Gaos held the office of chancellor generation after generation. Who the king married, who got which post, all of it went through them.
For a stretch the Gaos simply sat on the throne themselves. After a few years they handed it back.
They gave it back because the seat had become a bad seat. Temples multiplied. The treasury emptied. The chiefs of the outlying tribes ran their own corners. What the court could actually order around was a strip of land around Lake Erhai.
Dali was a devoutly Buddhist state, and this is not a figure of speech. One reign built sixty monasteries. Monks walked in and out of the palace while memorials waited outside the door.
By the time Duan Xingzhi came to the throne in 1251, the arrangement was plain. There were soldiers, but the best of them belonged to the Gao clan. The Gaos kept building up their own private forces while the royal domain grew thin.
It was a strange posture for a kingdom. It stood up straight, and its two legs belonged to two different men.
If this sounds familiar, it should. In the seventh century the Merovingian kings of Francia still wore the crown and still sat on the ox cart, while the mayors of the palace ran the war and the taxes. The last of them, a man called Childeric, was quietly tonsured and put in a monastery, and Pepin took the throne. Europe remembers those kings as the do-nothings. Dali had the same shape, three hundred years of it, and it ended in the same place: the strongest family in the country was not the family on the throne.
None of this made Dali a poor mountain kingdom.
Its territory ran from Pu’an in modern Guizhou eastward, to Jiangtou in Burma in the west, down to the Lai Chau country in the south, and north to the Dadu River. It was organised into eight prefectures, four commanderies and four garrison commands, with thirty seven tribal divisions underneath.
It had the three pagodas by Lake Erhai, built centuries before, and markets that never quite closed, fed by three roads, one from Sichuan, one from Tibet, one from Burma.
And it had horses.
The Southern Song needed horses badly. The northern routes were shut by the Jin, so the court opened a licensed market at Hengshanzhai in Guangxi and bought Dali horses there by the thousand. A good horse bought salt, silk, and books.
So Dali was not a poor place. It was a country that knew how to trade and had forgotten how to raise an army of its own.
Nine Years Earlier
The Mongols had come once before.
In 1244 a Mongol force pushed down from Sichuan. Dali sent its general Gao He to stop them. He died at Jiuhe.
The kingdom survived that time because the Mongol Great Khan, Ogedei, died, and the army went home.
The retreat had nothing to do with Dali’s swords.
Nine years later it was different.
In the autumn of 1252 Monge Khan called his younger brother Kublai and gave him an army, and one instruction: go around.
The Mongols had been attacking the Southern Song for more than a decade. The Yangtze line held like a gate of iron. So they decided to come in from the west. Take Dali first. Then drive into the Song from the rear, out of Yunnan.
Almost nobody took that route. To walk it you crossed the edge of the Tibetan plateau, climbed for a thousand miles, and at the end of it met a river.
Kublai led the centre. The western column belonged to the veteran general Uriyangkhadai. The eastern column went to Shoge and Yelie.
Three columns, one meeting place: the walls of Dali.
No One Held the Pass
The centre marched south, crossed the Dadu River, and came down to the Jinsha.
The tribal chiefs of the river country came to see Kublai. They offered the trick with the sheepskins, and they offered something more useful: their allegiance.
Across the water lay Lijiang.
South of that, Jianchuan, Heqing, and almost nobody in between.
North of Dali there was one gate worth the name. The Dragon Head Pass, built by the Duan family at real expense, sat in the narrow gap between the Cangshan mountains and Lake Erhai, astride the only road in from the north.
South of the city stood the Dragon Tail Pass, closing the road out.
Two locks on one door. The Duan kings had repaired and strengthened both for generations, and one reign had paid for a fresh round of work.
A place like that should have cost an army.
It cost nothing. The men holding it had no orders, or the orders never came.
Kublai’s troops walked through the pass and appeared under the capital.
At the same time Uriyangkhadai crossed the Jinsha far to the west and came down at Tacheng, Judian and Shigu. The eastern column crossed and took Chuxiong and Yaoan.
Three sides closed.
Dali was not an easy city to take. It sat with the nineteen peaks of the Cangshan at its back and forty li of lake in front, on a narrow shelf of flat ground, and the wall was built across the narrowest part of that shelf. Eighteen streams came down off the mountain and ran through the streets. The city would not go thirsty.
For a thousand years, any army coming from the north had to break the pass and then break the wall before it could talk about entering.
This time the soldiers arrived from three directions at once.
There were plenty of men inside. The trouble was that the best of them answered to the Gao clan, while the royal domain could call on its own contingent. At the moment when everything depended on one order, two chains of command had to agree on who was in charge.
By the time they agreed, it was light.
The first thing the city did was kill a man.
Kublai sent an envoy in to ask for surrender. The chancellor, Gao Taixiang, wanted to fight to the end. He had the envoy killed.
In the rules of that world, killing an envoy ends the conversation.
After that there was no second road.

Duan Xingzhi and Gao Taixiang led the garrison out and fought with the city at their backs.
They lost.
The two men ran in different directions. The king went east. The chancellor went north, to Yaozhou.
The Mongols entered the capital almost unopposed.
A Strip of Cloth
What Kublai did next ran against the custom of his own army.
He called for a scribe, the scholar Yao Shu, and told him to tear a piece of silk, write on it, and fix it to a pole as a banner. Copies went out into every street.
There were two words on the silk: stop killing.
Dali was not sacked.
The weight of that only shows against the background. In those decades a city that had resisted the Mongols usually met a different arrangement, and everyone in the room knew it. This time the order went out before the gates were even fully open.
The man behind it was Yao Shu, a Confucian scholar from the north who had spent years telling Kublai that a state which kills its taxpayers has nothing left to tax. Once inside, he did a second thing, quieter. He collected the archives of Dali, the registers, the maps, the official correspondence, and had them crated and carried away.
A dynasty’s paperwork left the country that year.
That cuts deeper than a sword. A sword takes people. A ledger takes away the memory of how a place was governed.
The Knife Below the Tower
Gao Taixiang got as far as Yaozhou and was taken.
Kublai sent men to offer him a post.
He refused.
Before the execution he said a sentence that his own historians kept: the fortune of the Duan house will not turn back, heaven has willed it so, and for a minister to surrender his head is simply what his station requires.
They killed him at the foot of the Five Flower Tower.
That tower had been raised centuries earlier by the old Nanzhao kings, to receive envoys from the Chinese court and to store the books those envoys brought. The last chancellor of Dali died under the most respectable roof in his own capital.
Kublai later called him a loyal man and let his descendants hold office for generations.
The next year, 1254, Kublai turned north. Uriyangkhadai stayed to finish the job.
The five cities, the eight prefectures, the four commanderies, and the thirty seven tribes of the Black and White Yi were reduced one by one.
In the autumn Uriyangkhadai caught Duan Xingzhi at Kunze, near modern Yiliang. One account says the arrest happened at Yachi, which is now Kunming.
The last king of Dali was sent north to meet Monge Khan.
Monge did not kill him.
He gave him a gold tablet and sent him home as hereditary governor of Dali, with charge of the soldiers and the taxes of the whole region.
A king who had lost a country went back to govern it for the men who took it. European readers know the shape of this too. John of France, hauled off his horse at Poitiers in 1356, spent years in London as an honoured prisoner while his country paid for him. Defeat in the thirteenth century rarely meant a grave. It meant a change of employer.
In 1257 Duan Xingzhi became the first of the Dali governors, with his seat at Zhongqing, today’s Kunming. In 1260 he rode north with his uncle Duan Fu, hoping to present himself at court. He died on the road.
The road he had lost was not wasted.
In 1258 Monge attacked Sichuan in person and Kublai moved on Ezhou on the middle Yangtze. Uriyangkhadai pulled troops out of Yunnan and marched them north, cutting through Guangxi and fighting his way to Tanzhou, which is modern Changsha.
In 1259 the two armies met beneath the walls of Ezhou.
Six years after crossing a river on inflated sheepskins, those men stood on the middle Yangtze. Dali had been taken to be used as a knife against the Song, and that is exactly what it became.
In 1270 the Yuan merged the two Yunnan commanderies into Dali Route, with its seat on the old capital site, governing one county, two prefectures and five districts.
Four years later a governor named Sayyid Ajall Shams al-Din arrived to create Yunnan province, and he moved the provincial seat from Dali to Zhongqing, which is Kunming.
The centre of power in Yunnan shifted from Lake Erhai to Lake Dian and never moved back.
What Dali left behind was a city, three pagodas, and one broad street with the government taken out of it.
Dali had stood from 937 to 1253. Three hundred and sixteen years, gone in one autumn.
The family, though, was not finished.
From 1254 the Duans held the governorship, and they held it until 1382, when the armies of the Ming came into Yunnan and the last governor handed over the seal.
Another one hundred and twenty eight years.
At the foot of the Cangshan range a stone still stands near the old city wall. It does not carry the name of Kublai. It does not carry the name of Monge. It reads: the stele of the Yuan emperor Shizu, who pacified Yunnan.
Wind has worn the strokes shallow. They can still be read.