In the eighth month of 986, at a gap in the hills called Chenjia Valley, a man on horseback looked up at the ridges on both sides.
There should have been flags there. There should have been crossbowmen, and the main army of Pan Mei, and the ambush that had been promised.
There was nothing.
He had been fighting since noon. By the time he reached the mouth of the valley he had about a hundred men left. His son Yang Yanyu was still with him. Wang Gui, the prefect of Zizhou, was still with him. Everyone else lay on the road behind.
He reined in, struck his chest with his fist, and made a sound that did not sound human.
A Soldier of a Small State
His family name was not always Yang.
The History of Song calls him a man of Taiyuan, whose father Yang Xin had been prefect of Linzhou. Ouyang Xiu, writing a funerary inscription for a later member of the family, places the clan at Xinquin in Linzhou, a border town where “the Yang family held the region by force for generations”. The two accounts do not conflict. Linzhou was the root. Taiyuan was where he grew up and where his career began.
As a young man he was sent to Taiyuan to serve Liu Chong, then military governor of Hedong. He took the family name of his patron and became Liu Jiye.
Liu Chong went on to found the Northern Han, a small state wedged between the Khitan empire to the north and the Chinese dynasties to the south, and it survived by fighting. Yang Ye grew into a very pure kind of soldier there: he could ride, he could shoot, and he could take a few hundred men through hill country and come out behind an enemy. He rose to command the palace guard and later held a military governorship. The Northern Han called him invincible.
In 979 the Song emperor Taizong took Taiyuan in person. The last ruler of the Northern Han surrendered. Yang Ye was still holding his part of the city and refused to lay down arms until the emperor sent someone to persuade him.
After he surrendered he took back the name Yang and the single name Ye. Taizong summed him up in four characters: long experienced in border affairs. He was sent to Daizhou, just inside Yanmen Pass, with command of the garrison.
Outside that pass were the Khitan.
To understand how he died, you need to know about one office in the Song army.
The man who held it did not command troops, but he could stop the man who did from fighting. The Song had learned a lesson from the Five Dynasties, when generals with private armies had overthrown one ruler after another. So every major army carried a supervisor, sometimes a eunuch, sometimes a military man from the court. His rank was often low. His word carried the authority of the emperor. If the commander wanted to be careful, one remark from the supervisor about cowardice could overturn the plan.
There was a second layer. In the Song system, soldiers did not serve long under one general and generals did not own their troops. The western army in 986 was assembled for the campaign. Pan Mei was the commander, but half the authority to move units sat with the supervisor. Yang Ye was his deputy and could not even bring all of his old soldiers with him. A good plan still needed someone willing to hear it.
The Banner They Would Not Face
In 980 the Khitan came through Yanmen.
The Song was being pushed back on the northern front, and there were not many troops on this road. Yang Ye had a few thousand cavalry. One source says a thousand.
He did not defend the pass.
He took those horsemen out through the Western Gorge, swung around behind the Khitan column, and attacked from the north while Pan Mei pressed from the front. The Khitan line folded. The history records the result precisely: the imperial son-in-law Xiao Zhuoli was killed, and the cavalry commander Li Zhonghui was taken alive.
After that the Khitan gave him a name. Yang the Invincible.
The History of Song says that afterwards, when Khitan troops saw the banner with his surname, they withdrew. That may be an exaggeration. But in a border war, an enemy who hesitates for one moment before engaging is most of a general fortune.
He was promoted to observer of Yunzhou. For several years the Khitan avoided this road. He used the time to repair walls, build forts and train men, linking the inside and outside of the pass into one line.
Life out there was not comfortable. He wore cotton padding against the cold and kept no fire in his tent in winter. He stood in front when the men trained and in front when they fought. That was written down because in the Song army of that period it was rare for a general to have soldiers who were truly his.
One Sentence From the Supervisor
In 986 Taizong launched a northern campaign.
Three armies went out. Cao Bin from the east through Xiongzhou, Tian Zhongjin in the centre through Feihu, and Pan Mei with Yang Ye in the west through Yanmen. The western army did best. It took Yun, Ying, Huan and Shuo, four prefectures in a row.
Then the eastern army collapsed at Qigou Pass.
The campaign was called off. The western army was ordered to withdraw and to bring the population of the four prefectures back inside the border.
This is the hardest kind of military task. Not a siege, not a battle in the open, but tens of thousands of civilians with carts, cattle and grain, moving back through ground held by enemy cavalry.
Yang Ye proposed a plan. Do not fight for the road. Send the main army out by the Dashi road. Send word secretly to the commanders of Yun and Shuo. When the army leaves Daizhou, the people of Yun move first. When our army reaches Yingzhou, the Khitan will come to block it, and at that moment the people of Shuo leave the city and go straight into Shijie Valley. Put a thousand crossbowmen at the mouth of that valley and cavalry in support, and the people of three prefectures can be saved.
The logic was simple. Spend soldiers to save people, not people to save face. Shijie Valley is narrow. A thousand crossbows in the mouth of it will stop cavalry. It was the only ground on that road where the crowd could be protected.
Wang Shen, the supervisor, disagreed.
Wang Shen held the office of reception commissioner at the western gate and the prefecture of Weizhou. He was the emperor eyes in that army. What he said was this: you have tens of thousands of elite troops and you are as frightened as this.
Yang Ye said that he was not afraid of dying, only that the moment was bad, and that a fight now would cost lives and gain nothing.
Wang Shen added one more sentence. You have always been called invincible. Today you see the enemy and walk around him. Do you have some other intention?
Those last words were the heaviest thing that could be said to a man who had surrendered from another state.
Yang Ye had been a Northern Han officer. He had served the Song for seven years and had built his position one battle at a time. After that sentence there was no road back.
He said: I am not avoiding death. The time is against us and a battle will only cost men. Since you accuse me of refusing to die, I will die first for all of you.

Before he left, he pointed at the two sides of Chenjia Valley and asked Pan Mei to put infantry and crossbowmen there, in two wings. He knew the odds. So he explained the last thing carefully. Wait here. I will go west from Shuozhou and draw them to the mouth of the valley. Then close on them from both sides.
Then he rode north.
The Khitan commander was Yelü Xiezhen. He hid troops beside the road, engaged, and fell back at once. Yang Ye followed, and the ambush closed.
The fight ran from noon until evening.
At the valley mouth, Wang Shen had men climb a watchtower to look. They came back and said the Khitan were beaten and withdrawing. Wang Shen wanted the credit. He took his troops out of the valley. Pan Mei could not hold him and went with him, falling back twenty li along the Jiao River.
When word came that Yang Ye had been defeated, that whole force turned and ran.
Nobody at the Pass
Yang Ye fought and retreated, keeping the pursuit on his own rear, until he came back to Chenjia Valley. The valley was empty. He beat his chest and wept.
He told the hundred men who were left that they all had parents and wives and children, that dying with him was pointless, and that they should scatter and report to the emperor.
Nobody moved.
Wang Gui, the prefect of Zizhou, fought with the archers until the arrows ran out, then killed dozens with his hands before he was cut down. Yang Yanyu died in the same action. Yang Ye took dozens of wounds and killed dozens of men. His horse was too badly hurt to carry him. He hid in a wood and was shot by the Khitan officer Yelü Xidi, fell, and was taken.
Not one of his men came back alive.
Three Days
Yelü Xiezhen faced him and asked what he had to say, after all these years of fighting.
Yang Ye said that the emperor had treated him generously, that he had meant to repay it by holding the border and breaking the enemy, and that he had instead been forced by flattering officials into a defeat. He had no face left to ask for his life.
He stopped eating.
Three days later he was dead.
The Khitan sent his head to Yunzhou and Yingzhou and showed it on the walls. That was standard practice in that war, and the cheapest form of persuasion.
The news reached the capital. Taizong was shaken. He granted the dead man the titles of grand preceptor and military governor of Datong, gave the family a thousand bolts of cloth and a thousand bushels of grain, and gave posts to several sons. Pan Mei was demoted three grades. Wang Shen was struck from the register and exiled to Jinzhou, and Liu Wenyu was exiled to Dengzhou. The punishments were not light. The man was still dead.
After that battle the Song line in Hedong pulled back inside Yanmen. The four prefectures were lost as quickly as they had been taken, the population was moved, and the land stayed Khitan. From that year the northern policy of the Song turned from attack to defence, and for more than a century the dynasty never mounted another campaign on that scale.
One word should be said for Pan Mei.
On the stage of later opera he became Pan Renmei, the villain who plotted the destruction of the Yang family. The historical Pan Mei was one of the founding generals of the Song, with the conquest of Southern Han and Southern Tang on his record. At Chenjia Valley the fault lay with Wang Shen, who left the pass to steal the credit. Pan Mei could not restrain him and withdrew with him. That is dereliction, not conspiracy.
The opera is the opera. The history is the history.
Yang Ye left no birth year. The History of Song records the year of his death and not the year of his birth. Every modern figure for his age at death is a back calculation from the dates of his appointments, and the results differ by more than ten years. A writer should be honest about that: this is not known.
His wife was of the Zhe family, a border clan from Fuzhou that produced generals for generations, and her father was Zhe Deyi. In opera she became She Taijun, the matriarch who commands an army of widows. The change is only a matter of sound. One character was replaced by another that sounds almost the same, and a real border household turned into legend.
His son Yang Yanzhao held the border for more than twenty years and was known to the Khitan as Yang the Sixth. His grandson Yang Wenguang also became a senior commander. Ouyang Xiu, writing for a later generation of the family, summed up the founder in eight characters: he died fighting the Khitan, and was granted the title of grand preceptor.
The legend grew from storytelling in the south after the dynasty lost the north, then into plays under the Mongols, then into a novel in the Ming. Yang Zongbao, Mu Guiying, the twelve widows on campaign, all of them were added later. The real family is three generations long: Yang Ye, Yang Yanzhao, Yang Wenguang.
In Daixian, in Shanxi, there is a Yang family shrine. At the northern mouth of Yanmen Pass there is a temple to General Yang. The statue inside wears Song armour, one hand on a sword, face turned outward, toward the pass.
The valley out there is called Chenjia Valley. Its exact location is still argued over, one school placing it south of Shuozhou and another north of Ningwu. What is argued is the direction, not whether the place exists.