In the reign of Emperor Xuan of the Han, in a commandery called Yingchuan, an older clerk was sent out on an errand.
The governor gave him detailed instructions: which road, whom to question, what to say and what to leave unsaid. The clerk did not stop at the post stations, to avoid causing trouble and to avoid talk. He sat down beside the road to eat.
A crow dropped out of the air, took the meat from his hand, and flew off.
He looked up, said nothing, and went on his way.

Some days later he reported back. The governor came out to greet him and said: how hard it was. Eating by the road, and a crow stole the meat.
The clerk was stunned. Every detail of his journey was known. After that, when the governor asked him anything, he held nothing back, not by a hair.
The governor was Huang Ba. The story is in the Han Shu, the book of the former Han, in the chapter on model officials.
A governor who read in prison
Huang Ba was from Yangxia in Huaiyang, and in his youth he studied the statutes and wanted to be a clerk.
At the end of Emperor Wu reign he paid for office, a practice the histories do not hide, and was appointed a receptionist-attendant, then dismissed when a brother broke the law. He later delivered grain to a frontier commandery and obtained a minor post in the capital region. His superior, seeing a man who had bought his way in, gave him no important rank; he was set to keeping the accounts of grain and money for the commandery.
He kept those books straight. He became known for honesty, was recommended twice, and rose to be the deputy of a commandery governor on the Yellow River. His governor trusted him and the staff respected him.
Two things in that record matter. He was not from a great family and he had bought his first post. The Han promoted men like that occasionally, and when they rose high, they rose on performance.
The second thing shaped him more. He spent three years in prison.
When Emperor Xuan came to the throne he had heard that Huang Ba judged fairly and called him to the capital as a judicial officer. He decided difficult cases and the court called him even-handed. Later, as a senior aide in the chancellery, he was present when the scholar-official Xiahou Sheng denounced an imperial edict in open council, a grave offence. Huang Ba knew of it and did not report it. Both were taken to the prison of the commandery of justice and sentenced to death.
There was nothing to do in a Han prison. Huang Ba asked Xiahou Sheng to teach him the Book of Documents.
Xiahou Sheng said: we are going to die. What is the use of study.
Huang Ba gave the answer that has been quoted for two thousand years: if a man hears the way in the morning, he may die content in the evening.
So the two condemned men studied the classics in a cell. One winter passed, then another, and they came out after three years. Xiahou Sheng returned to office and recommended Huang Ba by word of mouth to the emperor. Huang Ba was made inspector of Yangzhou. Three years later an edict appointed him governor of Yingchuan, with a salary of two thousand shi and a canopy for his carriage a full zhang higher than the standard, to mark the appointment.
A man who had spent three years reading in a cell was sent to govern a commandery famous for being hard to govern.
Yingchuan
Yingchuan lay in the centre of the north China plain, its seat at Yangzhai. Roads crossed there. Great clans held land in knots of kinship. There were many lawsuits and few men who could hold the place down.
The mood of the time made it worse. Under the later reign of Emperor Wu the law had been applied with severity. After the regent Huo Guang destroyed a rival faction, he kept to the same method: punishment as the instrument of order. Officials competed in harshness. A man who could beat a confession out of a suspect was considered capable.
Huang Ba acquired a reputation for the opposite. He governed with leniency and conciliation, and he did it in the years when leniency was out of fashion.
A lenient man posted to the hardest commandery is being tested. Leniency that consists only of not beating people is easy, and useless. Leniency that still gets the work done requires something else.
Three things he did first
He began with the edicts.
The emperor issued repeated decrees of grace: tax relief, ranks, famine relief. They arrived, and local officials did not pass them on. In many counties the population never heard what the throne had granted. Huang Ba selected reliable clerks, divided the commandery among them, and had every decree read out clause by clause until the villages knew what the emperor had said.
He then ordered the post stations and the village offices to raise chickens and pigs.
The instruction sounds beneath a governor. It answered a concrete problem. Widows, widowers, orphans and the childless poor had no support, and emergency grain did not last. A henhouse and a pigpen behind each station produced something that lasted.
Third, he wrote rules and posted them down the hierarchy.
Elders, teachers, squad leaders: each level was given a task, and the tasks were about ordinary life. Work the fields, plant mulberry, spend less, store more, plant trees, raise animals. The rules went into detail so fine, the history says, that they covered rice and salt, and contemporaries found them fussy.
They worked anyway. The Han Shu notes that Huang Ba had the energy to push them through.
The crow
Where did his information come from?
The history gives two examples.
The first is the crow. When he needed eyes somewhere, he chose an older clerk known for honesty and briefed him in detail. The man left the city, would not sleep at a post station, and ate by the roadside. A crow took his meat. A villager on his way to the yamen to report something saw it happen. Huang Ba spoke with the villager and heard the story.
Days later, when the clerk returned, Huang Ba greeted him with the detail about the roadside meal and the crow. The clerk concluded that the governor knew everything he did. He stopped shading anything.
The second example is stranger.
In the commandery there were people with no family who died and could not be buried. The village office sent up a report. Huang Ba allocated the arrangements himself: a certain large tree would serve for a coffin; a certain pig at a certain post station would serve for the sacrifice. The clerks went out and found it exactly as he said.
The history puts it in six characters: his grasp of affairs was like this. The staff and the people could not work out how he knew, and called him a spirit.
Soft outside, clear inside
The Han Shu describes him as broad outside and bright within. The breadth was the manner. The brightness was the method.
Xu, an official under him, was old and deaf. The inspector proposed replacing him. Huang Ba refused. Xu was an honest man, he said. He could still bow, rise, see visitors off. A little deafness did no harm. Help him, and do not let a good man lose heart.
Asked why, he gave an answer that reads like public administration rather than moralising. Every change of senior staff carries the cost of sending off the old and welcoming the new, and dishonest clerks use the handover to cut the records and steal. The expense falls on the people. The replacement is not necessarily better, and may be worse. Each change adds a little more disorder.
His summary: in governing, one removes what is excessive.
The results were real. Wrongdoers moved to other commanderies, the history says, and banditry declined. That sentence is slippery, since the thieves had merely crossed a border, but within Yingchuan the roads did get quieter.
He stayed eight years. An edict praised him in the words of the emperor: the decrees were proclaimed, the people turned toward instruction, sons were dutiful, younger brothers respectful, widows chaste, grandchildren obedient. Farmers left the headlands unclaimed; nothing dropped on the road was picked up; the old were cared for and the poor helped. And in eight years, the commandery prison held no one convicted of a grave crime.
That last line is the most striking and the most doubtful in the whole biography. A commandery with no serious convictions for eight years is either genuinely peaceful or quietly not reporting. The history does not explain, and this account will not explain for it.
For this he was granted the rank of a marquis of the interior, a hundred jin of gold, and the full salary of two thousand shi. The dutiful sons, the righteous villagers, the elders and the model farmers of Yingchuan were given ranks and cloth by grade.
Capital posting, sent back
The court called him to act as governor of the capital region, a post far harder than any commandery.
He soon ran into trouble. He conscripted labour to repair an imperial road without reporting it first. He sent cavalrymen to the northern army and the horses did not match the men. He was impeached for failing a military levy and lost rank twice. An edict sent him back to Yingchuan as governor at a reduced salary of eight hundred shi, governing as before.
Eight years in all, and the commandery grew quieter.
The episode is instructive. A man who had been at ease in a province failed within a year in the capital. His ability had not changed. The environment had. In the capital he answered to ministers, imperial relatives and marquises, and any small matter could be carried to the throne. In Yingchuan he was the highest authority and could work at his own pace.
Chancellor
In 55 BC he replaced Bing Ji as chancellor, with the title Marquis of Jiancheng and a fief of six hundred households.
The Han Shu assessment is one line: his talent lay in governing people. As chancellor, in charge of the general framework and the issuing of orders, he had less presence than Bing Ji, Wei Xiang or Yu Dingguo, and his reputation fell short of what it had been in the commandery.
Two incidents follow.
A flock of a small bird called the hexiao flew from the residence of the governor of the capital region onto the roof of the chancellery. Huang Ba took it for a divine sparrow and prepared to report it to the throne as an omen. The governor, Zhang Chang, sent up a memorial that dismantled the story, and added a broader charge: that the chancellery was pressing the provinces to report pretty fictions, farmers leaving headlands unclaimed, lost property untouched, and that officials were learning to perform virtue for inspection. Huang Ba was deeply ashamed.
The second: he recommended the Marquis of Leling, Shi Gao, for the post of grand commandant. The emperor had a senior official put the question to him: the office had long been abolished and the chancellor held it concurrently, to put arms aside and promote letters; appointments are mine, not yours. Huang Ba took off his cap and apologised. He never made another recommendation.
Ban Gu, who wrote the chapter, was not gentle in his verdict. Zijian, governing a small town, found five men wiser than himself and treated them as teachers, and so could govern with a lute in his hands. Huang Ba governed Yingchuan, and nobody hears of him seeking out one wise teacher or one worthy man. He relied on his own intelligence. Hence he was excellent in a commandery and diminished when put in charge of the empire.
How much one head can hold
Back to the crow.
The story survives because it is rare, not because it is magic. The method was this: hold every detail in your own memory, produce the right one at the right moment, and let your staff conclude that you know everything. It worked. It had two fatal limits.
It could not be handed over. When Huang Ba left Yingchuan, the local omniscience left with him. The next governor did not know which tree would make a coffin, or which post station had a pig to spare.
It could not be scaled. One memory could hold a commandery. It could not hold an empire. As chancellor he did not become stupider; the instrument had reached its capacity.
Chinese detective fiction has given English readers a very different picture of the magistrate. There is Judge Dee, the Tang official whom Robert van Gulik turned into a series of novels. And behind him Song Ci, whose manual of forensic examination in 1247 is the oldest surviving systematic work of its kind in the world, three centuries before anything comparable in Europe. That tradition is about procedure: how a body is examined, how a scene is recorded, how a confession is tested.
Huang Ba belongs to an older world, a thousand years before Song Ci. He had no manual and no laboratory. He had a memory, a network of clerks and villagers, and the discipline to keep the two in contact.
The Han Shu offers a comparison without naming it. In the same book, Zhao Guanghan governed Yingchuan with a sealed box at the gate, into which anyone could drop a denunciation, and with a method of cross-checking prices until a market could be read from the outside. That was information stored in an object, which the next official could inherit.
Huang Ba stored his in his head, which went into the ground with him.
Ban Gu saw it clearly: he relied on his own intelligence. Intelligence is a fine thing. A government that runs on it stops when the man leaves.
Huang Ba died in 51 BC and was given the posthumous title of Marquis Ding. The history notes that five or six of his descendants reached the rank of two thousand shi.
The crow is long gone. The eight quiet years in Yingchuan left no institution behind, only a few lines in a biography, and one sentence worth keeping: in governing, remove what is excessive.