In the summer of 716, the court of the Tang dynasty was arguing about insects.
There had been drought in the north China plain, and after the drought came locusts. They came in clouds, settled on the millet, and left the fields bare. Reports from the prefectures grew more urgent every week.
The proper response to a disaster of that kind was already written down.
Since the Han dynasty, officials had understood a locust swarm as a warning from heaven about the conduct of the ruler. The remedy was ritual: sacrifices, fasting, an edict in which the emperor blamed himself. You did not kill the locusts. Killing them was arguing with heaven.
Most of the court held this position, in one form or another. Some said the plague was natural and beyond human control. Some said that killing on that scale would bring bad luck. Some said that organising peasants to beat the fields would simply make everything worse.
The Year of the Locusts
The chancellor, Yao Chong, disagreed.
Locusts are afraid of people, he said, and every field has an owner, so let each man save his own field and he will not spare himself.
He proposed three measures. Fires were to be lit along the field boundaries at night, so that the swarm would fly into them; pits were to be dug beside the fires, and the insects burned and buried as they fell. A levy of grain was to be collected per acre to pay the men doing the work. And censors were to be sent out to each prefecture to see that it was actually done.
The objections did not stop.
The deputy chancellor, Lu Huaishen, came to him and said that locusts were a matter of heaven, not of manpower, and that killing so many living things would injure the harmony of the world.
Yao Chong answered with two old stories and one sentence. A king of Chu had eaten a leech by accident and his illness had cured itself. Sunshu Ao, as a boy, had killed a two headed snake and hidden it, and later became chief minister. If killing locusts brings disaster, he said, let the disaster fall on me and not on anyone else.
Lu Huaishen stopped arguing.
The hard case was Bianzhou, in Henan.
Its prefect, Ni Ruoshui, refused to move. He sent up a memorial saying that the locusts were a punishment from heaven, that the correct response was virtue and prayer, and that killing them was useless. Yao Chong sent him a written reprimand that has survived: the good governors of antiquity were so upright that locusts did not enter their territory at all. If virtue drives locusts away, what does their presence in your prefecture say about your virtue.
Ni Ruoshui began burning locusts the same week. His prefecture buried one hundred and forty thousand bushels of them.
By autumn the swarm had broken up. The histories record the outcome in six characters: the locusts gradually stopped, and the harvest was still good.
Picture what that work looked like. A field in June, the millet half eaten, the air full of insects. Fires along the ridge at night, a column of them going up, and men with brooms sweeping what fell into a trench, a layer of locusts, a layer of earth, another layer of locusts.
One village cannot do that alone. It takes several villages, a night of wood, and somebody standing there to make sure no one stops at midnight.
That is why he sent censors. He knew that an order on paper does not move a field.
From Dirge Singer to Chancellor
He was born in 651, in Shaanzhou, in the west of what is now Henan. His name at birth was Yuan Chong, and he was later renamed because the characters of his given name collided with the new reign title, Kaiyuan.
This is one of those details that make Tang politics legible. An emperor declares a new era name; anyone whose name contains one of those characters has to change it. A man can lose his name to a calendar.
His family was not poor. His father had been a regional commander, and he entered the service through that connection, and his first post was as a dirge singer.
That is not a joke. At imperial funerals, the procession was led by a choir of young men of good family singing the mourning songs, and the post was a recognised first step. He then moved to a real job, managing a granary.
He was good with accounts. This matters, because almost everything he later did was an exercise in accounting.
In 696 the Khitan raided Hebei and took several prefectures. The military paperwork came in faster than the ministry could read it. Yao Chong, then in the Ministry of War, worked through it item by item, and the empress Wu Zetian noticed. Within two years he was a chancellor.
Wu Zetian was a good judge of administrative talent and a ruthless judge of everything else. He served under her for years and watched how she dealt with people who opposed her.
In 705 she fell ill, and a group of ministers including Zhang Jianzhi surrounded her palace, forced her to abdicate, and put her son back on the throne.
Yao Chong was part of that conspiracy.
When it succeeded, the old empress was moved to a separate palace, and the court congratulated itself.
Yao Chong wept.
Zhang Jianzhi asked him whether this was really the moment for tears, and told him he was going to ruin himself.
Yao Chong said that he had joined the plot for the sake of the state, and that weeping for his old ruler was the duty of a subject, and that he would accept the consequences.
He was sent out of the capital.
For the next dozen years he governed provinces: Bozhou, Changzhou, Shenzhou, moving every few years. The post was respectable and the distance from power was total.
That stretch matters. A capable man parked in the provinces either rots or learns how the country actually works. He learned. Censuses, canals, backlogged lawsuits, the price of grain: none of it makes a headline, and all of it decides whether a prefecture survives a bad year.
Later, as chancellor, he could look at a province account and see at once where the numbers were wrong. Those years are where he learned to look.

Ten Conditions
In 713 the emperor Xuanzong had just destroyed the faction of his aunt, the princess Taiping, and was for the first time actually in charge.
The throne had been a trap for eight years. Since the abdication of Wu Zetian there had been four emperors and two coups. The empress of the reign before had poisoned her own husband. The princess had placed five of her men among the seven chancellors. Every office in the capital was occupied by someone from the last round of the fight.
He needed a man who could clean it up.
According to Tang accounts, he summoned Yao Chong, talked with him through the night, and offered him the chancellorship on the spot.
Yao Chong did not thank him.
He said that he had ten things to propose, and that if the emperor could not accept them, he would decline the appointment.
Then he went through the list.
Do not govern by the terror and the extraordinary tribunals of the previous reign. Do not chase frontier glory and start wars for prestige. Keep eunuchs out of policy. Keep imperial relatives out of the high offices of the central government. Apply the law to everyone, including the people closest to the throne. Take nothing beyond the statutory tax. Stop building temples and monasteries. Treat senior ministers with courtesy. Listen to objection. Do not let the families of empresses into power.
Ten items. Xuanzong agreed to each one as it was read.
This is the famous Ten Conditions, and what makes it unusual is not the content but the transaction. A minister was setting out the terms on which he would consent to serve, and the emperor accepted them one by one, out loud.
Only then did Yao Chong take the seal.
Three Fires
His first act was to cut the payroll.
Under the two previous reigns offices had been sold. A man could pay, receive a document signed directly by the emperor without going through the drafting and reviewing departments, and take up a post. They were called slant-sealed officials, and there were thousands of them.
Yao Chong reviewed the lists and struck most of them off.
His second act concerned the monasteries. Buddhist institutions held land and labour and were growing, and the tax registers were shrinking accordingly. He ordered an audit, and a large number of monks and nuns were returned to ordinary life.
His third act was to send inspectors out to examine the provincial officials, and to remove the corrupt, the incompetent and the very old.
By the end of it, the queue of people who wanted him dead reached to the city wall.
In 716 he resigned.
The reason was not honourable. Two of his sons had taken money from people and spoken for them, and the matter reached the censors. Yao Chong did not cover for them. He submitted his own resignation, and recommended the governor of Guangzhou, Song Jing, to replace him.
Xuanzong accepted, gave him an honorary title, and told him to attend court once every five days.
He never held the chancellorship again. The emperor went on consulting him for the rest of his life.
He died in 721, at seventy one. His posthumous name was Wenxian, cultured and worthy.
Among his papers was a document addressed to his descendants.
It is very specific, and it is not a sermon about frugality. He had watched too many families in which the father built something and the sons destroyed each other over the division of it. So: no lavish funeral, no expensive monks, no valuable objects in the grave.
His reason for the last one was practical. A grave with treasure in it attracts men with shovels. The grander the tomb, the sooner it is opened, and a man who wanted to be remembered with dignity ends up with his bones scattered through the devotion of his own children.
A man who spent his life on accounts treated his own grave as one more account.
Dead Yao Chong Outwits Live Zhang Yue
There is a story about his funeral that everyone in China knows, and that needs a warning label: it does not appear in the official histories. It comes from later collections of anecdotes.
First, why the two men disliked each other.
Zhang Yue was a first rate chancellor and one of the best prose writers of the age, with a career comparable to the man he hated. When Yao Chong was appointed, Zhang Yue worked against it, and he had grown close to the emperor brother, the prince of Qi. Yao Chong reported it. Zhang Yue was sent to a provincial post.
The grudge was set.
The story goes that on his deathbed, Yao Chong called his sons over and gave them instructions.
Zhang Yue, he said, will come to pay his respects, because protocol requires it. He has one weakness: he loves rare objects. Lay out everything I own in the reception hall. If he does not look at any of it, we are finished, so pack up and leave the province. If he looks, and looks again, give him whatever he admires, and then ask him to write the inscription for my tombstone.
The sons did it.
Zhang Yue came, stopped in front of the objects, and stayed there. They gave him what he wanted and asked for the inscription. He agreed at once and wrote magnificently, describing Yao Chong as one of the great ministers of the dynasty.
The family had the text carved the same day, and sent a copy to the emperor.
A few days later Zhang Yue realised what he had done and sent a message asking for the draft back, saying that a few passages needed correction.
The answer came back that the stone was already cut, and a copy was already on the imperial desk.
Zhang Yue sat down and said, in effect: a dead Yao Chong has still outplayed a living Zhang Yue.
The story cannot be verified. What it understands correctly is the mechanism. Once Zhang Yue had written those words, he could never again argue in politics that Yao Chong had been a bad minister, because his own hand had praised him. And Yao Chong knew exactly which man would write it, and exactly when he would regret it.
A man who spent his life calculating closed his last account on his own reputation.
Forty three years after his death, the An Lushan rebellion broke the dynasty almost in half.
Men looking for the causes went back to the beginning of the reign and found the same two names. The histories put it in a sentence: Yao Chong was good at responding to what changed, Song Jing was good at holding to what was correct.
One moved, one stood still. The one who moved tore out what had to be torn out and cut what had to be cut, and then handed the machine to the one who would not let anyone touch the settings.
Posterity gave him a title that is careful and exact. They called him the chancellor who saved the times.
Not the founder of a system. Not the author of a doctrine. Just the man who, when a ship was already going down, got it level again.
His grave is at Yichuan in Henan. According to the legend, the inscription on the stone was written by Zhang Yue.