In the third month of 846, in the Daming Palace at the western capital, the emperor of China was dying and could no longer speak.
He was thirty three. For years he had swallowed pills prepared by Daoist alchemists, and now his body had collapsed inward until the bones showed through his skin.
At the bedside stood Ma Yuanzhi, commander of the palace eunuchs. He needed a will, and he needed a successor.
The man he chose was Li Chen, an uncle of the dying emperor, thirty seven years old, holder of the title Prince of Guang. Everyone in the palace knew the prince for three things: he did not talk, he nodded at people, and when asked a question he smiled.
A fool is easy to manage.
That afternoon they brought the prince in from the Sixteenth Ward. He knelt by the bed and wept, his shoulders shaking. Ma Yuanzhi watched him and, one imagines, felt calm.
The next day Li Chen took charge of the government as imperial great uncle.
He sat down in the chair, looked once around the hall, and then he began to speak.
The Prince in Sixteenth Ward
Li Chen was the thirteenth son of Emperor Xianzong. His mother, Lady Zheng, had begun as a concubine of a rebel provincial governor. When that governor failed and his household was confiscated, she entered the palace as a maid to a senior consort, and somewhere along the way the emperor noticed her. Li Chen was the result.
A low born mother and the last place among the sons: the throne was not supposed to have anything to do with him.
In 821 he was given the title Prince of Guang. By seniority he was the uncle of three emperors in a row. By age he was a year younger than two of his own nephews. Inside the palace they called him Uncle Guang, and they did not say it kindly.
The Old Book of Tang describes him in eight characters: dark on the outside, bright within; grave and sparing of speech.
As a boy he fell badly ill. On the worst night of that illness he suddenly sat up, straightened his robe and cap, and bowed to an empty room as though greeting officials. His nurse was frightened and said the child had a sickness of the mind. Emperor Muzong came to look at him, rubbed his back and said: this is a remarkable thing of my house, not a sick mind.
Nothing further was ever recorded about it.
His nephews made a game of him. At banquets in the Sixteenth Ward the entertainment was to make Uncle Guang talk: jokes, bribes, tricks, a whole table leaning in. The longer he stayed silent, the louder they laughed.
Emperor Wuzong, a blunt and energetic man, was the least polite of all. He treated his uncle as furniture.
This went on for nearly thirty years.
The Tang had an old rule for its imperial clansmen. The princes lived together in the Sixteenth Ward. They were not allowed to leave it, hold real office, or receive outside visitors. The life of a prince was a stipend, a household, a large compound, and waiting.
Li Chen waited in that compound for three decades. He saw uncles kill nephews. He saw chief ministers dragged out of audience halls. He saw one set of men rise and another set fall.
He said nothing.
In those thirty years the Tang went through four emperors, the eunuchs murdered two of them, and a single night in 835 wiped out several hundred officials in what became known as the Ganlu Incident. Li Chen was never touched. A fool is not worth the effort.
One Morning He Spoke
In 846 Wuzong took to his bed after swallowing an elixir and did not appear at court for a month. Ma Yuanzhi looked over the imperial family and chose the man who seemed least able to govern.
The reasoning was practical. The Prince of Guang had no faction, no army, no reputation. Put him on the throne and the eunuchs would still be running the country.
In the third month the emperor died. Li Chen took the throne and declared the era name Dazhong, Great Mean. His first act was to remove Li Deyu.
Li Deyu had been the unchallenged chief minister of the previous reign and had beaten back the Uyghurs and crushed a rebellious province. Within a fortnight of the accession he was stripped of office, and then demoted again and again until he was sent to Yazhou, on the southern sea. Forty years of factional war between two political camps ended with one stroke, because one of the camps had lost its head.
His second act was to rehabilitate the dead of the Ganlu Incident. In 835 eunuch troops had entered the palace and killed chief ministers, their families and their households. For eleven years nobody had dared to raise the matter. Li Chen ordered that every official involved be cleared, with two exceptions whose names were too poisonous to touch.
His third act was to interview provincial governors in person.
Under the late Tang, a prefecture could be handed out for favours, cash or family connections, and the court never asked what the man did once he arrived. Li Chen made a rule: before taking up a post, a new governor came to see him, and he asked, on the spot, how the man intended to govern. Vague answers were sent away to think again.
He was miserly with appointments. A vacancy could sit empty for months rather than be filled casually. Relatives asked for posts and got gifts instead. That seat, he told them, is kept for someone who will look after the people in it.
The same held for chief ministers. In thirteen years he used more than a dozen of them, and none of them sat comfortably. A man of Li Deyu calibre lasted half a month. The ones who followed read his face before they opened their mouths.
Power gathered into one pair of hands. Decisions came fast. But it also meant that when this man fell, there would be no second pillar in the building.
There is a small story about a lute player named Luo, a favourite at court. Luo killed a man. The people around the emperor pleaded for him: what a pair of hands, it would be a waste. Li Chen said that a fine pair of hands was no reason to spare a life, and had him beaten to death.
In the autumn of that same year, Bai Juyi died.
Bai was the most popular poet of the age, the man who had written the Song of Everlasting Sorrow and the Song of the Pipa. Li Chen, three months into his reign, wrote a poem for the funeral. In it he listed what ordinary people knew by heart: children singing the long ballad, travellers from the western roads humming the song of the lute. A new emperor writing a mourning poem for a dead official, and writing it with that much detail, was not a common thing in the Tang.
Six of his poems survive in the great anthology of Tang verse. That one is the best.
Counting Rice by the Stone
On the wall of his palace chamber, Li Chen had a copy of the Maxims of Zhenguan painted on a screen. It was the handbook of good government compiled for Emperor Taizong two centuries earlier. He used to stand in front of it, and when he reached a passage he approved of, he would fold his hands and bow.
What he took from Taizong was the least glamorous part: grain, money, and the arithmetic of human lives.
The grain transport system had been rotting for a century. Rice from the Yangtze delta travelled north by canal and river to the capital, and at every stage it was skimmed, stolen, or lost when a barge went down. Fewer than two hundred thousand bushels a year reached the granaries outside the capital. Boatmen and guards deserted along the route.
In 851 Li Chen put Pei Xiu in charge of the canals. Pei wrote ten regulations and pinned responsibility to specific stretches of water. The route ran in four legs: Yangzhou to Heyin, Heyin to Shanzhou, Shanzhou to the mouth of the Wei, and the Wei to the imperial granary. Each leg had its own office, its own deadline, its own scales at the handover. Names of boatmen, bushels landed, dates of arrival: all of it entered in ledgers.
Before that, when a barge sank, nobody was responsible.
Within a few years the annual delivery rose to one million two hundred thousand bushels.
That single number explains more than any edict. A government is not measured by what it announces. It is measured by whether it can count a bushel of rice and find the man who lost it.
One thing Li Chen could not do was break the eunuchs.
The reason lies in an institutional detail. Since the reign of Emperor Dezong, the Shence Army, the best equipped force in the capital, had passed gradually into eunuch hands. Two eunuch commissioners commanded its left and right wings. Whoever held the soldiers held the person of the emperor, and in practice held the choice of the next emperor.
Li Chen had watched the Ganlu Incident at the age of twenty seven, when chief ministers were beheaded at the palace gate. He knew a knife was the answer. He also knew what came after a failed knife: his nephew Wenzong had tried once and spent his last years under house arrest, dying in circumstances nobody cared to explain.
He raised the subject with his chief minister twice, in careful language, and let it drop.
For thirteen years the eunuchs kept the army.
This is the largest blank space in the Dazhong era, and he left it blank.

The Northwest Came Back
The hardest achievement of the reign lay far from the capital.
After the An Lushan rebellion of the mid eighth century, the Tang had lost the Hexi Corridor and the whole of the northwest to the Tibetan empire. West of Fengxiang, the land was no longer Chinese. It stayed that way for nearly a hundred years. Emperors before him had wanted it back. Wanting was not the difficulty.
Li Chen waited for the Tibetan state to fall into a succession war, with frontier commanders holding their own territory.
In 849 three prefectures and seven passes around Yuanzhou returned to Tang. The news reached the capital and people wept in the streets. The names of those passes, Shimen, Yizang, Zhisheng, Shixia, Mujing, Muxia, Liupan, had not appeared in an official document for a century. With the seven gates open, the western gate of the capital had a door again.
The records left in the Dunhuang caves add one more thing. Zhang Yichao, the local leader who raised the revolt, sent ten separate embassies to the capital. They went by different routes through the northern frontier. Some were intercepted, some scattered, some died in the desert. One small group arrived.
In 851 the maps and tax registers of eleven prefectures reached the court, carried from Shazhou, which is Dunhuang. Zhang Yichao was a local magnate who had risen against Tibetan rule and taken the region back one town at a time. Then he sent the maps, the household lists and the official seals to the capital with a simple message: these places are still Tang.
The court created the Guiyi Army and made him its military governor.
This was the only real recovery of lost territory from the Tibetan empire in the whole period after the An Lushan rebellion. The histories give it a name of its own: the return of Hexi and Longyou.
It was also the year people began to call Li Chen the little Taizong. Long after the dynasty fell, ordinary families still spoke well of the Dazhong years: stable grain prices, light corvee, officials who did not dare to steal.
Pills and a Stone General
After 858 the country grew restless.
Garrison commanders in four provinces drove out their governors in a single season. Li Chen sent troops and put each revolt down in turn, but he was tired. He was forty nine that year, and his hair had gone white.
In 859 he began taking pills supplied by an imperial physician. The histories record the result briefly: thirst, dryness, a month without holding court. In the eighth month he died in the Daming Palace. He was fifty.
He had never named an heir.
Not from forgetfulness. He disliked his eldest son and preferred a younger one, but the younger was not the son of the empress, and the Tang had a long and bloody file on the consequences of setting aside the eldest. So he postponed the decision, year after year.
The postponement left a hole.
When he died, the eunuch Wang Zongshi brought troops, fetched the eldest son and put him on the throne. From that day to the end of the dynasty, five emperors in a row were made by eunuchs.
Later opinion splits in two. Sima Guang, writing the great chronicle of Chinese history, praised him as clear sighted, decisive and impartial, and noted that people were still reciting his virtues when the dynasty fell. The Qing scholar Wang Fuzhi gave him a colder line: he understood the small duties of a ruler and never understood the large ones.
There is also a story, popular and often repeated, that in his youth he fled his nephew and lived as a Buddhist monk. Nothing in the official histories supports it, and Song dynasty scholars had already argued it away. It belongs to legend, not to the record.
His tomb lies at Jingyang, north of the Wei river, and it is called Zhenling.
Go there today and the stone officials still stand on either side of the spirit road: a row of civil officers on the east, a row of generals on the west, faces without expression, shoulders thin, robes cut with a hurried chisel. The sculpture of the early Tang was round and heavy, a lion carved so that you could feel its weight. Here the edges have gone tight, and the work looks pressed for time.
The figures stand at the edge of a wheat field and have stood there for eleven hundred years.
They keep watch over a man who pretended to be stupid for thirty years, ruled for thirteen, and died of the medicine he took to live longer.