In the winter of 196 BC, outside the gate of the Changle Palace at the capital.
An old man of about sixty stood waiting. He was waiting for someone to walk in with him and offer congratulations.
The man who came was Han Xin.
You are unwell, the old man told him, but make the effort and come to the palace this once, so that the emperor will not grow suspicious.
Han Xin went in. He never came out.
It was the empress who had him killed. But the step that brought him through that gate was taken by Xiao He.
The Chinese say of Han Xin that Xiao He made him and Xiao He undid him. That saying begins on this day.
Ten years earlier, the same man had ridden after Han Xin through the moonlight to bring him back.
The Clerk of Pei
Xiao He was from Pei county, in what is now northern Jiangsu.
Under the Qin he served as the county clerk, first over appointments, then over the jail. It was not a senior post, and he did it carefully. Every document, every statute, every household register in the county passed through his hands. After some years he knew the inner workings of the district better than anyone alive.
He was easy in company, and he knew everyone.
Among his circle were Cao Shen, a jail officer, Fan Kuai, who killed dogs for a living, Zhou Bo, who played the drum at funerals, Xiahou Ying, who drove a carriage, and a village constable named Liu Bang.
Liu Bang in those days was a drinker, a debtor, and a man who had once broken the law. Xiao He covered for him more than once.
When Liu Bang was sent to the capital at Xianyang for labour service, custom required his colleagues to contribute three hundred coins toward his expenses.
Xiao He gave five hundred.
Liu Bang never forgot it. Years later, as emperor, he added two thousand households to the estate of Xiao He, and said openly that he was repaying the two hundred coins.
In 209 BC Chen Sheng and Wu Guang rose in rebellion at Daze township.
County after county across the empire followed.
The magistrate of Pei began to panic. Xiao He and Cao Shen gave him advice. You are an official of Qin, they said. If you turn rebel, no one will follow you. Better to call back the men who have fled the county and are hiding elsewhere, and with a few hundred behind you no one will dare oppose you.
The man the magistrate sent for was Liu Bang.
Before Liu Bang arrived, the magistrate changed his mind. He shut the city gates and prepared to kill Xiao He and Cao Shen. The two of them went over the wall, found Liu Bang, and came back with him. The people of Pei killed the magistrate themselves and opened the gates.
Then came the question of who would lead.
The elders of Pei turned to Xiao He. He refused, and put Liu Bang forward instead.
One story says he wrote out ten lots for a draw and that all ten bore the name of Liu Bang. That story comes from folk tradition and not from the histories. It has lasted because people are willing to believe it, and because Xiao He seems to have made up his mind about Liu Bang from the very beginning.
While Others Took Gold
In the tenth month of 206 BC, the army of Liu Bang was the first to enter the heartland of Qin.
The last Qin ruler, a boy named Ziying, came out in a plain cart with white horses, the imperial seals hung around his neck, and surrendered by the roadside. The Qin dynasty was over.
The soldiers poured into Xianyang.
Xianyang was the richest city in the world. Gold and silver lay in the palaces, silk filled the storehouses, and there were women in the inner courts. The men went wild. Officers led the way in, and cartload after cartload was dragged back to their own camps.
Xiao He did not go with them.
The moment he entered the city, he went to two places: the office of the chancellor and the office of the imperial censor.
What was stored in those two buildings? The archives of a hundred years of Qin government. Maps of every mountain pass and river crossing in the empire. Household registers for every county. The statutes and ordinances. Records of what each district produced and what it owed in tax.
He had all of it tied into bundles, loaded onto carts, and carried away.
At the time it must have looked foolish. Other men were taking money that could be spent. He was taking paper that could not. But in the four years of war that followed, every time Liu Bang fought a battle, Xiao He knew where to raise troops, where to send grain, which road would carry a wagon, and which pass could be held. He was fighting out of those carts of paper.
It was from that hoard that Liu Bang later knew how many people the empire held, which districts were rich and which were poor, and where troops had to be stationed.
Four years afterward, when the rewards were handed out, Xiao He was the first man named.
Chasing a Genius by Moonlight
Liu Bang was made king of Han, with territory in the far southwest, poor and remote.
The road from the heartland into that country was hard. Morale was poor, and men deserted every few days.
Among them was a young officer in charge of grain, named Han Xin. He had come over from the camp of Xiang Yu, had never been given anything to do, and had now left.
When Xiao He heard that Han Xin had gone, he did not stop to report it. He mounted and rode after him.
Someone ran to Liu Bang and said the chancellor had fled.
Liu Bang was furious, as though he had lost his right hand.
A day or two later Xiao He came back.
Liu Bang raged at him and then asked who he had been chasing. Han Xin, said Xiao He.
Liu Bang said: men have been deserting by the dozen and you chased none of them. You chased one man?
Xiao He answered, in substance, that ordinary men who leave can be replaced. A man like Han Xin exists once in an empire. If the king means to spend his life as a small lord in this far country, then he has no use for Han Xin. If he means to contend for the whole empire, then there is no one but Han Xin who can help him do it.
Liu Bang believed him.
He fasted, built an altar, and in the full ceremony for the appointment of a commander in chief, raised Han Xin to the post. The whole army was astonished.
From that day forward, the command, the victories, and the fame of Han Xin all dated from that altar.

The Rear Base
The war between Chu and Han ran for more than four years.
In those years Liu Bang lost many battles. At Pengcheng his army of hundreds of thousands was broken apart, and his own father and wife were taken prisoner by Xiang Yu. Between Xingyang and Chenggao he was driven out more than once with only a handful of men.
And each time, he was able to raise another army.
Why?
Because behind him stood one man and one stretch of country.
Xiao He stayed in the heartland. What he did was dull to describe. He set up ancestral temples, built palaces, established county seats, counted households, collected grain and tax, floated supplies downriver to the front, and sent conscripts forward in batches.
Liu Bang lost in front, and Xiao He replaced it from behind.
Liu Bang understood the value of this, and he was also afraid of it. Even while campaigning he sent messengers back at short intervals to inquire after Xiao He. The enquiries were a form of watching.
Someone advised Xiao He to send every able-bodied son and brother of his household to the front.
He did it. Those men helped Liu Bang fight, and they also remained in Liu Bang hands as hostages.
That move later saved his life.
In 202 BC Xiang Yu was destroyed at Gaixia.
When the rewards were settled, the ministers argued over precedence for more than a year and could not agree.
Then Liu Bang ruled: Xiao He first, made marquis of Zan, with eight thousand households, permitted to enter the court wearing his sword and his shoes, and not required to walk with the short respectful steps of a subject.
The generals objected.
We wore armour and carried weapons, they said. Some of us fought a hundred battles, some several dozen. We took cities and seized land, and we paid for it in blood. Xiao He has held a brush his whole life and never stood on a battlefield. On what grounds does he outrank us?
Liu Bang asked them: do you know how to hunt?
They said they did.
Liu Bang said: when men hunt, the dogs chase the game. But the man who gives the orders and points the dogs at the right ground is not a dog. You are the dogs who caught the game. Xiao He is the man who gave the orders.
The passage is in the Records of the Grand Historian, and it is not flattering. It was also accurate.
Liu Bang settled the rewards, and Xiao He settled the law.
The Qin code had six sections. Xiao He added three more, governing households, conscription, and state horses, and made of them the Nine Sections Code. The law of China for the next four hundred years grew out of that book.
He knew law because he had handled it in a county office since he was young. He was not trying to bind the empire tight. The sections he added dealt with the most necessary and most tedious things: how many people lived in a house, what service each man owed, whether the government had enough horses.
Set the rules down on paper, and a dynasty does not fall apart the moment one man is gone.
The Man Who Made Him and Undid Him
The Han was founded, and the country did not settle.
Liu Bang began to lie awake. What kept him awake was the men who commanded armies.
In 197 BC Chen Xi rebelled in the north, and Liu Bang took the field himself.
The next year someone accused Han Xin of plotting in the capital.
The empress wanted to move against him and feared he would not come. She sent for Xiao He to discuss it.
Xiao He produced a plan. He sent a messenger to the house of Han Xin to report that Chen Xi was dead and that the ministers were going to the palace to congratulate the emperor. Come too, the message said. You are unwell, but make the effort.
Han Xin trusted Xiao He.
He entered the Changle Palace. The gates closed behind him and he never came out.
The man Xiao He had ridden through the night to bring back was the man Xiao He walked into the trap. Xiao He made him and Xiao He undid him.
What to make of it is not for this account to settle. Only one thing can be said with certainty. In the years when Liu Bang suspicion was at its height, Xiao He did everything he could think of to stay alive.
After Han Xin died, Liu Bang added five thousand households to Xiao He estate and assigned five hundred soldiers to serve as his guard, as a mark of favour.
A client of his came to offer condolences, as though at a funeral.
You are in great danger, the man said.
Xiao He asked why.
The man said: the emperor is campaigning far away, while you sit safely in the capital, and yet five hundred soldiers have been posted to guard you. They are not protecting you. They are watching you.
Xiao He understood.
He turned down the grant and gave the money of his household to the army.
On another occasion, when Liu Bang returned from a campaign, the people of the capital stopped his carriage to lodge complaints. They said Xiao He had been buying land from them by force at low prices. Liu Bang handed the petitions over to Xiao He and told him to go and make it right with the people.
Xiao He apologised, and gave the land back.
Xiao He was cautious all his life. And sometimes caution has to be paid for by making yourself look worse than you are.
In 193 BC, in the second year of the reign of the emperor Hui, Xiao He fell seriously ill.
The emperor came to his bedside and asked who should succeed him.
Xiao He said: there is no one more suitable than Cao Shen.
The emperor said: Cao Shen? Is he not the man you have never got along with?
Xiao He said: you asked me a question of state. I would not let a private quarrel damage the answer.
He died and was given the posthumous title of Marquis Wen Zhong. Cao Shen took over the chancellorship.
About his household, one more thing.
When Xiao He bought land, he chose the poor and outlying fields, and built a house too small and low for a chancellor.
He told his family: if the descendants turn out well, let them learn thrift from me. If they turn out badly, this thin property will not attract the notice of anyone powerful, and that may save their lives.
He had learned the lesson from Han Xin. A man with too much merit, and a house with too much on display, does not live long in that court.
Cao Shen became chancellor and did exactly one thing: nothing.
When officials came to suggest a new measure, he sat them down to drink until they could not get the words out. When the emperor finally asked him about it, Cao Shen answered that the founder and Xiao He had settled the rules of the empire and that the proper work of his generation was to keep them.
The people of the capital made a song about it.
Xiao He made the law, as clear as a drawn line. Cao Shen took his place, and kept it without loss. By that stillness the people found their peace.
Xiao He never fought a battle. He wrote no famous poem and left behind no great saying.
All he did was to collect the records that needed collecting, move the grain that needed moving, fix the rules that needed fixing, and give up the rewards that needed giving up.
Yet the first calm decades of the Han rested on exactly those dull things.