Vol. 1 · No. 336 December 2026
Wednesday, December 2, 2026

The Man Who Balanced the Books for a Broken Empire: A Chinese History Story

After eight years of rebellion the Tang had lost two thirds of its taxpayers and could not feed its own capital. The official they handed the accounts to had never commanded a soldier. He cut a thousand li of canal into four legs, let salt pass through official hands only at the source, and hired runners to tell him the price of grain five days away. This Chinese history story follows the twenty years, and the decree that ended them.

In the second year of Guangde, the price of rice in Changan was still climbing.

A thousand copper coins for one peck. A guardsman did the arithmetic and found that a month of pay would not buy thirty catties of grain.

There were reasons. Guanzhong is a narrow plain with too many people on it: the court, the ministries, the households of the palace, and several hundred thousand soldiers. The rice had to come from the lower Yangtze.

That meant a boat up the canal, onto the Yellow River, and then onto the Wei, more than a thousand li of water, with the Sanmen Gorge in the middle.

The gorge ate boats. In a bad year it took dozens.

Grain that reached Changan cost three times what it cost where it was grown. Sometimes four.

The coins in a man’s hand had not changed. There was simply less rice to buy.

The Price of a Peck of Rice

Before the rebellion, the Tang had a system that worked.

Tax in grain, cloth and labour, assessed on adults. Land allocated by the state to those same adults. In the high years of the eighth century it ran well, because there was land to give and the registers matched the people.

Then came eight years of war.

Registered households fell from nine million to under three million. Some died. Some fled. Some signed their land over to a great family and came off the books entirely, which suited both parties. The land was still there. The taxpayers were not.

The military governors of Hebei stopped sending revenue. So did Huaixi. What the court could still collect came from the eight circuits of the south and a strip around the capital.

An army costs money. A government costs money. An emperor has to eat.

In 758 the finance official Diwu Qi took salt into state hands and added a hundred coins to the price of a peck. It was the first time the Tang had touched salt, and it worked, in the sense that money arrived.

It also pushed the price up several times over.

Illegal salt moved by water.

The tighter the checkpoints, the higher the price.

The higher the price, the more men carried it. Salt smugglers travelled armed, and one boat of contraband was worth several years of a farmer’s rent.

After 762 the whole mess was handed to Liu Yan.

The accounts he inherited looked like this: a year’s income covered less than half a year’s spending. Soldiers needed pay. Officials needed salaries. The palace needed grain. The frontier needed gifts.

Someone proposed raising taxes on the south again.

Liu Yan took the harder road instead. He moved what already existed to where it was needed.

Cutting the River into Pieces

Liu Yan came from Nanhua in Caozhou. At seven he was presented at court as a prodigy, and he spent his early career as a proofreader in the imperial library.

He never commanded a soldier in his life. His war was arithmetic.

The first thing he did was go and look at the river.

The route from the Yangtze delta to Changan had four legs: the Yangtze, the Bian canal, the Yellow River, and the Wei. They could hardly be more different. The Yangtze is broad. The Bian is shallow. The Yellow River is violent. The Wei is narrow.

The old practice was to use one set of boats and one crew for the whole journey. A flat-bottomed canal boat would beach on the Yellow River, or a river boat would break up in the shallows of the Bian.

Liu Yan cut the line into sections.

Yangtze boats did not enter the Bian. Bian boats did not enter the Yellow River. River boats did not enter the Wei. Each leg had its own hulls and its own crews, men who knew that water and no other.

At every junction he built a warehouse.

Yangzi, Heyin, Taiyuan, one after another down the line. Grain came off a river boat, went into a store, came out and went onto a canal boat, with a clerk counting both ways.

The warehouses had a second use. In a year when the south was rich and the capital was hungry, grain did not have to travel all the way. At Heyin it could turn west.

A warehouse is a country’s pocket.

Then he dredged the Bian canal.

It had silted for years. The bed stood higher than the fields on either side, and every wet season it burst. Liu Yan put labour on the silt, built pound locks, and let water down section by section to float the boats through.

Then he wrote the loss into the system. A crew carrying ten units of grain was permitted to lose one. Whatever they saved, they kept.

That single clause did more than any inspection. Under the old accounting, stealing was rational because nobody could tell what a boat should have delivered. Under the new one, the honest man got rich and the thief lost money.

He also built ships.

At Yangzi he set up a yard and ordered two thousand canal hulls at a thousand strings of cash apiece. His successor thought the price absurd and cut it to five hundred. The same number of ships came out, with thinner planking and fewer nails. Within a few years they were leaking, and the annual loss of hulls climbed.

Liu Yan had a line about this, which somebody wrote down: a man doing a large thing must not pinch pennies on it.

The result was that the annual delivery to Changan rose from a few hundred thousand piculs to one million one hundred thousand, and, in the words of the record, not a single pint was lost to the water.

Grain barges and warehouses on a Tang dynasty canal - Chinese history illustration

Salt Passes Through Official Hands

With salt, Liu Yan did not change the price. He changed the road.

Diwu Qi had made the state buy the salt, move the salt and sell the salt, through a small army of salt officials. It was expensive at every step, and expensive salt breeds cheap contraband.

Liu Yan reduced it to six words: made by the people, bought by the state, sold by merchants.

Salt was still boiled and dried by the salt households. The state set up yards at the salterns and bought it there, added its margin, and sold it on to merchants, who could then carry it wherever they liked.

The state held one point on the map: the source.

This meant no thousands of hauliers and shopmen on the payroll, only buyers at the yards and inspectors on the roads. Merchants with a margin pushed salt into thin country, where the price had always been worst. In those places it fell.

He ran all of it from Yangzhou, at the junction of the Yangtze and the canal, holding the salt and transport commissions at the same time. One desk controlled the money, the boats and the warehouses, which is why the thing worked and also why the court eventually found him alarming.

He set up ten inspectorates in the salt districts and checkpoints on the main roads, where a merchant had to show his permit.

Salt revenue went from four hundred thousand strings a year to six million. In time, half of all state income came from salt.

He was also particular about who handled the money. His rule was to use scholars. A man with rank and a career has a reputation to lose; a clerk with no prospects has only his hands. It is not a flattering theory of human nature, but his books ran for twenty years without a scandal.

Europeans of a later century would recognise the machinery. France ran on the gabelle, a state monopoly on salt, and Colbert built the finances of Louis XIV on exactly this logic: let the crown own the one commodity that everybody must buy, and let private traders do the carrying. Colbert was a civil servant who never commanded a regiment either, and he was hated for the same reason Liu Yan was hated — he made the state solvent, and solvency makes enemies.

The difference is worth naming. Colbert had a navy behind him. Liu Yan had a court that owed him money and a treasury that had been empty before he arrived.

And: when the households come back, the revenue widens by itself.

Five Days From Anywhere

Liu Yan also managed the price of grain, which meant managing information.

He revived the old ever-normal granaries. Buy in a good year, when grain is cheap. Sell in a bad year, when it is dear. The Han had done it a thousand years before.

The difficulty was never the idea. It was capital, and it was knowing where the price had moved. Move grain a month late and you have moved it to the wrong place.

His inspectorates had a second duty beyond salt. They reported the market.

He hired fast runners and set them on relay routes, so that a slip of paper with the local rain, the local harvest and the local grain price reached the capital in days.

The record says that prices from the farthest provinces were known in four or five days.

Four or five days. Before the telegraph, that was fast enough.

If a prefecture had drought, grain was already moving toward it before the price rose. If another had a bumper crop, buyers were there before the farmers had finished threshing.

There was a change underneath all of this that the histories mention only in passing. He stopped conscripting labour.

Canal transport had always been unpaid work. A document arrived in a village, and the men put down their hoes and went to haul barges for months while their fields went to weeds. Liu Yan hired crews instead, and paid them out of the salt revenue.

The same picul of grain, moved by a different arrangement. One was a requisition. The other was a purchase. Requisitioned work is careless work. Paid work has someone answerable for it.

There was a catch in the design, and it outlived him. A state that funds itself on salt funds itself on an indirect tax, and an indirect tax falls hardest on people who must buy salt and cannot grow it. For twenty years the arrangement was a mercy, because it spared the villages. Over two centuries it became one of the reasons the countryside was thin and the salt price was not.

The grain price held.

The country steadied.

The accounts of the period have a phrase for his tenure: he took nothing extra from the people, and there was enough for everything.

When he took over, the court collected four million strings a year. When he died, twelve million. Twenty years, three times over, with no increase in the land tax.


A Decree at Zhongzhou

In 780, the first year of Jianzhong, Liu Yan was sixty five.

A new emperor, Dezong, had come to the throne, and Yang Yan was chancellor.

Yang Yan wanted him dead.

The reason was old. Some years earlier the chancellor Yuan Zai had been disgraced, and Liu Yan had sat on the board that tried him. Yuan Zai had been Yang Yan’s patron, and Yang Yan had not forgotten.

He found a charge. A man named Yu Zhun, who was Yang Yan’s man, accused Liu Yan of writing to the military governor Zhu Ci about rebellion.

The decree came: Liu Yan was demoted to prefect of Zhongzhou, far up the Yangtze in Sichuan.

Before he could reach it, a second decree arrived. He was ordered to take his own life.

He did, at Zhongzhou.

He was sixty five years old.

He died in a small room.

When the officers came to inventory the house, they found two cartloads of books and a few piculs of grain.

A man who had handled the revenue of an empire for twenty years had no money.

His family was sent into exile in the far south.

Nothing much happened at court. What happened a year later was that Yang Yan was also ordered to kill himself, on a charge of much the same shape.

The wheel turned once and stopped. Nobody gained.


The system outlived the man. Salt still passed through official hands at the source. The canal was still worked in sections, with a warehouse at every seam. The runners still carried prices.

For decades afterwards the Tang lived on those three things. Hebei still paid nothing, the military governors still ignored orders, and the rice in Changan never again reached a thousand coins a peck.

The Song historians who compiled the New Tang History put a line at the end of his biography. They said he had enormous energy, a quick mind, and an almost uncanny gift for turning what was not there into what was needed.

They added a description of how he worked.

He was at his desk before daylight.

He did his sums by candlelight at night.

He ran numbers in his head on horseback. His household said he thought about the accounts while he was eating.

He died at sixty five in a small room, with the inventory officers already on the road.

Zhongzhou sits on the Yangtze where the water runs fast between hills. For years afterwards the boats came down that reach every day, loaded with rice from the lower Yangtze.

They still do.

Like (0)
AdminAdmin
The City That Killed a Khan: A Chinese History Story
Previous 10/26/2026 05:10
Fifty Horsemen Into an Army of Fifty Thousand: A Chinese History Story
Next 10/26/2026 05:18

Related posts

  • The Yellow Registers: A Chinese History Story

    In 1370 a Ming emperor gave every household a slip of paper to fill in, and in 1381 he turned those slips into a national register rewritten every ten years and stored on an island in a lake. This Chinese history story is about the machinery of counting: one hundred and ten households to a unit, four columns of arithmetic, fish-scale land maps, two million volumes under guard, and the century of forged figures that quietly rotted the whole system.

    10/22/2026
  • The Night the Magistrate Took Off His Seal: A Chinese History Story

    In 169 AD a list of names came down to a county in Runan. The inspector sent to serve it wept all night with the roll against his chest. The magistrate, when the man on the list walked in on his own feet, unfastened his seal and offered to run with him. This Chinese history story follows Fan Pang, his mother, and the two decades in which a dynasty erased the men who could talk.

    11/10/2026
  • The Arrogant General: A Chinese History Story

    A boy of nine looked at the general who had put him on the throne and called him arrogant in front of the whole court. He was dead by the afternoon, poisoned in a bowl of boiled cakes. This Chinese history story follows the twenty years that made Liang Ji untouchable, the rabbit park where a dead animal could cost ten lives, and the five men a teenage emperor summoned into a latrine to plan the end of the most powerful family in China.

    6 days ago
  • Moving a Dynasty in the Rain: A Chinese History Story

    In the autumn of 493 the emperor of the Northern Wei rode south in full armour and then stopped, outside a ruined city, in the rain. He gave his princes two choices: keep fighting, or move the capital. They moved. A Chinese history story about the move to Luoyang, the equal-field system, and the reform that cost a crown prince his life.

    10/15/2026
  • The Promise of Five Years: A Chinese History Story

    In the winter of 1629 an army marched day and night from beyond the Great Wall to save Beijing from the Later Jin. It was made to camp outside the gate. A few months later its commander, a scholar turned general named Yuan Chonghuan, was put to death by the city he had come to rescue.

    10/13/2026
  • Four Roads into the Mountains: A Chinese History Story

    In the spring of 1619 the Ming sent a hundred and ten thousand men into the hills of Liaoning along four separate roads, all ordered to meet below the enemy capital on the same morning. Five days later three of the four columns had ceased to exist. This Chinese history story follows a general who crossed a river two days early, a borrowed arrow token in a narrow valley, and the arithmetic that shifted the balance of power in northeast Asia.

    10/29/2026