In 341 BC, on a night in the gorge at Maling, a single tree had been stripped of its bark and written on. The white wood showed in the dark. Nobody could read it yet.
Then the horses came up the road.
A Tree in the Gorge
The man who had ordered the tree cut was Sun Bin, military adviser to the army of Qi. His crossbowmen were on the slopes above, ten thousand of them, split between the two sides of the cut.
His order was one sentence: when the fire is lit under the tree, loose everything.
The words on the trunk were meant for one reader. Pang Juan dies beneath this tree.
Pang Juan had studied with him. According to the Records of the Grand Historian, the two men learned the art of war together when they were young. Pang Juan took service first and became a general of Wei. He understood that his fellow student was the better man, so he invited him to Wei and then had him convicted on a charge, his feet cut off, his face tattooed. A man like that cannot appear at court again.
Sun Bin has no name in the histories. Bin is the word for the kneecap and for the mutilation itself. Later writers simply called him by the punishment.
A Qi envoy on a mission to Wei was approached by him in secret. The envoy hid him in a carriage and carried him out of the country.
In Qi he became a retainer in the household of the general Tian Ji.
Tian Ji liked horse racing, and he lost.
Sun Bin watched a few races and then gave him a plan. Your best horse cannot beat his best, he said, but your worst can beat his worst. Run your worst against his best, your best against his middle, your middle against his worst.
Two heats out of three.
Tian Ji did it and won a thousand pieces of gold. From that day he kept Sun Bin as his strategist.
It sounds like a joke about gambling. What it actually describes is the thing Sun Bin did for the rest of his life: accept a loss in one place to win somewhere else.
Ten Thousand Pits
The cooking pits were invented on the retreat.
To understand the war, start with Wei. In 344 BC King Hui of Wei held a conference of princes at Fengze, then took the assembled rulers to pay homage to the Zhou king. It was the high point of Wei power, and around this time he took the royal title for himself. He had already moved his capital east to Daliang, to reach deeper into the central plain.
The state of Han, next door, did not attend the conference.
Han had the most to fear from a larger Wei, and staying away was noted.
In 342 BC Wei attacked in force. Han lost five engagements in a row and sent for help to Qi.
The court of Qi argued first.
The chancellor Zou Ji said do nothing. General Tian Ji said go now. Sun Bin said both were wrong.
His arithmetic was this. If Qi marched today, Qi would take the beating that Han was supposed to take. If Qi waited until Han was nearly finished, Han would be grateful forever and the Wei army would already be tired.
He put it in eight characters: bind Han closely, then take Wei when it is worn out.
King Wei of Qi listened.
So Qi promised help, and then sat still, and watched Han lose five battles.
The next year the Qi army moved. Tian Ji commanded, Sun Bin advised, and they marched straight at Daliang.
Pang Juan was on the Han front. He turned around immediately.
The moment he turned, Qi began to withdraw.
They withdrew slowly.
This had happened once before, twelve years earlier. In 353 BC Wei had besieged Handan, the Zhao capital, and Zhao asked Qi for rescue. The same two men marched on Daliang, Pang Juan came back, and his army was ambushed at Guiling.
That battle had not finished Wei. Handan fell to Wei in the end, and Qi never pushed north. Which is why the king of Wei was willing to gamble a second time.
This time it was different.
On the first night of the retreat the Qi troops dug pits for a hundred thousand men to cook in.
The second night, fifty thousand.
The third night, thirty thousand.
Cooking pits can be counted. Wei scouts slipped into the empty camps and counted them one by one, then rode back with numbers.
Pang Juan heard three numbers and laughed.
I knew the men of Qi were cowards, he said. Three days inside our borders and half of them have run.
He left his infantry behind, took only the light troops, and covered two days of road in one.
He was in a hurry. That was the whole point.
Twelve years earlier he had been in the same hurry. This time he forgot himself completely.
Anyone who has read about the battle of Manzikert in 1071 will recognise the shape. A retreating army that looks beaten, an enemy that presses the pursuit too hard, and a trap that closes on ground the pursuer has not bothered to scout. At Manzikert the Byzantine emperor himself was taken. Here it was a crown prince.
The Narrow Cut
Sun Bin had calculated the march. At that speed, he judged, the Wei column would reach Maling by dusk.
Maling was a narrow cut with steep sides and broken ground along the road, the kind of place where a thousand men can hold ten thousand.
He had the bark stripped from a tree beside the road and the words cut into the wood. He put ten thousand crossbowmen on the slopes. He told them to watch for fire.
The crossbow of that period outranged the bow by a great deal. A Warring States text claims the crossbows of Han could shoot six hundred paces, which is surely an exaggeration, but nobody doubted the weapon. How many such bows Qi actually fielded is not recorded. The histories give one number: ten thousand.
Ten thousand crossbows, aimed into a cut that let only a few carts pass abreast.
A crossbow is spanned with the foot or the back, and it takes time to load. The front rank shoots, crouches, winds, and the next rank shoots over them.
In a sunken road, that is enough.
Pang Juan arrived after dark.
His vanguard reported a tree ahead with writing on it, unreadable in the night.
He ordered torches and rode up to look.
The torch flared. The slopes lit up with it.
Ten thousand crossbows released.
The Records of the Grand Historian gives this part four characters: the Wei army broke and lost contact with itself.
The road was packed. Men could not reach each other, forward or back, and there was nowhere to retreat to. The bolts came down from both sides at a range with no dead ground in it.
Pang Juan finished reading the line as the bolts arrived.
He understood the whole thing at once. He said: and so I made that wretch famous.
Then he killed himself.
The Qi army came down and finished it, and took the crown prince of Wei alive. The prince had been the nominal commander of the expedition. Pang Juan had been his deputy.
What happened to the prince is not clear. Most accounts say he was killed after capture, at a place called Guanshi. Two villages in modern Shandong still carry names that local people connect to the burial of his head and his body in separate places.
That is a story handed down, not a record. It cannot be checked.

The End of Wei
After Maling, Wei was not Wei anymore.
It had been the strongest state in the central plain. When the old state of Jin broke into three, Wei reformed first and fielded the first professional heavy infantry in Chinese history. The standards were written down: three layers of armour, a twelve-stone crossbow, fifty arrows, a helmet, a sword at the belt, a halberd as well, and three days of grain, covering a hundred li by midday. A man who passed was exempted from his household taxes and given land and a house.
Wu Qi led soldiers like that on the western frontier and fought seventy-six campaigns, winning sixty-four of them.
At Maling the army was gone, the commander was dead, and the heir was a prisoner.
The system that produced those soldiers depended on land. Land was granted for service, and the taxes of the Hexi frontier paid for it. As the frontier was cut away piece by piece, the soldiers could no longer be paid for.
An elite built on land, once the land is gone, is gone too.
In 334 BC, seven years after Maling, King Hui met King Wei of Qi at Xuzhou and the two of them recognised each other as kings. On paper it was equality. In practice Wei was accepting a smaller seat at the table.
Qin would not wait.
Around that same period Qin was doing something more thorough in the west: abolishing the old field grid, opening the land to purchase, granting rank for enemy heads, turning the whole state into a machine for war. What Wei lost at Maling was not only an army.
Institutions move slower than men, and they cut deeper.
The year after Maling, Shang Yang led a Qin army against Wei, invited the Wei general Gongzi Ang to a banquet, arrested him at the table, and broke the army while it had no commander. Wei ceded part of the Hexi frontier to buy peace.
After that Qin took pieces on a schedule. By the reign of King Hui’s grandson, the whole of Hexi was gone, and the eastern bank of the Yellow River could not be held either.
Qi did better for a while. Under Kings Wei and Xuan the Jixia academy in Linzi held thousands of scholars, and travelling persuaders moved from court to court. The strong state in the east was Qi.
Qi did not last either. A few decades later the Yan general Yue Yi brought five states against Qi and left it with two cities.
And Sun Bin?
The Records say that from this battle his name was known everywhere and his art of war was passed down.
After that the histories lose him. He leaves the record the way a man leaves a room when the work is finished.
His book disappeared for more than a thousand years. Some scholars argued that Sun Bin and Sun Wu were the same person, and that the Art of War attributed to Sun Wu was really his.
In 1972 two Han dynasty tombs were excavated at Yinqueshan near Linyi in Shandong, and a cache of bamboo slips came out of the ground. There was a copy of Sun Wu. There was also a book known as Sun Bin’s Art of War.
Two books. Two men.
One chapter of the recovered text is called Capturing Pang Juan, and it describes Guiling. Its account does not match the Records. In the bamboo version Pang Juan is captured at Guiling, not merely beaten, and he returns to Wei afterwards, to die twelve years later at Maling.
Two books, two versions.
Where histories disagree, this account sets them side by side and does not choose.
The trick with the pits entered the military manuals as the textbook case of feigned weakness.
A Han dynasty officer named Yu Xu used it backwards. Holding a city with too few men, he ordered the cooking pits doubled every day, and the pursuing army concluded that reinforcements had arrived and broke off.
One subtracted, one added. Both were counting heads by counting fires.
What Nobody Settled
Where Maling actually was has never been settled.
One tradition puts it southwest of Shenxian in Shandong. Another puts it southwest of Fanxian in Henan. Another puts it southeast of Daming in Hebei. A fourth puts it at Tancheng, also in Shandong.
All four sit on the same stretch of plain along the lower Yellow River, a few hundred li apart. Local gazetteers each make their own claim, old men in each district tell their own version, and cooking pits have been identified at more than one site.
The Records say only that the road was narrow with broken ground on both sides. There is more than one road like that in that country.
One more thing is unsettled: whether Pang Juan killed himself or died in the rout. Most sources say he cut his own throat. Some say he was shot.
There is also a quieter doubt. Counting an enemy camp by its cooking pits sounds neat on paper. In practice a retreating army that wants to be believed will dig whatever number of pits it wants the enemy to find, and scouts who report a number at night are reporting what they were shown. Whether the trick worked exactly as written, or whether the historians tidied a messy pursuit into a clean parable, cannot now be decided from the sources.
The outcome is not in doubt.
The Wei army did not come home to Daliang.
Wei lasted another hundred and sixteen years. In 225 BC the Qin general Wang Ben diverted the Yellow River and the Hong Canal into the walls of Daliang, the rammed earth softened and collapsed, and the last king of Wei came out and surrendered.
Nothing that was lost at Maling was ever recovered.
The words on the tree went into the books and stayed there, copied by one generation after another.
Two thousand years later they are still the same eight characters: Pang Juan dies beneath this tree.
A tree became a headstone.