In the sixth month of 133 BC, three hundred thousand men lay hidden in the valleys north of the town of Mayi.
They could not light fires. They could not talk above a murmur. The bells were taken off the horses. They lay in dry yellow gullies, hot by day and cold by night, and water had to be hauled up from the bottoms in buckets.
From the ridge above, the valley floor opened out into pasture. Cattle stood in it. Sheep stood in it, in flocks, grazing quietly.
Nobody was watching them.
The animals had been driven out of Mayi the night before. The herders took them a few miles up the valley, turned them loose, and walked back to town over the hills.
It was bait, set out for a man riding south about forty miles away.
The chanyu that year was named Junchen, and he was coming with a hundred thousand horsemen through the Wuzhou pass. He had been on the road for days. He had not met a single Han soldier. Not one beacon had been lit. The villages along the road were empty, with buckets still standing on the well heads.
The road was too easy.
It made him uneasy.
Mayi was a trading town.
The Han and the Xiongnu kept frontier markets, and Mayi was one of the nearest. Horsemen came in with hides and horses and went out with iron tools, silk and grain. The men who knew both sides of that trade were a small group, and Nie Yi was one of them.
He had spent years going back and forth across the line. He knew the chanyu by name. He knew which of the Xiongnu nobles would listen to a proposition and which would not.
That was the whole of his qualification.
Seventy Years of Gifts
To understand that summer, it is necessary to go back seventy years.
In 200 BC the founder of the Han dynasty took thirty two thousand cavalry north against the Xiongnu. The first fights went well. He kept pursuing, and outran his own main body.
Modu, the chanyu of that time, hid four hundred thousand horsemen near the White Mountain and closed the trap. The emperor was shut up on the summit.
Seven days and seven nights.
The army ran out of food. Two or three men in ten lost fingers to frost. In the end the emperor got out through a secret arrangement. What the arrangement was, the histories do not say clearly. They say only that envoys went to the chanyu wife.
The Chinese have guessed for two thousand years. One version has a painter sent with a picture of a beautiful woman, and a message that the Han would send such a woman as tribute, so that the wife, fearing for her place, persuaded her husband to open one road. That version comes from a much later notebook. It may not be true.
After that, the Han stopped fighting the Xiongnu.
They sent gifts instead. A princess for the chanyu, and every year so much floss silk, so much woven silk, so much wine, so much grain, at fixed amounts, delivered on time. It was not dignified, but it worked. The beacons burned less often. Refugees came home. The price of grain in the capital steadied.
The amounts were written down. A princess came with a dowry, and the yearly delivery was not large in itself, but it went out every year for decades.
Under the next two emperors the Xiongnu came anyway. Once a hundred and forty thousand horsemen came through the northern passes, killed the commandant, rode as far as Pengyang, burned a palace on the way, and their scouts were seen from the great lodge at Ganquan. The Han sent a hundred thousand cavalry after them and turned back at the frontier.
Later a market was opened at the border, and for a few years it was quiet.
A market meant smugglers, fugitives and traders all drifting to the frontier. Towns like Mayi lived off that road.
In 135 BC the Xiongnu sent to ask for another marriage alliance.
The court argued.
Wang Hui, the master of guests, was from the northern frontier and had served there. He said that a marriage alliance bought only a few years before the oaths were broken, and that it would be better to refuse and fight.
The chief minister Han Anguo said that hauling grain a thousand miles costs ten loads for every one that arrives, that light troops pushing deep can be cut off behind, and that even the founder of the dynasty had been surrounded. The risk was not worth it.
Most of the court agreed with Han Anguo.
The emperor was in his early twenties. He agreed to the marriage alliance.
He did not like it.
A year later a merchant came to the capital.
A Merchant With a Plan
Nie Yi went to Wang Hui with a proposal. The Xiongnu had just been given a marriage alliance and trusted the Han again. They could be drawn in with the promise of loot and taken in a trap, and the blow would cripple them.
Wang Hui took it to the palace.
The emperor called the ministers.
Han Anguo said no, as before.
Wang Hui changed his argument. He was not proposing a long march into the steppe. He was proposing to give the chanyu what he wanted, bring him to the border, place picked cavalry and strong men in hiding, watch the passes, block the flanks and cut the road behind. The chanyu could be taken. The thing was as close to certain as such things get.
The emperor approved.
The deployment was this. Han Anguo, the chief minister, was made general of the guard. Li Guang, commander of the palace guards, was made general of swift cavalry. Gongsun He, the grand coachman, was made general of light chariots. Those three held the main force, more than three hundred thousand men, in the valleys beside Mayi.
Wang Hui was made general of the encampment, and Li Xi, grand master of the palace, general of picked troops. Those two took thirty thousand out through the Dai commandery, with orders to hit the baggage train and cut the retreat.
Five men, four general titles, three hundred thousand troops, all to wait for one man to walk in.
The grain for that army came up from Taiyuan and Shangdang. There were more carters than soldiers. The wagons cut two deep ruts down the imperial road. A movement that size could not be hidden, so the plan depended on the Xiongnu not looking closely.
Nie Yi went out first.
He told the chanyu that he had several hundred men, that he could kill the magistrate and the assistant magistrate of Mayi, that the town would open its gates, and that the cattle, the goods, everything, would be theirs.
The chanyu wanted that.
He agreed, but asked to see heads first.
The chanyu was not a careless man. He came with a hundred thousand horsemen, with vanguards, rear guards and scouts pushed out ahead, and men sent up to high ground every few miles.
Nie Yi went back to Mayi, spoke with the magistrate, and had a few prisoners under sentence of death taken out of the jail and beheaded. The heads went up on the town gate.
The Xiongnu envoy came, saw the heads, and rode back with word that the officials of Mayi were dead and the road was open.
As the envoy left, Nie Yi added one line: the officials are dead. Come quickly.
The Man in the Watchtower
The chanyu came through the Wuzhou pass with a hundred thousand horsemen.
About forty miles from Mayi he reined in.
Ahead lay open fields. Cattle in them. Sheep in them, in flocks, grazing quietly.
Not one person.

He looked for a long time. He had spent half his life on raids. He knew what a frontier looked like when raiders came: herders running, driving stock toward the walled villages, fires lit, gongs beaten, a rider galloping off with the alarm.
There was nothing.
It was too quiet.
He gave the order to attack the post station nearby.
A ting was the smallest unit of Han frontier defence. A headman, a handful of soldiers, a stretch of road, a few beacon towers. In peacetime they checked travellers. In war they lit the signal fires.
The horsemen surrounded it.
There was a man inside, a wei shi of the Yanmen commandery, an officer whose duty was to inspect the beacon line. He had been working that stretch that day, seen the horsemen, and got into the station.
They pulled him out.
With a blade at his throat he told them everything.
Where the three hundred thousand were. Which gullies. Which valleys. Which road they would block.
He could have said nothing.
The chanyu listened, and then said the line the historian kept: I suspected it from the first.
Then he said: to have this man given to me is heaven.
He gave the officer the title Heavenly King and turned the army around.
In the valleys, three hundred thousand men were still waiting.
They were waiting for the signal from the town. Fire on the wall, cavalry out of both flanks, and Wang Hui cutting the retreat at Dai.
What reached them was an order to withdraw.
It came down the chain one level at a time: the chanyu has gone, all units stand fast, no pursuit. Riders went along the ridges shouting, and the sound bounced back and forth in the gullies.
When the army came out of hiding, the grass on the slopes had been eaten bare.
The Han chased as far as the wall. There was nothing in front of them.
Wang Hui was already at Dai with thirty thousand men. His target had been the baggage train. His scouts came back with word that the chanyu was returning with his main body and that there were a great many of them.
He counted his own men. Thirty thousand.
He did not attack.
When those thirty thousand got back to Dai they still had half a month of grain. —
One Head for One Man
The emperor was furious.
Wang Hui was arrested.
He explained himself. The agreement had been to let the chanyu into Mayi, where the main army would engage him and Wang Hui would take the baggage. The chanyu had turned back before reaching the town. Three hundred thousand against him was not a fight Wang Hui could win with thirty thousand, and attacking would only have thrown them away. He had known he would be executed for coming back. At least he had brought the emperor thirty thousand men intact.
The emperor would not listen. He sent the case to the chief justice.
The finding was short. It did not mention the three hundred thousand men who had waited in the valleys. It mentioned one man and his conduct: he had delayed, looked about, and failed to advance. The sentence was death.
Wang Hui sent a thousand gold to the chancellor Tian Fen.
Tian Fen did not dare raise it with the emperor directly. He went to the empress dowager and asked her to put it to him: Wang Hui was the man who proposed the Mayi plan. To kill him now that it has failed is to do the Xiongnu a favour.
She passed it on.
The emperor answered: Wang Hui proposed the Mayi plan. On the strength of it I put several hundred thousand men of the empire into the field. Even if the chanyu could not be taken, his troops could have hit the baggage and brought something back to satisfy the army. If he is not executed, I have nothing to say to the empire.
Word of that reached Wang Hui.
He killed himself.
A thousand gold did not buy that life.
And that was the end of the Mayi plan.
It changed something larger.
Seventy years of gifts, from the founder to the emperor before last, ended that year. The Xiongnu came over the frontier again and again. The Han stopped sending princesses.
In the autumn of that year the frontier got busy. Beacon towers were repaired, garrisons reinforced, and the markets closed.
Nie Yi was never rewarded. The Records of the Grand Historian names him once, in the chapter on the Xiongnu, and never again.
Four years later, in 129 BC, the emperor sent four columns out.
Wei Qing went through Shanggu to Longcheng, killed seven hundred, and was made a marquis. Gongsun He went through Yunzhong, found nothing, and came back. Gongsun Ao went through Dai and lost seven thousand horse. Li Guang went through Yanmen, lost his whole command, was taken prisoner, and got away on a horse he seized.
One column in four brought back a result.
But the direction was set.
In 127 BC the Han took the Ordos and made it a commandery. In 121 BC Huo Qubing rode west twice and opened the corridor to the far west. In 119 BC Wei Qing and Huo Qubing took fifty thousand horse each and went beyond the desert.
From the trap at Mayi to that campaign: fourteen years.
The officer the chanyu made Heavenly King left no name. The history records his post and nothing else, not even a surname.
The name of the town survived. In Shanxi today, near Shuozhou, there is still a place called Mayi.
The valleys are loess slopes now, planted with corn and millet. After heavy summer rain the gullies hold water, patch after patch, shining like mirrors.