In the spring of the thirteenth year of Yuanjia, a boat lay at the river wharf outside Jiankang.
The hold was empty. The luggage was stowed. Tan Daoji was waiting for a wind to take him back to his post on the middle Yangtze.
He had come to the capital because the emperor was ill and had asked for him. By the time he arrived the emperor had improved. They met, a few encouraging words were exchanged, and he was told to go back.
He packed, boarded, and waited.
Then a messenger came down from the palace.
The emperor was worse again, the man said. Would the minister of works come up once more. There were things still to be said.
A farewell banquet had been laid out on the bank. The wine was set. The officials were standing in their ranks.
Tan Daoji stepped off the boat and walked back up the road.
He did not come down again.
Grain Made of Sand
To understand that morning, go back four years.
In the eighth year of Yuanjia the northern campaign failed.
That year the plan had been Henan. The main army under Dao Yanzhi went north and retook the country around Luoyang, but the cold came early, the Yellow River froze, and the Wei cavalry crossed on the ice. The Song could not hold, and fell back south with wagons and stores scattered along the road behind them.
The court sent Tan Daoji to salvage it.
He had few men and little grain. He fought more than thirty engagements on the way up and won most of them. Then, at Licheng, it went wrong.
Wei cavalry worked around behind him and burned his grain wagons.
An army without grain cannot fight. He decided to withdraw.
Then a man from his own camp slipped over to the Wei lines and told them the Song had no food left.
The Wei army came after him.
That night the Song camp lit torches and piled sand in heaps in the yard. Soldiers stood over the heaps with measuring scoops, calling out the amounts as they measured.
Scoop by scoop, bushel by bushel, in a loud voice that carried a long way.
On top of each heap of sand they spread a layer of white rice. It was all the grain they had left.
In the morning the Wei scouts climbed the ridge and looked down at the Song camp, and what they saw was heap after heap of grain.
The Wei commander concluded that the man who had come over to him had lied.
The man was executed.
The Song army marched out that night.
Tan Daoji had every soldier put on armour. He himself wore white, sat in a carriage, and came out through the camp gate at a walking pace.
The Wei army looked at that and suspected an ambush behind the hill. They did not close.
And so a starving army walked home in good order, past an enemy who had every advantage.
That night has been taught in military manuals ever since.
The lesson is not courage. It is steadiness. When the grain is gone, the men must not panic. If the men panic, the army is gone in truth.
There is a second layer to it.
Everyone in that camp knew there was no grain. The other side did not. In war the outcome often depends not on what you have but on what the enemy believes you have.
That is a wager on the other man’s judgement, not on your own strength. It can be made once. It cannot be lived on.
The Summons
Tan Daoji came back to court, was rewarded, and given the title minister of works with a command at Xunyang.
Xunyang sits on the middle Yangtze. Whoever holds it controls the road between the upper and lower river. It has always been a posting that matters.
He stayed there some years.
North of the river the fighting never stopped. Emperor Wen wanted Henan back, launched several campaigns, and lost more than he won.
The court’s attitude to Tan Daoji was delicate.
He was an old general of the founder. He had marched under Liu Yu from the beginning. In the northern campaign against the Later Qin he and Wang Zhen’e had taken Luoyang and the Tong pass, and he had been in the leading column when Liu Yu entered Chang’an.
A record like that, an army like that, and several capable sons, kept certain people awake.
The History of Song records the emperor’s verdict on him: he has ability, but no great ambition.
It sounds like praise. It is a classification. A man with ability and no ambition is a man who can be dealt with.
In the twelfth year of Yuanjia the emperor fell ill and called him to court. He came. The emperor recovered and sent him back.
The next spring he prepared to leave.
The boat had not sailed when the emperor got worse again. Liu Yikang, prince of Pengcheng, who was running the government, and Liu Zhan, commander of the guards, moved.
Each had his own arithmetic. Liu Zhan wanted the government to himself and did not want Tan Daoji back at court to share it. Liu Yikang was the emperor’s younger brother and the chief minister, and his fear was that if the emperor died he would not be able to hold an old general with an army.
An edict came out. Tan Daoji was plotting rebellion.
Neither of those two ended well either. In the seventeenth year of Yuanjia Liu Zhan was executed and Liu Yikang was sent out of the capital. In the twenty eighth year Liu Yikang was ordered to kill himself.
Your Own Wall
They arrested him in a rage.
The History of the Southern Dynasties describes the scene. His eyes blazed. In the time it takes to turn around, he drank a whole measure of wine.
A measure was ten bushels. The figure is in the text and is probably not literal. What the writer wanted to say was something else: this man did not soften at the end.
He tore the cloth from his head and threw it on the ground.
Then he said one sentence.
You are breaking your own Great Wall.
The men who died with him were his eleven sons, and two of the generals who had served under him, Xue Tong and Gao Jinzhi.
The History of Song tells this differently from the History of the Southern Dynasties.
The History of Song was compiled by men of the same dynasty, a few decades after the event. It records that the emperor issued the edict, read out the charges, had the sentence carried out, and granted a general amnesty to mark it. One of the charges was that he had kept the enemy alive to strengthen his own position.
The History of the Southern Dynasties was compiled more than two centuries later. It is the first text to give the other version: that the edict was forged by Liu Yikang, and that the emperor knew nothing.
Which is true is still argued.
One detail deserves a word, because that charge was not plucked out of the air.
In the seventh and eighth years of Yuanjia the northern campaign had gone from victory to collapse, and the man who finally brought it to a stop was Tan Daoji. He brought back an intact army, and he also brought back an unsolved problem: Henan had not been recovered. A court that needs someone to answer for a failed war tends to choose the man who stopped the bleeding.
The cleaner his rescue, the more it showed that the war should never have been fought that way.
One thing both histories record: in the year Tan Daoji died, there was an earthquake at Jiankang.
There was also a song. Pity the white dove, it went. They killed Tan of Jiangzhou for nothing.
Tan of Jiangzhou was Tan Daoji. He had governed that province.

The Year After
The north heard about it at once.
The Wei generals congratulated each other. Their sentence is recorded: Daoji is dead. The Wu rabble are nothing to be afraid of now.
It turned out not to be a boast.
Europe has a version of this story, and it is close enough to be worth setting beside it.
In 408 the western Roman court put to death its best general, Stilicho, on suspicion of treason. He had held the frontier together for twenty years. The men who killed him thought they were removing a threat to the throne. Two years later Alaric walked into Rome.
The shape is the same. A court removes the one man who could have stopped the thing that was coming, and the thing arrives.
In China the interval was longer. Fourteen years, not two. But the sentence the emperor spoke on the wall at Jiankang is the sentence Honorius could have spoken, and neither of them said it until the enemy was already on the far bank.
From that year the Wei raids south came more often every year.
In the twenty seventh year of Yuanjia the Song attacked north again. This time the emperor chose the war. The main force under Wang Xuanmo sat down in front of Huatai and could not take it for months. In winter Tuoba Tao came south in person with a claimed million men and drove all the way to Guabu on the north bank of the Yangtze.
The Song line broke everywhere.
When the news reached Jiankang people began packing. The emperor ordered martial law, put troops along the river, and collected every boat he could find.
That winter the Wei tents stood on the hills at Guabu. Across the water you could see the lights of Jiankang.
Fourteen years earlier, Tan Daoji had said his sentence on a riverbank.
Fourteen years later the emperor climbed the Stone City and looked north.
The Stone City sits on Qingliang hill, the highest point of Jiankang. From there the river, the far bank and the hills beyond are all in one view.
He looked for a long time, and then he said something.
The History of the Southern Dynasties records it. If Tan Daoji were here, would the northern horses have got this far.
Nothing follows that sentence.
The Wei did not cross. They plundered the north bank for a season, burned houses and took people, and withdrew the following spring.
The Song followed them and recovered some ground.
But the war had taken the strength out of the dynasty. In the northern provinces the registered population fell by more than half.
Three years later the emperor was killed by his own crown prince.
A son murdering his father was a first at that court. In the decades that followed it became a pattern.
On the Stone Wall
Tan Daoji was in his fifties when he died.
Most of his fighting had been north of the river. Pengcheng, Luoyang, the Tong pass, Licheng, Huatai: the names sound remote now, but he had walked to all of them.
He left very little behind.
A collected works, long since scattered. What the military books say about him is mostly other men quoting him.
One sentence travelled further than the rest.
The History of the Southern Qi records that when Wang Jingze was preparing to rebel, and someone tried to talk him out of it, he answered with a proverb: of Lord Tan’s thirty six stratagems, running away is the best.
Lord Tan was Tan Daoji.
That proverb later became the title of a book. In the Ming and Qing someone assembled the Thirty Six Stratagems, and the last of them is that one: when all else fails, leave.
A book about strategy, traced back to a general who lost a campaign and brought his men home anyway.
The court’s view of him changed in time.
In 782 the Tang drew up a list of sixty four generals of the past to be honoured in a state temple. Tan Daoji was on it. In 1123 the Song drew up a list of seventy two on the same principle. He was on that one too.
A criminal at his death. A model general three centuries later.
Both lists name the same man.
After Tan Daoji died the Liu Song lasted another forty three years.
In those years three emperors came and went and the imperial family killed its own. The emperor was murdered by his heir; the heir was killed by his brother, who then killed his other brothers. At the end of it Xiao Daocheng accepted an abdication and the Song became the Qi.
Qi was followed by Liang, and Liang by Chen. Four southern dynasties, a hundred and sixty nine years.
The northern side did no better. Garrison revolts, a general seizing the capital, a split into east and west, and then two new dynasties out of the halves.
Both halves of the country spent that century pulling down their own walls.
What Tan Daoji said was about himself. It was not only about himself.
There is a stretch of the old Stone City wall still on Qingliang hill in Nanjing. What stands there now was rebuilt in the early Ming, over foundations from the six dynasties.
From that wall the river is wider than it was fifteen hundred years ago, and further off. The Yangtze has changed course here; the bank he looked across is farmland now.
You cannot see Guabu.
The wind still comes from the north.