At nine fifty-seven on the evening of 21 April 2006, a young security guard stood in front of a cash machine on Huangpu Avenue West in the Tianhe district of Guangzhou.
He wanted one hundred yuan.
His card held one hundred and seventy-six yuan and ninety-seven fen. He pressed the keys for one thousand.
The machine counted out ten notes and pushed them through the slot. He checked the balance again. It had gone down by one yuan.
This is the story of a man who took one hundred and seventy-four thousand yuan out of a faulty machine and was sentenced to life imprisonment. His sentence was later cut to five years, not because new evidence appeared and not because somebody else confessed. It was cut because a whole country spent four months arguing about a receipt.
It is also the story of a clause in the Chinese criminal code that almost nobody had ever used, and of what it costs a court to admit, in writing, that the law points one way and justice points another.

One machine, one weekend
Start with the machine, because everything else in this case grows out of the fact that it was broken for sixty hours and nobody knew.
The facts below come from the sentencing review ruling of the Supreme People’s Court, criminal review number 18 of 2008. In January 2006 Xu Ting was hired as a security guard by a property management company in Guangzhou. On the evening of 21 April he went to a cash machine operated by the Guangzhou City Commercial Bank, carrying a debit card with no overdraft facility and a balance of 176.97 yuan. He meant to withdraw one hundred. A friend, Guo Anshan, waited nearby.
He entered the amount for one thousand by mistake. The machine paid out one thousand. He queried the balance and saw that his account had been debited by one yuan only.
Anyone who has used a cash machine knows what happens in the mind at that moment. It is not the thought of robbing a bank. It is the thought that the thing is broken. The fault arrived from nowhere. He had not forced it open, had not inserted a false card, had not tampered with anything.
The ruling then records what he did next. He understood that the machine was malfunctioning, that it would pay out more than the account held, and that it would not debit the difference. Between 21:57 and 22:19, between 23:13 and 23:19, and again between 00:26 and 01:06 the following morning, he entered withdrawal instructions one hundred and seventy times and took out 174,000 yuan. His account was debited 174 yuan.
Three sessions. He went home in between, and came back out.
The same ruling notes something that most retellings leave out. At about four in the afternoon on 21 April, a contractor had upgraded the software on that machine. The 22nd and 23rd were a Saturday and a Sunday. The bank only discovered the fault on the morning of Monday the 24th, during a routine inspection of its off-site machines.
So the machine was wrong for more than two and a half days and no one at the bank knew. Xu Ting was the first person to walk into that error, but not the only one: Guo Anshan, having heard about it, used the same method to take 19,000 yuan.
Nothing about the machine was exotic. It was an ordinary off-site cash machine of the sort that stood outside bank branches, supermarkets and residential compounds in every Chinese city that spring, and it had one job: check the balance, then dispense. For those sixty hours it dispensed first and checked badly afterwards, charging one yuan for every thousand it handed over. No alarm sounded. No screen flashed a warning. The fault was invisible to the only person standing in front of it, which is precisely what made it a legal problem rather than a technical one.
On the afternoon of 24 April, Xu Ting resigned and left Guangzhou with the money.
The file says nothing about what he wore that night, where he went after the last withdrawal, or what he was thinking on the road. Those blanks have been filled in many times since by people who were not there. The only thing that can be stated is that he left, and that the money was not returned.
Thirteen months, and a city in Shaanxi
Police arrested him in Baoji, in Shaanxi province, on 22 May 2007. Thirteen months after the withdrawals. He was formally detained on 11 July.
By then the arithmetic of his year was obvious to everyone: 174,000 yuan, thirteen months on the run, a young man with no trade and no cover. The ruling disposes of the whole period in a single sentence. The money, it says, has still not been repaid.
The case reached the Guangzhou Intermediate People’s Court. The prosecution theory was clean. He knew his account held a little over one hundred and seventy yuan. He exploited the window before bank staff noticed. He obtained the cash by entering instructions, took it away, and fled. That is not finding money. That is stealing it.
On 20 November 2007 the court delivered judgment in case number 196 of the criminal division, sentencing Xu Ting to life imprisonment for theft, with deprivation of political rights for life and confiscation of all personal property.
In the law as it then stood, that outcome was not eccentric. Theft from a financial institution in an especially huge amount carried a penalty of life imprisonment or death. One hundred and seventy-four thousand yuan was an especially huge amount. An automatic teller machine counted as a financial institution. Both conditions were satisfied, and the sentencing range collapsed to a single shelf: life, or death.
The verdict was lawful. The question that four months of public argument would raise was different. How does a man who set out to withdraw one hundred yuan become, within two hours, a thief who robbed a financial institution?
Four months of noise, and one ruling that turned the case
On 17 December 2007 a Guangzhou newspaper, the New Express, published a report headed: Man withdraws cash 171 times after ATM error, then flees, sentenced to life.
Within a day the story was on every news portal and forum in the country. A message board was created for him. Threads on the Tianya forum ran to hundreds of thousands of replies. The argument moved quickly past the question of whether the sentence was too heavy and into stranger territory. Can a machine be deceived? If the machine has no mind, is there any deception at all? If there is no deception, is taking the money theft, or is it something the criminal code never anticipated?
One thing should be said plainly. Public opinion mattered in this case, but public opinion did not decide it. What turned the case was a ruling by the Higher People’s Court of Guangdong on 9 January 2008, quashing the original judgment and sending the case back for retrial.
That ruling used the ordinary language of appellate review, and its reasoning does not need to be reconstructed here. Its meaning was nonetheless unmistakable: the court above thought the original judgment had got the law wrong.
A new panel was formed at the Guangzhou Intermediate People’s Court. The retrial took most of the first quarter of 2008.
The dispute, stripped down, contained three questions.
First, can a machine be cheated? If it can, the offence is fraud. If it cannot, because a machine has no understanding to be misled, then the money was simply taken, and the offence is theft.
Second, if it is theft, whose money was taken? The bank as an institution, or the banknotes temporarily sitting inside that one machine? The first answer triggers the aggravated provision for theft from a financial institution. The second does not.
Third, and this is the part that most coverage never made clear: why was the only available sentence life? Because the code stacked two elements, an especially huge amount and a financial institution, and in doing so removed every lower rung from the ladder. The judge was not refusing to be lenient. The judge had nothing to be lenient with.
Five years, and six words
On 31 March 2008 the Guangzhou Intermediate People’s Court delivered its retrial judgment. Xu Ting was convicted of theft and sentenced to five years imprisonment, with a fine of twenty thousand yuan, below the statutory minimum.
Those last six words carry the weight. This was not leniency within the range. This was a court stating openly that the code pointed to life and that it was going to depart from the code, which is only possible through a special channel.
The channel is article 63, paragraph 2, of the Criminal Law. Where a defendant has no statutory ground for a reduced sentence, but the circumstances of the case are special, a sentence below the statutory minimum may be imposed with the approval of the Supreme People’s Court.
Xu Ting appealed. On 23 May 2008 the Guangdong Higher People’s Court held a public hearing, rejected the appeal, upheld the five-year sentence, and submitted the case to the Supreme People’s Court for approval.
Approval came on 20 August 2008, in the ruling cited at the start of this piece. The reasoning deserves to be quoted without paraphrase. The court held that Xu Ting, knowing his card held a little over one hundred and seventy yuan, had taken 174,825 yuan while bank staff were still unaware, and had fled with it. That constituted theft. Theft from a financial institution in an especially huge amount ordinarily requires life imprisonment or more. But, the court went on:
The theft was committed on the spur of the moment, on discovering that the machine was malfunctioning. The conduct therefore had a strong element of chance, and the subjective malice was relatively small compared with a planned, prepared theft from a financial institution. And the money was obtained by entering instructions into a faulty machine, which is a relatively minor circumstance compared with obtaining it by force or by damaging the equipment.
Two ideas are doing the work here. The first is chance: how the intent came into being. The second is method: how much violence the act did to the institution itself.
The same ruling also confirms something easy to forget. This was not one mistake. It was one hundred and seventy decisions. The Supreme People’s Court did not hide that fact, and did not treat it as an aggravating circumstance either. It left it in the record, where it belonged.
It is worth pausing on what the retrial did not do. It did not dispute a single figure in the case. The balance, the number of withdrawals, the amount taken, the amount debited, the flight to Shaanxi, the failure to repay: all of it stands exactly as the first judgment found it. Nothing about the facts changed between November 2007 and March 2008. What changed was the legal characterisation of the same two hours, and with it the entire weight of the sentence.
What the clause is for
After this case, article 63 paragraph 2 was discussed far more than it had been in the twenty years since it was written. Chinese scholars who have counted these approvals describe them as vanishingly rare in the total volume of criminal cases. The clause is a narrow door, built for extreme individual cases, not a routine instrument of sentencing.
Its importance is not really about Xu Ting. It is about the fact that when a judgment and an ordinary person’s sense of fairness diverge too far, the system contains one screw that can still be turned.
Five years later, the provision that had pushed this case to the edge of a life sentence was gone. The eighth amendment to the Criminal Law, adopted in February 2011 and in force that May, abolished the death penalty for theft and deleted the separate aggravated category of theft from a financial institution. That category had been drafted for a world of vaults, night watchmen and armed men with tools, and it did not fit a security guard pressing buttons at a machine that was paying out too much. The legislature did not say it had this case in mind. It did not have to. Turning it is expensive. The case must travel to the highest court in the country. A dedicated approval ruling must be written. The judgment must say, in effect, that the law required something else.
There is a comparison worth making for readers outside China. In the United States, a federal judge who thinks the sentencing guidelines produce an absurd result can depart from them and explain why, and appellate courts review that explanation for abuse of discretion. In England and Wales, the sentencing council publishes guidelines and the Court of Appeal adjusts them. China chose a different route: not discretion at the trial level, but a single exception that must be authorised at the centre, case by case. It is slower, it is rarer, and it leaves a paper trail that says exactly what the ordinary rule would have been.
That is why the case was later listed among the ten legal events of 2008. It is a record not of how a man took 174,000 yuan, but of how a court system found a lawful route between the statute and the outcome, and then wrote down the price of taking it.
As for Xu Ting himself: he was later released after reductions to his sentence. That is another story, and it is not this one.
One question was never formally answered, by any court, at any stage.
What if the machine that night had paid out one hundred and one yuan instead of one thousand?
What if he had taken four hundred yuan, gone home, and slept?
The law has no answer prepared for that version of events. It has life imprisonment for an especially huge amount, and it has five words for everything else: approval by the Supreme People’s Court.