In the Tang dynasty, outside the walls of Chengdu, there was an inn.
Merchants came south and north and took rooms there. A good number of them checked in and never checked out. Over about ten years the owner became one of the wealthiest men in the city.
The deaths were all recorded. Natural causes, the record said.

The Text
The case appears in the sixth chapter of the *Mirror of Crime and Punishment*, in the section on concealed wrongdoing. At the end, the compiler notes three characters: source unknown.
By the time Zheng Ke assembled his collection in the Southern Song, nobody could say which book the story had come from.
It is short. Roughly a hundred and forty characters. A Tang governor of Jiannan, Wei Gao, learned that an inn was lodging rich merchants, that goods worth tens of thousands passed through it, that the poison was administered there, that seven or eight parts in ten were kept, and that the owner had grown rich on it. Wei knew of the matter but had not yet moved. Then a northern merchant named Su Yan was reported to the prefecture as having died of illness. Su was a native of Taiyuan, trading through the Sichuan basin. Wei ordered the inn register examined. It had already been replaced. He traced the circumstances; the accounts given differed. He then ordered the owner and the others at the inn to put in writing their concealment of the property, which came to several thousand strings of cash. More than twenty clerks of the yamen had been sharing the proceeds. All were handed over to the law. From that time merchants in Jiannan were no longer dying by violence.
The Man
Wei Gao was born in 746 and spent most of his working life in Sichuan. In 785 he was appointed military governor of Jiannan West, and he held the post for twenty-one years until his death in 805. In that time he survived the Zhuci rebellion, invasions from Nanzhao and repeated raids from Tibet. The court made him a prince of the second rank. Sichuan built shrines to him.
A military governor in the Tang held military, civil, fiscal and judicial authority in one hand. Jiannan West was headquartered at Chengdu, one of the richest commands in the empire. Silk brocade, well salt, tea and medicinal herbs moved out of it. Merchants came in from Chang’an, from Taiyuan, from the middle Yangtze.
The inn stood in exactly that traffic.
A Business
The text describes the trade in nine characters. It lodged great merchants. Their goods were worth tens of thousands. Poison was used.
Seven or eight parts in ten were kept.
One thing needs to be clear about Tang commerce. A merchant travelling long distance did not carry a letter of credit. He carried goods: bolts of brocade, piculs of herbs, salt certificates. When a man died in an inn, what happened to the goods.
If no relative came to Chengdu asking after him, they stayed where they were.
So this was not a single robbery. It was a business model. Pick a wealthy outsider. Kill him. Report illness. Keep the cargo.
Why did it work.
Because the word illness was, in the Tang administrative system, an extremely useful word.
Travel in that period was dangerous in ordinary ways as well as criminal ones. Rivers drowned cargo. Mountain roads were robbed. Disease took men in the third week of a journey. Merchants therefore moved in groups when they could, hired guards, and stayed where they had a contact. The official post stations were for government business, not for traders, so a merchant slept in private lodging houses, in temple guest rooms, or with a fellow native of his district.
Every one of those arrangements depended on trust, and every one of them was somebody else keeping the record.
When a stranger died in a lodging house, the keeper reported it. A merchant of such and such a place had fallen ill and died. What did the authorities then do. In Tang practice an inn kept a register: name, native place, number of companions, goods carried. A death required inspection, a report, notification of the family, and burial by the state if nobody claimed the body.
The procedure looks complete. It had one condition. Every piece of information came from the keeper.
He wrote who arrived. He said who fell ill. He reported who died. The register was in his hands, the body was in his yard, the account came out of his mouth. The only thing the authorities could check was the book.
That is why the business ran for a decade. It did not have to fool everyone. It had to fool one book.
Why Only Now
There is a hinge in the text. Wei Gao knew of the matter, but had not yet acted.
Seven characters, and they tell us something. The case was not a secret in Chengdu. Ten years of deaths at one address could not go unremarked. The governor had heard the talk.
He did not move at once.
Two reasons can be inferred, and both must be labelled as inference. First, there was no complainant. A merchant who died far from home left a family hundreds of li away, and few families would travel to Chengdu to sue over a few bolts of silk. Without a plaintiff, a murder charge is hard to open. Second, there was no evidence. The dead were buried, the bodies were gone, and the only document said illness.
Then a door opened.
A northern merchant, Su Yan, was reported to the prefecture as having died of illness.
Su was from Taiyuan, trading through Sichuan.
The word that matters in that sentence is the small one at the front: again. The same report had been made too many times. It had become a pattern, and a pattern is a form of evidence.
The Book
Wei Gao began with the register. He ordered it examined.
The step is plain and it is lethal, because the register was the only thing that joined a person to his goods. On such a date, a man of such a place, with so many companions and so much cargo, arrived from here and went on to there.
If the register was true, every dead guest could be identified, and every family that came looking could be matched.
So the keeper had already replaced it.
Four characters. The book had been swapped.
What does swapping a book accomplish. It breaks the matching. In the new version Su Yan might be a name and nothing else: no cargo, no companions, no origin. Or Su Yan might not be there at all. The dead were thinned out on paper.
This is the most modern thing about the case. The killer did not destroy the body first. He destroyed the record first.
It is worth knowing what the register looked like. Tang lodging records were not a line with a name on it. An arriving guest was entered with native place, name, number of companions, animals, the type and quantity of goods, where he had come from and where he was going. A copy stayed with the house. Officials used these books for tax, for tracing fugitives, for checking movement at the passes. Travel documents and inn accounts recovered at Dunhuang are written out neatly, entry after entry, closer to a modern check-in sheet than to a note.
Which means the keeper spent every day writing the complete particulars of every guest into a book that the authorities could demand at any time. His business and the evidence against it grew on the same sheet of paper.
The Book Was Swapped, the People Were Not
Wei did not stop at the book.
He traced the circumstances, and the accounts given differed.
He sent men to follow the sequence of events, not through the register but through people. Guests who had stayed there and left alive. Servants. Porters at the wharf. Men who had arrived a day before Su Yan and gone on.
What came back did not fit together.
That phrase, the accounts differed, is what a Tang investigator valued most. It does not mean that one man lied. It means that the statements of a group cannot be assembled. This one says Su arrived on the fifth. That one says the eighth. This one says two piculs of cargo, that one says one. This one says Su was in bed for three days, that one says he was drinking in the common room the day before.
Where the pieces will not join, the case opens.
Putting It in Writing
Then this: he ordered the owner and the others at the inn to sign a statement acknowledging the concealment.
In modern terms it looks odd. Why ask a suspect to write his own confession.
In Tang practice the written acknowledgement worked differently from a confession. It was not the basis of conviction. It was a tool for fixing accounts in place. Each person wrote what he knew and what he had handled, and signed. A later retraction would have to face his own handwriting. And because each wrote separately, the statements could be laid side by side and checked against each other.
It converts speech into paper.
They wrote. What came out of the writing was several thousand strings of cash.
More Than Twenty Men
At this point the case stops being about an inn.
More than twenty clerks of the yamen had been taking shares.
This is the heaviest sentence in the passage. It explains the decade. The inn did not survive because its method was clever. It survived because it had twenty men inside the administration.
A death reported as illness had to be received, copied and filed by someone. A body had to be inspected and buried by someone. A consignment of goods had to be cleared and taxed by someone. If any one of those links had held, the business would have ended in a month. Twenty men on the payroll means every link was open.
So Wei was not investigating a murder. He was tracing a chain.
All were handed over to the law. What that meant in practice the text does not say. Under the Tang code, intentional killing carried death; an official who took money and bent the law was liable to strangulation at fifteen bolts of silk. Twenty-odd clerks plus the household of the inn, judged by those provisions, would have produced a substantial number of executions. The record gives three characters and stops.
From That Time
The last sentence is where the passage lands. From that time merchants in Jiannan were no longer dying by violence.
It reads like a summary. It is a result. It does not say the inn closed, or that lodging houses in Chengdu became clean. It says the pattern was cut, and cut loudly: twenty-odd clerks handed over at once was a message the whole prefecture could read.
Zheng Ke appended a comparison.
When Chen Zhifang was prefect of Junzhou, boatmen on the Han River kept drowning merchants and taking their goods, then blaming the water. Chen arrested them and applied the law. He then did something else. He exempted several households near the shoals from corvee labour and made them responsible for marking the dangerous passages.
Zheng Ke says the technique was much the same as Wei Gao’s.
The similarity is that neither man stopped at the culprit. One cut the collusion inside the office. The other cut the excuse on the water. When the case was over, the conditions that made the killing possible had been dismantled.
The Other Side of the Register
The register deserves its own paragraph.
Tang lodging records existed for security. Who came, where he was going, what he carried. Documents recovered at Dunhuang include travel permits and accounting papers that show how closely movement was recorded, down to the animals a man brought with him.
For a merchant, the register was protection. If he died in an inn, his name was in the book, his family could trace him, and the authorities knew whom to notify.
For the keeper, the register was exposure. So he changed it.
The logic has not changed. Hotel registration is compulsory in China today, under the rules on public security in the lodging industry and under the counter-terrorism law. A man checks into a hotel and a record exists; if he disappears, that record is where the search begins.
What this case adds is the reverse side. A registration system protects people only while the record is true. Once the record can be rewritten, the system stops covering the victim and starts covering the crime.
Wei Gao succeeded not because he was cleverer than his predecessors. He succeeded because he refused to accept the register as the answer. He went and asked the people who were still alive.
What Is Missing
Several things in this case will never be known.
How Su Yan died. What the poison was. Where the body was. The name of the keeper. The name of the inn. What sentence the twenty-odd clerks received.
How long Wei Gao had known is also unknown. The text says only that he had not yet acted, which may be an explanation or may be an excuse.
One question is worth more than the rest. In those ten years, did anyone come looking for the dead.
Under Tang rules an unclaimed body was marked, announced and held for collection. A family in Taiyuan waiting for word could only ask travellers. If the asking produced nothing, a line went into the genealogy: died in Shu.
This case survives because one of the dead men was called Su Yan, and because Su Yan’s death reached the desk of the military governor. The others did not.
So the last sentence, from that time merchants were no longer dying by violence, is about the years after. The years before had already been written out of the book.