On the fifth day of the fourth month of 879, in the city of Chengdu, three marketplaces put money on display.
One was the silk market, one the medicine market, one the market for precious goods. On each a heap of coins was laid out, with a notice beside it.
The total came to fifteen hundred strings of cash. Each string held a thousand coins. The notice said that anyone who reported and arrested a thief would receive five hundred strings. A thief, it added, cannot work alone; there must be partners. If a partner turned the thief in, his own offence would be pardoned and the reward paid to him as well.
In a market where a day of unskilled labour was paid in a handful of coins, five hundred strings was a fortune.
Within days a man brought a thief in.
The thief refused to accept it. In front of the crowd he shouted that he and his captor had robbed together for seventeen years and had split every haul. How dare you arrest me, he said. At the yamen I die and you die with me.

What He Did Not Do
Cui Anqian came from the Qinghe Cui, one of the great families of the Tang. His great-grandfather had been a director of the imperial library, his father a military governor, his elder brother a chancellor. In the Qianfu era he was appointed military governor of Xichuan, with his seat at Chengdu.
Xichuan at that time had a great many thieves.
The Comprehensive Mirror records what he did on arrival: nothing. He did not investigate. He did not order sweeps. He did not interrogate.
The people of Shu found this strange and asked him why.
His answer is the key to the whole case.
Thieves, he said, cannot become a plague unless the men who arrest thieves tolerate them. If I now investigate to the bottom, too many will be implicated. If I order a great sweep, it will be nothing but harassment.
Two things are being said there.
The first is a diagnosis. The problem was not that the thieves were strong. The problem was that some of the men paid to catch them were on their payroll. A gang can last seventeen years in a city not because its knives are sharp but because someone warns it, someone looks away, someone takes a share.
The second is a confession. He was not going to touch that root. An investigation would run through the constables, the county sheriffs, the patrol offices, and it would pull out a whole district of them. A newly arrived military governor could not afford that fight.
So he took a third path. Leave the root. Work on the branches.
The Notice
Fifteen hundred strings, laid out in three markets, in public.
No informants. No night raids. No torture. A public bounty, posted where the most people would pass.
The design has three features worth naming.
The first is the size of the reward. Five hundred strings was the whole property of a middling household. A reward that large is not addressed to honest men. Honest men do not arrest armed robbers for money. It is addressed to people who know the inside, and almost everyone who knows the inside is another member of the gang.
The second is the sentence in the notice that states the obvious: a thief cannot work alone. Every reader is being told that the man standing next to him can trade him for five hundred strings.
The third is the most important. If a partner informs, he is pardoned and paid.
That single clause converts informing from betrayal into lawful self-rescue. Inside the logic of a gang, capture means death. Informing means life, and a good life. Once that arithmetic is visible, the trust that holds a gang together is gone.
The Partner of Seventeen Years
The first thief arrested shouted the strongest line in the record.
He said: you and I have robbed together for seventeen years and split every haul. How can you arrest me? At the yamen I die and you die with me.
Note what he is arguing. Not that the accusation is false. He is arguing that his captor is the same as him, and that being first to move does not turn an accomplice into an honest man.
Under the Tang code that argument has real support. In joint offences the participants are generally punished together, without a distinction between principal and accessory. So he expected that both would die.
Cui Anqian dismantled the argument in one reply.
You knew about my notice, he said. Why did you not arrest your partner? If you had, he would be the one to die and you would be the one paid. He moved first. What do you have to say now?
The reply is clever because it concedes the premise. Yes, you are accomplices. But the law offers accomplices a way out, and the way out goes to whoever takes it first.
Then he did two things.
He paid the five hundred strings to the captor, in front of the man he had captured.
And he had the thief taken to the market and put to death by slicing, and had his household killed.
Two Articles of the Tang Code
Cui Anqian did not invent this. The Tang code already contained it.
One article covers voluntary surrender before discovery. A man who surrenders before the authorities learn of the offence is pardoned, provided he returns the property.
That proviso matters. Surrender without restitution does not clear the offence. Give the goods back and the slate is clean.
The rule ties confession to disgorgement. If you want the way out, you first hand over your share.
For an ordinary member of a gang, that produces a very practical sum. Stay in, and the share is a fraction while the risk is the whole case. Inform, and you return the fraction and take five hundred strings. There is not much to think about.
Another covers surrender by capture among fugitive accomplices. Where accomplices are at large, a man with a lighter offence who captures one with a heavier offence and surrenders may be pardoned; and where the offences are of equal weight, a man who captures more than half of his accomplices and surrenders may also be pardoned.
Set thieves to catch thieves, then, was not a trick. It was the enforcement of a statute.
What Cui Anqian did was take a rule buried in a legal code and technical to the point of unusable, and turn it into a notice that any market porter could understand, attached to a sum of money large enough to make the rule run for the first time.
That is the actual craft here. He did not invent an institution. He translated one.
The result is recorded in a single line. The thieves of the province began to suspect each other, found nowhere to shelter, and before dawn had fled beyond the boundary of his jurisdiction.
The Comprehensive Mirror draws the conclusion in four characters: no thieves within the border.
What the Novels Leave Out
English readers who know Chinese justice through Judge Dee will find no magistrate like this in the novels.
Robert van Gulik built his magistrate from the Qing detective tradition: a scholar who travels, interviews, observes, and produces a culprit in the final chapter. The pleasure of those books is the pleasure of a puzzle solved by a single mind.
Song Ci, whose forensic manual of 1247 is generally described as the earliest systematic work of its kind anywhere, belongs to the same world of individual expertise. He teaches an examiner how to tell drowning from strangulation, and how to detect a substituted body.
Cui Anqian did none of that. He did not solve a crime. He did not identify a culprit. He changed the price of information and then watched a market reprice itself.
That is a less literary kind of justice, and a more modern one. Most of what actually reduces crime is not detection. It is the quiet redesign of incentives.
No Thieves in Sichuan
Those four characters need a discount.
What they mean precisely is that within the jurisdiction of the military governor of Xichuan, no thieves could be caught any more.
The thieves had not been destroyed. They had moved.
Where? The record does not say. The reasonable inference is into the neighbouring circuits. For the people of Xichuan this was good news. For the people next door, the same men had simply changed address.
That is the signature of every campaign of this kind. It can push a problem from one jurisdiction into another. It does not solve it.
The other half is worse.
Cui Anqian had said himself that the thieves flourished because the police tolerated them. His notice attacked the trust inside the gang. It did nothing about the trust between the gang and the police. Constables could still take money and look away. They simply had to be more careful now, because a partner might sell them for five hundred strings.
So the four characters describe not so much a public safety outcome as a successful intervention in a market. He raised the internal cost of doing business until the business stopped.
The Slicing and the Family
One more thing has to be stated plainly.
The captured thief was put to death by slicing in the marketplace, and his household was killed.
Slow slicing was not one of the five statutory punishments of the Tang. The lawful capital sentences were strangulation and decapitation. Collective punishment of a household was reserved, in the code, for offences on the scale of treason and rebellion. Ordinary robbery did not reach it.
Measured against the law of the time, both acts went beyond it.
The history records them with approval, because the history is recording an effect: the thieves vanished in a night. But read as a precedent, the case is compromised. A military governor used punishments outside the code in order to enforce a rule inside the code.
This is the recurring structure in these cases. The methods of a capable official and the limits of the law do not always run on the same line. When they diverge, the histories tend to admire the official and skip the line.
The Same Idea, Later
Cui Anqian was transferred afterwards to Zhongwu circuit. When the Huang Chao rebellion began he memorialised for a joint campaign and won several engagements.
At Chengdu he had also rebuilt the army. The soldiers of Shu were timid, so he asked permission to recruit strong men from Chenzhou and Xuzhou, mixed them with local troops, formed three regiments of three thousand, and had them wear yellow caps. They were called the Yellow Heads. He also brought crossbowmen from Hongzhou to teach local men, and selected a thousand as the Divine Mechanism crossbow battalion. The troops of Shu became hard.
A man who could break a gang with a reward notice could also rebuild an army with a roster. He believed the same thing in both cases: behaviour follows the structure a person is placed in.
Criminology now calls that situational prevention. Do not try to change what people are. Change what it costs them, and what it offers them, to do a particular thing.
The idea has modern descendants. The United States False Claims Act of 1863 allows a private person to sue on behalf of the government and keep a share of the recovery; after the 1986 amendments it became the main tool for recovering Medicare fraud. The Dodd-Frank Act of 2010 created a bounty for securities whistleblowers of between ten and thirty per cent of the penalty. The core of both is the same as the notice posted in three Chengdu markets: give the person who knows something a reason to speak, and make conspirators afraid of each other.
The difference is what modern systems add. A whistleblower is protected. The accused gets a trial. Cui Anqian offered neither. He offered one night, five hundred strings, and a knife in the market.
The histories record it as a satisfying story, and the satisfaction is real. Fifteen hundred strings dispersed a gang that had operated for seventeen years, without moving a single soldier.
But the reply he gave still sits badly. It works because someone moved first. It works because the reward was high enough. It works because the man who was caught happened to be the one who did not move first.
The same notice, on a different morning, with a different man running first, could have produced the opposite result.
One small episode from later in his career belongs here.
Cui Anqian was eventually put in charge of appointments at the eastern capital, Luoyang. Under the rules the candidates were assessed on sealed papers, with names concealed, so that only the writing counted. One candidate went privately to the clerk who carried the files and talked up his own merits. The clerk repeated the praise to Cui, who did not know where it had come from, liked what he heard, summoned the man, and gave him a county magistracy above his seniority. When the manoeuvre later came out, Cui regretted it.
A man who could move an entire gang with five hundred strings could also be moved by one flattering sentence.
Rules are for other people, until they are for you. He used a notice to set thieves against each other; someone used a compliment to get him to abandon a sealed file.
That may be the hardest thing about the word capable. He could see every calculation in the room except his own.