A young woman in Dengzhou put a knife inside her coat, walked to the field hut where her future husband was sleeping, and cut him more than ten times.
He lived. She took off one of his fingers.
The case went on to occupy an emperor, two Hanlin scholars, the three judicial offices and the whole censorate for more than a year.

Dengzhou, 1068
The first year of the Xining era. Dengzhou sat at the eastern end of the Shandong peninsula, on the coast, a prefecture of fishing ports and salt flats.
The file that came up from there concerned a woman called A Yun.
Her mother had died not long before, and she was still in mourning. Under the law of the dynasty a daughter in mourning for a parent could not be married. Her family had nevertheless arranged a match with a man named Wei.
The History of Song is brief about what happened next. A Yun was betrothed but not yet married. She thought her intended husband ugly. She waited until he was asleep in the field hut and went in with a knife. More than ten wounds, none of them fatal. One finger came off.
Betrothed but not married. Those four characters carry the whole case.
There is a harder layer underneath. A betrothal during mourning for a parent was itself an offence, punishable by three years of penal labour. The match was invalid from the start.
One finger
How the case was broken, the history does not dwell on. The local officers could not find the attacker. They suspected A Yun. They were about to apply torture. She talked.
In Song terms this was confession on questioning: the authorities did not yet have the evidence, they brought her in and asked, and she admitted it at the first asking.
That, argued her defenders, was a surrender.
The arithmetic of Xu Zun
The prefect of Dengzhou was a man named Xu Zun, and he did the arithmetic carefully.
Step one. The betrothal took place while A Yun was in mourning for her mother. A marriage contracted in that period was unlawful. If the marriage did not exist, she was not a woman who had tried to kill her husband. She was an ordinary person who had tried to kill an ordinary person.
Step two. She had confessed at the first questioning. The code contained a provision that a person who surrendered after committing a killing or wounding could be excused the offence that gave rise to it. Xu Zun read this as follows: the plot is the cause, the wounding is the result. Surrender cancels the plot, leaving only the wounding, which falls under the rule for attempted murder that has caused injury with surrender on questioning, and that rule reduces the penalty by two degrees.
Two degrees down from the death sentence is not death.
Under the Tang and Song scale of penalties, a commuted strangulation became exile at three thousand li, and one more degree down became three years of penal labour. A woman who had cut a man more than ten times would end up doing three years.
That outcome is what Sima Guang could not accept.
The capital says death
The file reached the capital, and the first stop was the Review Office.
The Review Office had been created early in the dynasty and placed inside the palace precincts, with a specific job: to re-examine the sentences passed by the Court of Judicial Review. Its existence was itself an argument. The throne did not entirely trust the judiciary and wanted its own checkpoint next door.
The Review Office and the Court of Judicial Review agreed. Death.
What survives of their reasoning is six characters in the record: they used the unlawful marriage to request an imperial ruling. Behind those six characters sits a chain of inference. A betrothal in mourning is unlawful, but the ritual relationship it created was still recognised, so she remained a woman who had tried to kill her husband, and the penalty for that was strangulation. As for surrender, being asked and then admitting it did not count.
The emperor issued a decree sparing her life.
Xu Zun was not satisfied. He did not want one woman spared. He wanted a rule.
Two Hanlin scholars
At this point the court decided to promote Xu Zun to head the Court of Judicial Review. The censorate immediately impeached him for having decided the case wrongly. He refused to accept the charge and asked that the question be sent to the two drafting offices.
The two drafting offices were the Hanlin Academy and the Secretariat, the men who wrote the emperors documents. They were not a standing court. They were the high level panel a government convenes when the lawyers cannot agree.
The emperor named two men: Sima Guang and Wang Anshi.
They read the file and wrote separately, and they reached opposite conclusions. Sima Guang supported the Ministry of Justice. Wang Anshi supported Xu Zun.
Sima Guang put his argument in a memorandum that still survives. The statute says plainly that injury in the course of a killing is not within the scope of surrender. If wounding in an attempted murder can be reduced by surrender, the scale tilts, and the heavier and lighter offences stop making sense. He used a heavy phrase: this opens a road for the violent and feeds the source of killings.
Wang Anshi argued from the structure of the code. Where a statute creates an exception that excuses, it should be read broadly enough to cover the lesser case as well as the greater. Robbery with wounding carries decapitation and yet the robber may be excused the offence that gave rise to it. Attempted murder with wounding carries strangulation, which is lighter than decapitation, so the same excuse must apply. And then the sentence that matters most: the officer deciding a case must keep to the law; questions of mercy and severity are for the emperor to settle by decree.
The emperor picks a side
Emperor Shenzong adopted the view of Wang Anshi.
The censorate did not accept it. The chief censor asked for a fresh panel; another censor asked that Xu Zun’s promotion be cancelled. The emperor sent the file to three more senior drafters, who agreed with Wang Anshi.
The judges of the capital objected in writing. The emperor then ordered Wang Anshi to debate them face to face.
In the second month of the next year a decree went out: from now on, cases of surrender in attempted murder were to be reported and decided by imperial decree. That same month Wang Anshi was appointed to the council of state. He argued the point in front of the emperor against several senior officials and won. Another decree confirmed that the previous year’s ruling would govern all such cases.
The Ministry of Justice tried again, asking for a joint conference of the two central councils. The censors backed the request. The emperor said the statute was clear and no conference was needed. A senior minister suggested that letting everyone speak was harmless, and the pile of opinions went to the Bureau of Military Affairs.
The military men weighed in too. One said that wounding means wanting to kill and failing, and a man who has already killed cannot surrender. Another proposed that wounding should follow the statute and only accomplices who surrendered should be reported for decree.
A quarrel about one farm woman had become a quarrel between two factions at court.
Statute and decree
To follow the argument you need two words.
The statute was the Song Criminal Code, promulgated under the first emperor, meant to last. The decree was the emperor’s ruling on a particular matter, flexible, immediate.
Song government did not leave decrees loose. Every few years it compiled them into books, classified by topic, and published them. Each compilation was thicker than the last. By the middle of the Northern Song the decrees far outnumbered the five hundred articles of the code. Judges looked at the decrees first and the code second. That was already normal.
Sima Guang defended the statute. A code is the constant of a hundred generations; an emperor cannot rewrite it because of one case, or the law has no fixed measure and no official knows what to follow.
Wang Anshi used the decree. A code has limits; new situations need new instruments; legislation must fit the time.
That is not a difference of temperament. It is a difference about what law is for.
What happened to A Yun
A Yun did not die. The record gives three characters: her death was spared.
Most later study of the case says she was sentenced to controlled exile, registered in a district far from home and supervised by the local magistrate. That is probable, but the primary text does not spell it out, and the only thing that can be stated flatly is that she was not executed.
What happened afterwards is thinner still. A widely repeated account says that sixteen years later, when Sima Guang became chancellor and reversed Wang Anshi’s reforms, he reopened the old case, and A Yun was put to death.
That story comes from unofficial histories and later notebooks. The dynastic history does not record it. It has to be labelled as a story.
One thing is certain. Sima Guang never changed his mind. He kept his memorandum in his collected works, which is a way of nailing an argument to the wall.
Six kinds of killing
The Tang code divided unlawful killing into six categories, and the division survives in Song practice. Premeditated killing, intentional killing in a sudden rage, killing in a fight, killing by mistake, killing in play, and killing by negligence. The category decides the penalty, and the boundary between the first two and the rest is where most arguments happen.
Premeditated killing is the gravest. A plot that fails but draws blood sits just below it, and that is the shelf A Yun was put on.
Then there is the question of the wound itself. Song courts used a system of fixed observation periods. A victim of a beating was kept under watch for a set number of days, ten for blows with hands and feet, twenty for blows with a stick or other object, thirty for a blade or scalding. If the victim died inside the period, the attacker was sentenced for homicide. If the victim died after it, the sentence was for wounding.
Wei did not die. He lost a finger. Under the observation rules his injury was assessed and closed, and the case became one of wounding in the course of an attempt.
All of this is why the dispute was so technical and so bitter. Nobody in the argument was asking whether A Yun had done it. She had said so. The fight was entirely about which shelf the file belonged on, and the shelf determined whether she lived.
What was actually argued
On the surface the question was whether one woman should die.
Underneath there were three questions.
First, where surrender ends. If admitting the offence when questioned counts, then every offender who talks before the evidence is complete gets a reduction. If it does not count, then surrender means only walking into the yamen on your own feet, and the institution shrinks to almost nothing.
Second, whether plot and wound can be separated. The plot is the intention, the wound is the result. Treating the plot as the offence that gave rise to the wounding, and excusing it, is logically defensible and intuitively strange. A woman cuts a man more than ten times and is sentenced for wounding.
Third, which text wins. The Tang code contained a rule that a judgment must cite the specific statute applied, which is an early form of the principle that no punishment without law. The Song problem was that the decrees kept growing, so a judge had two books and had to choose.
A thousand years later the same three questions are still live. Whether a confession bargain should cut a sentence by half. Whether a judicial interpretation may go beyond the text it interprets. Which document governs when an emergency rule contradicts a standing one.
The weight of one finger
The case ended in a decree: wounding in an attempted murder, confessed on questioning, is reduced two degrees from the penalty for the attempt.
That decree became a precedent and was cited in later cases of the same shape.
Wang Anshi won. He won by getting the emperor to settle a rule by decree, which was efficient at the time and dangerous afterwards. If a decree can revise a statute, what is left of the statute?
Sima Guang lost. What he feared arrived in stages.
English legal history has an analogous fault line, between case law and statute, and it was settled by a long argument about which body speaks last. The United States settled a version of it in 1803, when the Supreme Court claimed the power to review legislation. Song China had no separation of powers to settle anything with. It had an emperor, two Hanlin scholars, a crowd of censors, and a year of quarrelling.
The result was that a woman lived. How she came to live, whether by statute, by decree, or by the mood of the throne that season, nobody could say.
What the file leaves is a woman, a knife, a severed finger, and a phrase about two degrees.
She has no name in the record. A Yun is a form of address for a young woman, the familiar prefix and a single character. Her family name, her village, her age when she died: none of it survives. In the whole file she is not a person but a legal relation, and the argument about her was never really about her.
That is the part that has not changed either.