Once, in the seventh century, the Tang emperor Gaozong went in person to the Court of Judicature and Review to inspect the prisoners awaiting execution.
The procedure was called luqiu, the recording of prisoners. The emperor, or an official acting for him, had each inmate brought forward and asked a single question: do you accept the finding, or do you have a grievance. It was the last human checkpoint before a death sentence was carried out.
That day a row of condemned men knelt in the courtyard. When the clerk read the names of those sentenced by the previous chief justice, the men began to shout. They cried that they had been wronged, loudly enough to be heard across the yard. When the clerk reached the men sentenced by Tang Lin, nobody made a sound.
The emperor found it strange. He asked one of the silent men why he did not cry out when the others did.
The man answered that he had committed the offence. The judgment of Master Tang, he said, neither wronged him nor applied punishment beyond the law, and so he had long since given up hope.
Gaozong was silent for a while. Then he said: should not those who handle prisons and judgments be like this.

Where He Came From
Tang Lin was from Chang-an, the capital, and a grandson of Tang Jin, an inner secretary of the Northern Zhou. His uncle Tang Lingze had been a senior attendant to the heir apparent in the last years of the Sui and was executed for flattering the crown prince Yang Yong.
That family history was no advantage. In the first years of the Wude era, when the heir apparent Li Jiancheng led a campaign east, Tang Lin came to the army with a plan for taking Wang Shichong, and the prince kept him in the household secretariat. After the coup at the Xuanwu Gate and the fall of the heir apparent, he was posted out of the capital as deputy magistrate of Wanquan county.
A deputy magistrate is the official below the magistrate. He handles documents, granaries and the day-to-day business of litigation. For a man who had come out of the eastern palace, the posting normally meant the end of a career.
At that post he did one thing, and the official history remembered it.
A Dozen Minor Prisoners
The Wanquan county jail held a dozen or so prisoners serving light sentences. It was late spring, and it had rained.
What rain means to a farming household needs no explanation. Ground has to be turned, seed has to go in. Miss that rain and the years food is gone.
Tang Lin went to the magistrate and asked that the prisoners be released to work their fields. The magistrate refused.
The refusal made sense. If a released prisoner does not come back, the man who released him carries the consequences, and by the rules of the time a deputy magistrate had no authority to release anyone.
Tang Lin said one sentence: if you have doubts, I will answer for the offence myself.
The magistrate then took leave. The detail matters. Taking leave means: I was not present, this was not approved by me. Tang Lin called the prisoners in, sent them all home to plough and plant, fixed a date for their return, and told them to report back to the jail by that date.
They all came back. Not one was missing.
The history records the outcome in four characters, saying that the prisoners were grateful for the leniency.
Those four characters are usually read as a story about benevolent government. There is a harder account inside them. The dozen men went home to work their own land. If the fields were planted, there would be grain in autumn. If they ran, they became fugitives and their families lost their footing in the county forever. What Tang Lin gave them was not mercy. It was a calculation they could complete: go back and live, run and lose everything.
That is also why he dared to do it. He was not betting on human goodness. He had done the arithmetic.
A later writer, Liu Zongyuan, argued over the Tang practice of releasing prisoners on parole in a famous essay about whether such a thing could be trusted. His conclusion was that it turns on whether ruler and ruled are cheating each other or trusting each other. Tang Lin did a little of both. He put his own official person down as collateral, so that the cost of absconding was visible. Then he offered a choice that paid.
Three Thousand
He was later promoted to investigating censor and sent on a mission beyond the southern passes.
The record of that trip is a single line. He investigated the case of Li Daoyan, prefect of Jiaozhou, and others, and redressed the grievances of more than three thousand people held in detention.
Investigate. Redress. Three thousand, in one prefecture.
The line matters because of its scale. Tang Lin was not merely a county official who let a dozen men go home to plant. He was the kind of official sent to remote regions to clear a backlog of cases. More than a thousand years later, in the Qing, Lan Dingyuan did the same work in Chaoyang and in Taiwan.
A White Robe and a Pot of Medicine
The official biography records two small domestic incidents alongside the cases.
Tang Lin was going to offer condolences at a funeral and sent a servant home to fetch his white mourning robe. The servant brought the wrong garment and was too frightened to come in. Tang Lin learned of it and called him over. He said: the air is wrong today, it is not a day for lamentation; the white robe I asked for can wait.
On another occasion he had medicine boiled, and the man boiling it did not follow the instructions. Tang Lin learned of it and said: the light is poor today, this is no time to take medicine, throw it out.
Neither incident mentions the servant being at fault.
What have they to do with the cases? Everything, in one respect. The way a man handles the mistakes of others is the way he handles a case. A servant who brings the wrong robe can be cursed, can be beaten, or can be let off without having to admit anything. Tang Lin chose the third, which is to give the other person a step down that does not require him to kneel. In a courtroom the same habit becomes: ask only what must be asked, press only what must be pressed, and where a way out can be left, leave it.
This is not softness. When he released the prisoners at Wanquan the arithmetic was cold, and when he judged capital cases at the Court of Judicature he was not lenient with the facts. He simply declined to prove his authority by making another man smaller.
When the Law Is Harsh, People Are Broken
In the year Gaozong came to the throne, Tang Lin was appointed chief justice.
The emperor asked how many prisoners were in custody. He answered clearly and to the point, and the emperor was pleased. Gaozong then said something that reads better than a good deal of later writing on law:
The essence of governing a state lies in the criminal law. If the law is too harsh, the people are broken. If it is too loose, offences escape. What is required is the middle.
The middle. That word became the note of Tang Lin’s career. It does not mean splitting the difference. It means neither end may go too far.
The Men Who Did Not Cry Out
Back to the courtyard.
The men sentenced by the previous chief justice shouted. The men sentenced by Tang Lin did not. The history offers the contrast as evidence of his quality.
Stop there, though, and half the story is missing.
Men who cry out are not necessarily innocent. For a man already condemned, shouting in front of the emperor costs nothing and might buy his life. That is a rational move. So the shouting proves nothing about whether the earlier judgments were wrong.
Nor were the silent men necessarily guilty as charged. Some did not dare to speak. Some knew that speaking was useless. Some had been beaten past the point of wanting to say anything at all.
So why were Tang Lin’s men silent? One of them supplied the reason himself: because the judgment neither wronged him nor exceeded the law. Put plainly, the questions that should have been asked were asked, the checks that should have been made were made, and he knew why he was going to die.
Inside that answer is the one thing torture can never produce. Predictability. A person can accept an outcome against his interest, provided he knows how it was reached. What he cannot accept is an outcome that looks random.
From a modern vantage point, the passage invites one further question. A good criminal process is not one in which no defendant complains. It is one in which every defendant has a channel for complaint and someone is obliged to hear it. Tang Lin achieved the first, in that the men he sentenced did not wish to complain. A system has to achieve the second, so that the men who do wish to complain are able to. The two are not in conflict, but neither substitutes for the other.
To Deliberate, Then to Aggravate
In the second year of Yonghui, Xiao Lingzhi, prefect of Huazhou, was accused of corruption during an earlier posting as military commissioner of Guangzhou. An edict referred the matter to a conference of senior officials.
The conference reported back. Gaozong was displeased with the result, lost his temper, and ordered the man punished in open court there and then.
Tang Lin memorialised against it. He began by conceding the offence: entrusted with a great frontier command, the man had left a trail of corrupt gains, and on the facts death would not be too much. Then he turned to procedure.
If the matter has been referred for deliberation, it must be settled by the rules of deliberation. The law provides eight categories of persons whose cases are discussed rather than simply judged, a rule traced to the Rites of Zhou, and its purpose is that such men be treated differently from ordinary subjects. The point of discussion is to moderate punishment, not to devise a heavier one. To permit discussion and then impose a heavier penalty than would otherwise apply is the reverse of the way of Yao and Shun, and cannot serve as law for ten thousand generations.
He added a colder observation. Lately the authorities have leaned toward heavy sentences: in rewarding service they cut, in judging offences they reach for the maximum. Not because they hate the men before them, but to protect themselves. A heavy sentence cannot be wrong. A light one can be held against you.
That sentence names the motive behind severity. Much of the time it is not rigour. It is fear.
Gaozong accepted the memorial. Xiao Lingzhi was sent into exile beyond the southern ranges.
Sixty Years
In the fourth year of Xianqing, Tang Lin was demoted to prefect of Chaozhou and died in office at sixty. He wrote a two-volume collection of tales of retribution, which circulated widely.
A man who had judged cases all his life spent his last years writing about cause and effect. There is no need to judge that, and no way to.
What is worth keeping is the emperor’s question. Should not those who handle prisons and judgments be like this.
It is a question, and behind it sits an assumption: most of the time, they are not.
Thirteen centuries later, the size of that courtyard, whether the sun was out, where exactly the condemned knelt, are all gone. What survives is one sentence reported at second hand, spoken by a man whose name was never recorded, saying that he did not cry out because he knew why he was going to die.
A case is finished only when it has been handled to that point.
For readers who came to Chinese justice through fiction, a note on where this story sits. The Chinese judge most familiar in English is Judge Dee, the Tang magistrate reinvented by the Dutch diplomat Robert van Gulik in a series of detective novels; van Gulik took the figure from an eighteenth-century Chinese novel, which had already taken liberties with a real official. Dee investigates, traps the guilty with a clever confrontation, and the truth emerges in a courtroom scene. Tang Lin does almost none of that. There is no culprit to unmask, no deduction, no trap. His cases turn on release dates, on the arithmetic of a prisoner who wants to go home, on whether a memorial was referred to a conference before the emperor lost his temper. The nearest real counterpart in the tradition is not a detective at all but Song Ci, whose 1247 manual on the examination of corpses founded forensic medicine three and a half centuries before anything comparable in Europe. Song Ci cared about what a body can prove. Tang Lin cared about what a process can make a man willing to accept. Both are the same ambition seen from two ends: to make the outcome answerable to something other than the mood of the man in charge.