A new prefect arrived in Langzhou, in the hills of what is now northern Sichuan, and among the files waiting on his desk was a case already closed.
Nothing in it was in dispute. A man had killed another man, walked into the yamen on his own feet, confessed, put his mark on the paper, and the file had been bound and sent up for review.
The new prefect read it through, then sent for the condemned man.
He did not order anyone beaten. He did not ask whether the man had done it.
He asked how much Yong Ziliang had paid him.
The story survives in volume 456 of the History of Song, among the biographies of men renowned for filial piety: not a magistrate handbook, not a notebook of curious cases, but the official dynastic history compiled under the Yuan in the 1340s. It sits there because of the strangest thing Zhu Shouchang ever did, which was not solving a murder.

The file that was already closed
The entry opens with six characters. He killed again, and bribed a man of his village to present himself to the authorities.
The man who walked into the yamen was not the killer. He had been bought and sent.
By then the case was complete: a confession, a signature, a bound file travelling up the chain. In Song China a prefecture did not have the last word on a capital case. The papers went to the judicial intendant of the circuit, to the ministry of justice, to the throne. Any link could send the whole thing back.
But every link read paper.
Paper cannot tell you whether the man who confessed was confessing to his own crime.
What the history says
The passage runs to fewer than one hundred and forty characters.
Zhu Shouchang was appointed prefect of Langzhou. The local magnate Yong Ziliang had killed people repeatedly and, by means of wealth and connections, had escaped death. This time he killed again, and bribed a man of his village to come forward and submit to the authorities. The case was complete when Shouchang sensed the fraud. He had the prisoner brought before him and put two questions to him.
First: I understand that Ziliang gave you one hundred thousand coins, promised to take your daughter into his household, and promised his own daughter to your son, and that this is why you are dying in his place. Is that so?
The prisoner changed colour.
Then: you are about to die. The deed will reduce your daughter to a bondservant. The money will be entered as the price of your hire. And his daughter will not be given to your son. What then?
The prisoner understood. He wept with his face covered, and said that he had nearly died by mistake. He told the truth. Ziliang was taken at once and executed according to law.
Not one word about how clever he was. Everything he did is in those two questions.
The family that kept not dying
Start with Yong Ziliang.
Local magnate means a great clan of the district. Killed people repeatedly means not one manslaughter but a pattern. Escaped death by means of wealth and connections means that he had been tried before, more than once, and had walked away each time.
Those are the coldest words in the passage. Everyone in Langzhou knew that the son of the Yong family had killed people, and everyone knew he was still there.
So why was this time different? Because this time, after the killing, he did something unnecessary. He bought a man to take his place.
A man with wealth and connections does not need to buy anybody. He only needs to wait: out the examination deadline, past an amnesty, until the family of the dead takes money and falls silent, until the file grows old in a room.
Buying a substitute is an admission. Yong Ziliang had judged for himself that this time waiting would not work.
Where that judgment went wrong is the rest of the story.
One hundred thousand coins
The first question lays the transaction on the table.
It does not ask whether the man is a substitute. It recites the three clauses of a contract: cash, a daughter brought into a great house, a son married into one.
How much is one hundred thousand coins? The history gives no unit, and this is not a gap to be filled by guesswork. Written this way it normally means a hundred thousand individual coins, or one hundred strings of cash. The order of magnitude is what matters: a hired labourer in the Northern Song earned something like a hundred coins a day, which puts the payment at roughly three years of unbroken work. For a village family in debt, it was enough to change everything.
But it was not the money that made a father agree. It was the other two clauses.
Marrying a daughter into the Yong household, and taking a Yong daughter for a son, is not a courtesy. It is a change of status. In Song China marriage was registration, household grade, and the standing of the next generation. A village man who had owed money all his life could settle the debt once, with his own body, and buy his children a step upward.
So he agreed. He may even have thought he had struck a good bargain.
The prisoner changed colour. He did not flinch because he had been caught out. He flinched because Zhu Shouchang had just read out the arithmetic inside his head.
The second question
Then Shouchang pressed him. The verb in the history means to prise open, to pry apart. He went one layer down.
There is no moral instruction in what he said next. The contract you signed cannot be performed after your death.
All three clauses fail, one after another.
The deed will reduce your daughter to a bondservant. The deed says, take her as a wife. But once the man is dead, the person who wrote the deed is still standing, and the person who could say what it meant is not. A girl alone in a great house is a wife or a servant according to whichever the writer finds convenient.
The money will be entered as the price of your hire. This clause is the cruellest. The price of hire means wages. Once that hundred thousand is booked as payment for work done, it stops being the price of a life and becomes earned income. You took wages, so you were employed, so your death is not a wrong but the performance of a bargain. One ledger entry removes the ground for complaint.
And his daughter will not be given to your son. The son gets nothing. His father died for a stranger, he did not marry into the Yong house, and he does not get the money either, because it has already been booked as his father wages.
What Zhu Shouchang told him was this. You think you are selling your life. You will not even be paid.
He wept, and said he had nearly died by mistake. That word, nearly, is doing a lot of work. He did not say he had nearly been executed for a crime he did not commit. Someone dying for money cares less about whether the death is just than whether the price was right.
That is the door that officials seven hundred years later could not open.
This was not an isolated case
What Zhu Shouchang ran into has a name in Chinese legal history: dingxiong, the substitute culprit.
Substitution flourished in the coastal prefectures of Fujian and Guangdong, where it was tied to clan feuds. Before a feud was fought, Zhao Yi wrote, each lineage agreed in advance on men to be surrendered for the killing, and provided for their widows and children out of clan property. Hence men who were not the killers confessed willingly, and no amount of torture would make them change their story. In feuds, he added, eight or nine cases in ten were substitutions.
The Qing response was to punish the substitute. A statute of 1762 gave anyone who took a bribe and accepted the charge in place of the real killer the penalty the real killer faced, whatever the amount.
The difficulty for the men who actually had to try these cases was never catching the substitute. It was that the substitute would not recant.
In the Jiaqing reign the poet and magistrate Zhang Wentao retried a case from Jimo in Shandong. The condemned man, Wang Xiaoshan, confessed fluently, word for word with his original statement, as though he had memorised it. Zhang Wentao looked at him: not yet twenty, no strength in his arms. He talked to him patiently, and Wang Xiaoshan admitted that his family was drowning in debt, that a rich household named Qu Peiqiu had paid him two hundred taels of silver, and that the confession had been written for him.
Zhang Wentao wrote in his judgment: if money can buy a substitute, what is left for the sons of rich families to fear? The majestic law of the realm is set up for the poor alone, and not for the wealthy at all.
The mouth that would not open
Chen Qiyuan, writing a little later, recorded something worse. His father, Chen Ao, was assigned to review a homicide in an affray in Fujian. He saw at once that the wrong man was in the dock, and sent the case back to the county. The retrial produced an identical result. Chen Ao had the prisoner brought in again. The man flatly refused to recant. Chen Ao knew there had been a miscarriage of justice and could not repair it. He resigned.
This is the hard shell of the substitute case. The machinery of review exists to catch officials who bend the law, not a defendant who volunteers. If a man does not want to live, no procedure will make him cry out for justice. If he stays silent, the file is clean.
And this is where the two questions in Langzhou become interesting. Zhu Shouchang did not make that man recant. He made him stop wanting to die.
The order matters. First the contract is recited back: I know what you were promised. Then it is dismantled: you will not receive it. Then the question hands the decision back to him. You may still die. But you will die knowing what happens afterwards.
Song procedure was already more careful than the courts of England three centuries later. It separated interrogation from sentencing. It required a final reading of the charge by an official who had taken no part in the interrogation, who was to ask the prisoner whether he accepted it. And it provided that if a prisoner recanted and cried out that he had been wronged, the case had to go to a different office.
These are remarkably early devices for dividing power in a legal system, and the assumption under all three is the same: people lie, particularly people with authority, so they must watch one another.
The blind spot is that the assumption is about officials, not about the public. If the defendant does not protest, the apparatus runs smoothly. Every step is compliant. Every document is in order.
What Yong Ziliang needed to buy was never an official. It was the silence of one man.
A man who had been handled as an object was, for the first time, addressed as a man capable of doing arithmetic. That is the force of those two questions.
The same man, fifty years earlier
The History of Song places Zhu Shouchang among the filial and the righteous because of something else entirely.
His mother, née Liu, was a concubine of his father Zhu Xun. While he was serving as governor of the metropolitan region, she was driven out of the household while pregnant. The boy was returned to his father house at the age of a few years, and mother and son lost all contact for fifty years.
He searched. He asked in every direction and never stopped. He ate little meat and drank almost no wine, and wept whenever the subject came up. He burned his back and scorched the crown of his head, and wrote sutras in his own blood.
In the first years of the Xining era, around 1068, he took leave of his household, gave up his post, and went west into the Qin region, saying that he would not come back without his mother.
He found her in Tongzhou, over seventy, remarried, with several grown children, and brought the family home. After that his reputation spread through the empire, and men of letters from Wang Anshi to Su Shi competed in poems praising him.
The history does not connect that man to the file in Langzhou. It simply records both. But put them together and one reading becomes hard to avoid. A man who knew from the inside what it is to have a person removed from a household and disposed of like property may look twice at a contract for a human life. That is a reading, not a fact.
The people of Shu still told it
Yong Ziliang ends in four characters. He was taken at once and executed according to law.
No long trial, no delay, no waiting for an amnesty. A man who had killed repeatedly and escaped death through wealth and connections was, this time, killed.
And then: the prefecture called him a man of godlike insight, and the people of Shu were still telling the story.
But the thing most worth remembering may not be how perceptive the prefect was. It is the people Yong Ziliang had killed before.
In those earlier cases there was no Zhu Shouchang. The files were clean. Nobody looked twice. Nobody survived because a contract was taken apart in front of the man who had signed it.
Zhu Shouchang saved one villager with his own two eyes. That is not a system but luck.
Set this beside the modern record. The Innocence Project reports that of the first 375 wrongful convictions in the United States overturned through DNA testing, 29 per cent involved a false confession. The National Registry of Exonerations records that 13 per cent of the wrongly convicted confessed falsely, and 27 per cent pleaded guilty to something they did not do.
The mechanisms differ, and the comparison should not be pushed too hard. But the underlying fact is the same. A person will say he did it, for reasons that make sense to him, and a system built to read paper will believe him.
Readers who want the long history of Chinese detection usually start with Judge Dee. The character comes from a real Tang official, Di Renjie, and reached the modern world through an eighteenth-century novel that Robert van Gulik translated in 1949 as Celebrated Cases of Judge Dee, and then through the detective novels van Gulik wrote himself. In those books the magistrate is brilliant and the confession is extracted. Song Ci, in a forensic manual of 1247, took the opposite road, trying to make the corpse testify so that no confession would be needed.
Zhu Shouchang did neither. He did not read the body. He read the bargain.
From that year in Langzhou to the statute of 1762 that first made substitution a crime in its own right, some six hundred years passed. From 1762 to the day Chinese procedure stopped treating a confession as the king of evidence, another century and a half.
In all that time, the men who walked into a yamen and said that they had killed somebody mostly did not get a second question.
The History of Song kept this one because it is not typical.
It is because it is rare.