Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang

Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang
30 Jul 2026 2227 0

Where Winds Meet contains a short, much-argued-about questline called The Paper Moon. Players compare it to Dream of the Red Chamber; others accuse it of using a same-sex relationship as decoration. Setting the argument aside, it packs a Buddhist parable, a story about a state, a story about power and a love story into a very small space. It is a good piece of writing.

The night it turns on is dated 890 CE. Zhang Huaishen is assassinated, the Guiyijun — the regime governing Dunhuang — falls into crisis, the city of Liangzhou begins to come apart. A wedding is left unfinished. A woman who performs conjuring tricks goes into a cold pool. And a woman named Cao Jingguanyin lets the wind dry her tears while the paper moon she is carrying breaks into pieces.

What the game does not tell you is that the sequel to The Paper Moon exists, and it is in the historical record.

Cao Jingguanyin's family — Sogdian in descent, and nobody of consequence when this begins — went on to spend a century building a marriage network across the entire Hexi Corridor, and ended up ruling it.

Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang

First, what the Guiyijun was

A brief orientation, because almost none of this exists in English-language games writing.

Dunhuang sits at the western end of the Hexi Corridor, the strip of oasis towns that carried the Silk Road out of China proper. In 848, a local Chinese notable named Zhang Yichao expelled the Tibetan Empire's garrisons from the region and declared allegiance to the Tang court, which granted him the title of military commissioner. The regime he founded is known as the Guiyijun — the Return-to-Allegiance Army.

It was, in practice, an independent state that maintained the fiction of being a Tang province. It survived the fall of the Tang itself by more than a century. And because Dunhuang's cave-temple libraries were sealed and later recovered, this small frontier regime is documented in extraordinary detail — tens of thousands of manuscripts, including household registers, contracts and letters. We know more about who married whom in tenth-century Dunhuang than about most European courts of the same period.

1. Liangzhou comes apart

Zhang Huaishen was Zhang Yichao's nephew, and was expected to carry on his uncle's project of recovering the Hexi Corridor. Instead he was killed in Dunhuang in 890. The sources are not clear about how — the standard reading is an internal coup.

What he left behind was a succession fight. Suo Xun, Li Mingzhen and Zhang Chengfeng each took their turn at the top. But the Guiyijun had already lost cohesion: after Shazhou was defeated by the Ganzhou Uyghurs and submitted to their khagan, the will to hold the region went with it.

Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang

It is in the middle of this that a name starts appearing in the margins of the Dunhuang manuscripts — the man the game gives Cao Jingguanyin as a father: Cao Yijin.

2. If you cannot beat them, marry in

The Cao were not a great family. In the early years they were junior officers in Zhang Yichao's army — low birth, shallow roots, minor players among the strongmen of the corridor.

Cao Yijin's insight was to stop trying to win on that ground. He could not out-muscle entrenched lineages. He could marry into them.

Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang

His first move targeted the Suo — a clan at the centre of Guiyijun power and, by then, visibly weakening. He married Suo Xun's daughter, who was not only a Suo heiress but also Zhang Yichao's granddaughter through her mother. One wedding attached him to both the Suo and the Zhang. He then took a second wife from the same lineage as Zhang Yichao's own wife.

Two ceremonies, and a family of low birth had become the connective tissue between the three great houses of Dunhuang. It was a generational climb, completed in a season.

Over the following years the Cao daughters went out like seed to more than a dozen leading families of Shazhou — the Yin, the Zhai, the Murong, the Kang. Wherever a Cao woman went, Cao influence took root.

Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang

Habsburg Europe would run this strategy several centuries later, and rather more famously. Cao Yijin was doing it on the northwest frontier of a collapsing Chinese empire five hundred years earlier. Chinese readers online have taken to calling the family "the Cao-sburgs" — a joke rather than a scholarly comparison, but the joke lands.

Cao Jingguanyin, in that context, is a very small piece on a very large board.

3. The marriage empire

In 914, Zhang Chengfeng died and Cao Yijin formally displaced the Zhang. He abandoned the royal title Zhang Chengfeng had adopted, restored the old Guiyijun name, and acknowledged the legitimacy of the central Chinese court.

Which left him exposed on two sides: the Ganzhou Uyghurs to the east, the kingdom of Khotan to the west, neither of them negligible. A new ruler, surrounded.

Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang

His answer was, again, marriage.

He sent an embassy to Ganzhou requesting the khagan's daughter. The khagan agreed. In 916 a Uyghur princess crossed the sand of the Hexi Corridor and arrived at Shazhou to the sound of camel bells. She is the stately figure who appears in the Dunhuang murals as the Heavenly Princess.

The return was immediate and material. Uyghur caravans set up stalls in Shazhou's eastern market, operating a silk-for-horses trade on terms of goods first, silk after, settled annually. Modern Dunhuang scholarship, working from the manuscripts, counts official post stations in the region rising from twenty-eight in the Tang to thirty-five under the Five Dynasties. The Silk Road was open again.

Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang

Cao Yijin also married one daughter to Li Shengtian, king of Khotan, as his queen, and another to the khagan of the Ganzhou Uyghurs.

The Guiyijun's wedding clothes were both dowry and armour.

After his death, his descendants ran the marriage empire for another hundred and twenty years or so — spanning nearly the whole of the Five Dynasties and Ten Kingdoms and into the early Song. Which means that in the third year of Jianlong, 962, the year Where Winds Meet is set, the Cao were still governing Dunhuang.

They did it without cavalry and without conquest. That is what dominance actually looked like here: not territory taken by force, but bloodlines woven together.

4. What was caught in the net

When Cao Jingguanyin's heart breaks on the walls of Liangzhou, her tears are reflecting the most brutal fact about this world — that in the tenth-century Hexi Corridor, the daughters of great families were born as instruments.

Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang

The paper moon breaks. The net does not. Her tragedy is one small tear in it, and it was mended quickly. Daughters kept going out; princesses kept coming in. A hundred and twenty years of Cao rule was paved with paper moons.

And her name, like those of all the sons and daughters married off without ever entering the record, is gone. That moon made of paper is somewhere in the sand of the desert, and morning never came for it.

Where Winds Meet: The Real History Behind The Paper Moon — Cao Yijin’s Marriage Empire at Dunhuang

A century of dominance over Liangzhou was a net woven out of marriage contracts. And the largest prey in it was never the enemy. It was the women who shared the family name.


On sources: This account follows the Dunhuang manuscripts and modern scholarship on the Guiyijun. Zhang Huaishen died in 890; the sources do not establish how, and an internal coup is the standard reading. Cao Yijin displaced Zhang Chengfeng in 914, restored the Guiyijun title and acknowledged the central court; he married a daughter of the Ganzhou Uyghur khagan in 916 — the Heavenly Princess of the Dunhuang murals — and married a daughter to Li Shengtian, king of Khotan, as his queen. Cao rule at Dunhuang ran from 914 into the early Song, roughly a hundred and twenty years. Specific figures such as post-station counts and the terms of the silk-for-horses trade come from modern reconstructions rather than direct manuscript statements, as noted in the text. "The Cao-sburgs" is an internet coinage, not a scholarly term. Cao Jingguanyin is the game's invention; her father Cao Yijin is a documented historical figure, and the two layers are kept distinct throughout.

Image credit: Screenshots and artwork from Where Winds Meet.

0 Comments
Comment on Post

Your email and other information will not be made public. All the following items are required

captcha