Vol. 1 · No. 336 December 2026
Wednesday, December 2, 2026

Cao Wei: The General Who Took a Dinner Invitation Seriously

A Tibetan army sent word that it would arrive in Qinzhou on a chosen day to eat. Cao Wei, who had held the Song western frontier since he was nineteen, made his own arrangements in a valley called Sandu.

In the autumn of 1016 a Tibetan embassy rode into Qinzhou with a message.

The man leading it did not dress it up. On such and such a day, he said, we will come to Qinzhou and eat.

We intend to dine in your city. On a date we have already chosen.

Qinzhou is modern Tianshui in Gansu. In the eleventh century it was the seat of the Song western command, with Tibetan horsemen to the west and Tangut horsemen to the north, and the sound of hooves somewhere along the border every month of the year. The Song officials in the hall went pale.

The man in the seat of honour did not.

His name was Cao Wei. He was forty-four that year, governor of Qinzhou and military commissioner of the whole Qinfeng circuit. He heard the message out, said that was fine, and began to prepare.

What he prepared was a dinner.


The Dinner Invitation

The Tibetan commander was named Li Lizun.

In the valleys around the Yellow River headwaters he had spent several years pulling the scattered Tibetan clans into one bloc. He had put a twelve-year-old boy on the seat of the tsenpo, the sacred king of the Tibetans, and taken the office of lunbu, which is to say chancellor, for himself. The legitimacy belonged to the boy, whose name was Gusiluo and who carried the blood of the old royal line. The power belonged to Li Lizun.

After some years of being chancellor, Li Lizun wanted the title of tsenpo for himself, and sent envoys to the Song court to ask for it.

Cao Wei sent a memorial up. His answer was short. Do not give it to him.

His reasoning had nothing to do with face and everything to do with geography. The title of tsenpo was not a rank inside one tribe. It was the name that every Tibetan clan on the plateau recognised as the seat above all seats. Hand that name to Li Lizun and he stops being the chief of one valley west of Qinzhou. He becomes the banner of the whole highland.

The court gave him the lesser title of military governor of Baoshun and nothing else.

Li Lizun was furious. He wanted the seat, not the label.

He began to probe the border. Grain taken, horses taken, villages tested, each move a little closer than the last. By that autumn he was marching east with more than thirty thousand men, and he let word run ahead of him. On such and such a day we will eat in Qinzhou.

Cao Wei chose his ground at Sandu Valley, near modern Gangu in Gansu. The valley floor is broad, with slopes on both sides. An army coming east has only one way in.

The first thing he did was not to form ranks. It was to work out distances.

Those men had marched a long way. They would be tired and strung out. When they reached the mouth of the valley they would stop and dress their lines.

That was the moment he wanted.

There was a monk at the front of the Tibetan column.

Tibetan armies carried Buddhist clerics of high rank who rode ahead of the formation, chanting and reading omens, and the whole army watched the movements of that rider. That day the monk rode without stopping.

Cao Wei pointed at him and gave an order to the crossbowmen beside him.

One bolt.

When the monk came off the horse the Tibetan line did not break. It froze. Every man in it was looking at the same spot, waiting for the next line of the chant.

Cao Wei raised the standard and sent three columns forward. He rode in the first.

The Song History gives the result in a single line. More than a thousand heads taken. Thirty thousand horses, cattle, weapons, and stores captured.

Li Lizun ran. His standing in the valleys collapsed within a year, and the boy he had used as a signboard moved to Qingtang, modern Xining, and set up a state of his own. Gusiluo ruled there for decades.

From that year on, whenever Gusiluo heard the name of Cao Wei, he put his hand to his forehead.

That is what Tibetans did before a god or a great man.

The Governor at Nineteen

Cao Wei was the fourth son of Cao Bin.

In the first generation of the Song, that name was the ceiling of the military profession. Cao Bin had taken the kingdoms of Shu and Southern Tang, and after each siege he had forbidden his troops to loot or kill. When he was dying, the emperor asked him who should hold the western frontier, and he named his youngest son.

Cao Wei was summoned, and at nineteen was made governor of Weizhou.

Weizhou is modern Pingliang, close enough to the Tangut state that the smoke from their camps could be seen on a clear day. When a boy of nineteen takes that seal, the veterans in the camp look at him and see his father.

What he did in the first months shut them up.

The Song History says his conduct was that of an old general, and that he was skilled at using spies and knew every movement of the enemy. Those two sentences describe one thing. He did not rely on courage. He relied on knowing.

He was later posted to the garrison of Zhenrong, at modern Guyuan in Ningxia, where the ground is flat and open and made for cavalry. The first thing he did there was walk the line of the old Qin wall.

He followed the ruined earthwork, cut through the hills, dredged the ditches, and joined the broken sections into a single barrier that cavalry could not cross at a gallop. Then he recruited local men who could ride and shoot, gave them land, and exempted them from tax. Farmers in peace, archers in war, costing the treasury nothing.

That arrangement deserves a paragraph of its own. The Song army had several tiers. The imperial guard was paid by the state. The labour corps did the hauling. And there was a third kind, the local militia, men of a place, holding land in that place and defending it. Cao Wei built his frontier out of the third kind. Land, tax relief, a crossbow, drill in the slack season, and a wall to stand on when the horsemen came. The state saved a payroll, the villagers did not have to leave, and the line gained several thousand men who knew every gully in it. The model spread across the northwest and held for a century of standoff with the Tanguts.

He also built towns. On the Jingyuan circuit he built Longgan, which people called the key to the passes of Long and Shu. On the Qinfeng circuit he built Nanshi and renamed it Jingbian.

Those names are still on maps of Gansu. Longde. Jingning.

Sometimes the achievement of a general is not a battle won. It is a battle that never has to be fought.

A Herd of Cattle

Cao Wei had a habit in the field that deserves its own section: he used the psychology of the enemy, and he used it in a way that was almost domestic.

The Song History tells one story.

He took his army out, won a small fight, and the enemy withdrew. He then ordered the captured cattle, sheep, and baggage loaded up and driven back to camp at a walking pace.

His officers were frantic. These animals are worthless, they said. Abandon them and get the men back. If the enemy turns around and comes after us, how do you fight with a herd of cows in front of you?

Cao Wei ignored them and kept the column at a walk.

The enemy turned around and came after them.

The officers were now beyond frantic. Cao Wei told them to wait. Those men have marched a hundred li out and a hundred li back, he said. They are tired, and they are hungry. We have been standing here resting and eating.

Then he beat the drum and broke them a second time.

Nothing was lost. Not even a cow.

The point of the story is not the cattle. It is the arithmetic. He knew what two hundred li costs an army, and he knew it was worth more than a herd.

Another story is colder.

He was governor of Weizhou, with strict orders and, as always, the occasional deserter. One day he was hosting a banquet when an officer came in and reported that several thousand men had gone over to the Tanguts.

The table went silent.

Cao Wei did not change expression. That was my order, he said mildly. Do not mention it to anyone.

The sentence travelled. When it reached the Tanguts, they concluded that several thousand Song soldiers had just arrived in their territory as planted agents, and they killed every one of them.

Several thousand lives, at the price of one sentence.

This is what the Song History means when it says he had many strange plans.

Forty Years Without a Defeat

Cao Wei spent more than twenty years in the northwest.

From Weizhou to Zhenrong, from the Jingyuan circuit to the Qinfeng circuit, the towns he built, the ditches he dug, and the archers he enrolled added up to the entire Song line against the Tanguts and the Tibetans.

Wang Anshi wrote his conduct record. One line in it has survived. For almost forty years as a general, he never lost a battle, and his service in the west was greater than that of any other man.

Song Xiang wrote his epitaph, and used eight characters that are less quoted and more revealing. In office he was hard and exact, and he did not work only at soldiering. Every civil post he held was graded excellent.

The Song History also left a description of him in ordinary times. In quarters he was very much at leisure. Once the army moved, he produced strange plans without number, and his arrivals and departures were too fast to predict.

A man at leisure is a man who is not tensing against the unknown. Real frontier defence means that after the walls are built, the archers enrolled, and the enemy understood, the commander can sit in his hall and drink tea.

A Northern Song column driving captured cattle along a golden valley road - Chinese historical figure illustration

He read. He knew the three commentaries on the Spring and Autumn Annals and was especially strong on the Zuo Tradition. The Song preference for letters over arms is usually dismissed as a slogan. In him it was literal. A fourth son of a family of generals, reading the Zuo Tradition to understand the valley in front of him.

The Cao household produced more than one general. His elder brother Cao Can also held frontier commands, and contemporaries spoke of the two together. Of what their father left them, each son took half. Cao Can took the rule about not killing after a city falls. Cao Wei took the rule about never fighting a battle you have not prepared.

After Sandu Valley he rose to the northern palace commission, then to military governor, and finally to the signed document office of the Bureau of Military Affairs, which put him inside the highest military body in the empire. A man who had spent his life counting cattle in valleys now had a desk in Kaifeng.

The List

In 1020 Cao Wei was demoted.

The stated reason was that he belonged to the faction of Kou Zhun.

That year Kou Zhun was driven out, and Ding Wei took control of the government. Cao Wei had never once called at the gate of Kou Zhun. He had never sent a word to Ding Wei either. In that season, refusing to pick a side was itself a side.

He was demoted twice in succession, down to a general of the left guard, then an observer of Rongzhou, then governor of Laizhou.

A man who had held the northwest for twenty years and never lost a battle was sent to administer one prefecture on the East China Sea. He went, and he did the work. The Song History says that in that post he committed no fault.

The others on that list had less luck. Ding Wei was exiled to Yazhou in 1022. Kou Zhun died at Leizhou in the autumn of the following year. Cao Wei outlived them by seven years, and those seven years may be the reason he was ever recalled.

In 1023 he was restored, made governor of Qingzhou, then of Tianxiong, Yongxing, and Heyang, and rose to military governor of Zhangwu with the title Duke of Wuwei.

He died in 1030, at fifty-eight. He was granted the office of attendant at court and given the posthumous name Wumu.

Wumu means martial and reverent. A century and a half later the same two characters were given to another general, Yue Fei.

In 1063 he was granted a place in the ancestral temple of Emperor Renzong. In 1226 his portrait was hung in the Zhaoxun Hall of Manifest Merit, as one of twenty-four founding servants of the dynasty.

The portrait shows an old man.

The painter probably never saw him at nineteen in Weizhou, when the veterans in the camp were looking sideways at the new governor to see whether he had anything of his own, or only the name of his father.

What he had of his own was one habit he had inherited: after a city falls, do not kill. He held the frontier for forty years and killed a great many men in the field, and he never once reported a victory that had been won by massacre.


He died eight years before the Tanguts declared an empire of their own. The towns he built outlasted him by centuries. Longgan became the seat of the Deshun army. Jingbian became the seat of Jingning prefecture. The names on the maps changed. The positions did not move.

As for that invitation to dine in Qinzhou, nobody sent one to the Song again.

Like (0)
AdminAdmin
Han Mingdi: The Boy Behind the Curtain Who Dreamed of a Golden Man
Previous 11/06/2026 06:30
Jiang Kui: The Musician Who Failed the Exam and Saved a Dynasty of Songs
Next 11/06/2026 06:32

Related posts