In the eighth month of 1550 the western gate of Beijing looked out on fire.
It began in one or two places on the hills, then joined into a line. From the wall you could see the smoke stand up in columns, yellow by day, red by night. People came running toward the gate with bundles on their backs and children in their arms. They beat on the gate. Nobody opened it.
There were soldiers in the city.
According to the muster books of the Ministry of War, the capital garrison numbered in the tens of thousands. When the rolls were actually checked, the real figure was forty or fifty thousand, half of them old or sick, and half of the rest were working as servants for one office or another. Very few stood on the wall.
Most of them had never been in a battle.
Their legs went weak at the sound of horses.
The man leading those horses was Altan Khan of the Tumed Mongols.
Fire on the Western Hills
The trouble began with a letter that never got an answer.
For years Altan had been asking the Ming court for one thing: a market. He brought horses to the edge of the Long Wall and wanted iron pots, cloth, and grain in return. The steppe has no iron. A good pot lasts decades, but when it cracks there is no way to boil meat. Cloth, tea, and grain were not luxuries either. He was willing to call himself a vassal and send tribute, if only the border markets were opened.
The Ming court kept refusing.
The court had its reasons. In 1449 the Ming army had been destroyed at Tumu, and the emperor himself had been carried off by the Oirat Mongols. One hundred and one years later, officials still lowered their voices when they mentioned it. Their fear was simple: open one market, and the demands would grow until the man at the wall became another Oirat chief.
So envoy after envoy was turned back. Some were detained. In 1542 Altan sent a man named Shi Tianjue to ask for a market, in the mildest terms. The court held him, and later had him killed.
After that there was no road back.
From that summer onward, warnings came from Xuanfu, from Datong, from Shanxi, year after year.
In the sixth month of 1550 Altan rode against Datong. The regional commander, Zhang Da, went out to fight and was killed. His deputy Lin Chun was killed as well. The man who replaced him, Qiu Luan, held a noble title and knew how to keep accounts. He did not know how to fight. He sent silver to Altan and asked him to go somewhere else, anywhere but Datong.
Altan took the money and went east.
A Letter Asking for Trade
In the eighth month the Mongol horsemen broke through the Long Wall at Gubeikou and came inside.
Gubeikou is a gap in the wall with mountains on both sides and one road through the middle. A guard battalion had been posted there since the early years of the dynasty. The wall ran along the ridge, watchtower after watchtower, and looked solid. A wall is only as strong as the men behind it.
There were not many men. The fight lasted a full day. Altan held the front of the pass with a few thousand riders and sent a column of picked cavalry around by a mountain track to the rear. Caught from both sides, the garrison broke.
The wall was opened from behind.
Beyond the pass the ground runs flat all the way to the capital.
The raiders went through Huairou, ringed Shunyi, and came to Tongzhou. Tongzhou is the northern end of the Grand Canal, where the grain that feeds Beijing is unloaded and stored. The granaries stood in long rows along the canal, and the whole city depended on that water road.
Cut the road, and Beijing could not eat.
The news reached the palace while the Jiajing Emperor was in the Western Park.
He had long since stopped holding regular audiences. He lived in the park, burned incense, wrote prayers in the Taoist style, and pursued long life. This time he could not sit still. Orders went out to every military region to send troops to the capital. He also did something strange: he released Qiu Luan from prison and made him General Who Pacifies the Barbarians, with command over all the relief columns.
A man who had just paid off the enemy was put in charge of defending the capital.
The relief troops arrived piece by piece. Xuanfu, Datong, Liaoyang, Jizhou, fifty thousand in all. Qiu Luan brought twenty thousand of his own men from Datong. Yang Shouqian, the governor of Baoding, came with more. The men arrived. The food did not.
Papers went back and forth between the Ministry of Revenue and the army for two or three days. In the end the soldiers got a few flatbreads each.
Some men put the bread inside their coats and did not eat it. They sat at the foot of the wall and stared at nothing. Smoke drifted over them from the fields, carrying the smell of burning.
Then a letter came from outside the wall.
It was carried in by a eunuch the Mongols had captured. Altan had dictated it, and he did not waste words. Open the market, and I will withdraw. Refuse, and I will stay.
The letter reached the court, and the officials began to shout at one another.
Some wanted to agree and get the army away from the city. Some wanted to fight, because the capital of the Son of Heaven could not be humiliated. They argued for two days and decided nothing. Altan grew tired of waiting, and his riders began to move toward the city wall.
Nobody Gave the Order
Ding Rukui, the Minister of War, went to ask the Grand Secretary Yan Song what to do.
Yan Song gave him a sentence that became famous. Roughly: a defeat on the frontier can be covered up, but a defeat under the walls of the capital cannot. Altan is only a robber looking for food. When he is full he will go away. The safest course is to hold the walls and do nothing.
Ding understood.
He went back and passed the order: no camp was to move. And so the strangest scene of the crisis took shape. A hundred thousand Ming soldiers stood on the walls and inside the camps, watching Mongol cavalry burn houses, drive off livestock, and load carts, and they did not shoot a single arrow.
One officer could not bear it and asked permission to attack. Ding refused.
Holding a great city and refusing to fight was not unique to China. In the autumn of 1529 Suleiman the Magnificent brought an army of more than two hundred thousand men to Vienna. The defenders also shut the gates and stayed behind the walls, trusting stone and firearms. When the rains and snow came, the besiegers withdrew on their own. Europe remembers that autumn as the siege of Vienna, and what it remembers is the holding, not the silence.
In Beijing that year the problem was not the wall. The men behind it had no battle in them.
Qiu Luan did ride out once. He followed the Mongol rear guard, hoping to pick off stragglers, and was hit by a counterattack that cost him a thousand men. He came back first. After that nobody spoke of going out again.

The fires burned for eight full days.
Outside the Xizhimen, Deshengmen, and Andingmen gates, houses were reduced to white ash. The coal pits at the foot of the western hills stopped work. The camel trains that carried coal into the city were driven off, and with them went much of the fuel Beijing needed for the winter. No one could count the people taken or the animals driven away. The official record leaves one line: the villages were plundered, the houses burned, and the fires did not go out day or night.
Each gate of Beijing had its own job. Deshengmen was for armies going out. Andingmen was for armies coming back. Xizhimen carried the water carts. Fuchengmen carried the coal. In the autumn of 1550 all of them were shut, and not one was opened.
The gunners of the Shenji Camp had their weapons on the wall.
The barrels pointed outward. The powder was measured. The matches were lit. Nobody gave the order to fire.
Men stood on the wall and counted the columns of smoke.
Some of the soldiers wept.
The argument at court turned to another question: where the relief troops should be stationed.
Inside the city, said some, or outside it. Inside, they might riot. Outside, they might be destroyed one camp at a time. The argument lasted for days. The relief army stayed scattered in villages beyond the wall, without food, without orders, and without a battle to fight.
For eight days the gates of Beijing stayed shut.
Eight Days Outside the Wall
On the twenty third day of the eighth month, Altan withdrew by the road he had come, through Gubeikou.
He did not hurry. The carts were loaded with what he had taken. The cattle and sheep were driven along behind. The Ming army did not follow.
Before he left, the court had already given in and agreed to tribute and trade. In the third month of the following year a horse market opened at Datong. Soon Xuanfu, Yansui, and Ningxia had markets too. The markets lasted less than a year. Trouble broke out on the border again, the emperor ordered them closed, and everything went back to the way it had been.
A market was not a matter of laying goods on a table. Who could sell, how much, at which gate, all of it had to be written down. The Ming court was afraid that trade would bring people in with the goods, so every market had an officer watching it. Altan wanted something steady, two visits a year, enough pots and cloth for a year. Neither side trusted the other.
When the market closed, the fighting started again.
For the next twenty years the garrisons of Xuanfu and Datong sent warnings almost every year, and the capital was put on alert more than once.
When the fighting stopped, the court looked for someone to blame.
Yan Song put it on Ding Rukui. Ding had carried out the order, which made him the easiest man to sacrifice. He was thrown into prison, and soon afterward he and Vice Minister Yang Shouqian were executed at the western market. At the block Ding protested that he had only obeyed. Nobody listened.
The charge against Yang Shouqian was loitering. He had brought his troops from Baoding to the city and, receiving no order to attack, had kept them still. Afterwards, keeping still became his crime.
In prison Ding wrote a statement and set down Yan Song’s words exactly. The file went to the palace. No answer came back.
He died quickly.
Qiu Luan did not end well either. He died of illness while still in command. After his death men accused him of secret dealings with the enemy and of inventing victories. The court stripped his titles and had his coffin opened.
The man who had given the order to hold the walls stayed in the Grand Secretariat until he died of old age a few years later.
What the Wall Could Not Do
Beijing had been besieged once before.
That was 1449, after Tumu. The Oirat chief Esen came as far as the Deshengmen gate with the captured emperor in his train. The man in charge of the defence was Yu Qian, Minister of War, a scholar who had never commanded troops. He moved the camps outside the nine gates, took his stand on the Deshengmen wall, and gave one order: officers who fall back are to be beheaded, soldiers who fall back are to be beheaded.
At Deshengmen he had the gate shut behind his own men. Cavalry went out to draw the enemy in, and Esen’s brother Boluo was brought under the wall, where the hidden guns and archers caught him. Boluo died under the fire. After that battle Esen withdrew.
One hundred and one years later, at the same gates, on the same wall, there was a different set of men.
This time the city had soldiers, grain, a hundred thousand relief troops, and emergency edict after emergency edict. Nobody ordered the gates opened. Nobody ordered the arrows loosed. After eight days the enemy went away by himself, and the matter was considered closed.
What separated the two years was not a hundred years. It was a kind of man.
Yu Qian was killed later. The charge was treason. On the day he died the people of Beijing wept for him, and the officers who came to confiscate his property found a few old robes and a room full of books.
In the year of Gengxu, nobody spoke of Yu Qian.
The burned ground outside the wall grew grass the next spring, a green that hurt the eye. The families outside Xizhimen rebuilt their houses with half burned bricks. The official history gave the affair four characters, the Gengxu Incident, and tucked a few dozen words into the annals of the Jiajing reign.
For eight days a hundred thousand soldiers had stood on the wall and watched their own houses burn.
Twenty one years later, in 1571, the Ming court gave Altan the title Prince of Shunyi and opened a dozen markets along the Long Wall. The border went quiet, and stayed quiet until the end of the dynasty.
A wall is a dead thing.
The Chinese came to call that autumn the Gengxu Shame.