In the first month of the year 1457, deep in the cold hours of a Beijing night, a small group of men walked along a high wall and stopped outside a locked gate.
They did not knock.
Behind that wall lived a man who had once been the emperor of China.
A hammer struck brick, and the sound was dull and flat. A gap opened. One of the men bent down and climbed through.
The man at the front was named Shi Heng.
The Night the Wall Came Down
The route had been walked through beforehand, in daylight, by men who were careful.
Shi Heng carried the key to a gate of the inner city. He was a marquis and he commanded troops in the capital. Behind him came a general named Zhang Yue, a palace eunuch named Cao Jixiang, and a scholar official named Xu Youzhen.
Four careers rested on that one night.
Inside the palace, the reigning emperor lay too weak to sit up.
Physicians came and went, and none of them would say how many days he had left. His only son had died as a child. The throne stood empty.
By custom, the court would meet at dawn to settle one question: who would be named heir.
The four men did not intend to wait for dawn.
They meant to take the credit before anyone else could reach for it.
The gate of the southern palace had been shut for years, and no key would turn it. So they broke the wall instead.
Through the gap, they helped a man out, lifted him onto a carriage, and moved toward the heart of the palace complex.
At the eastern gate, the guards stopped them.
Some accounts say the man on the carriage called out one sentence: I am the retired emperor.
The gate opened.
When daylight came, the drums and bells for the morning audience sounded as they always did, and the officials lined up outside the great hall to hear the decree.
The person seated in the hall was not the man who had sat there the day before.
Nobody said a word.
What Yu Qian was doing on that night, the histories do not say. Readers have argued about it for centuries. Either he knew nothing, or he understood everything and did nothing. Neither version comes with proof.
A War That Lost an Emperor
To understand that night, the clock has to be turned back eight years.
In 1449 an emperor named Zhu Qizhen rode out through the northern passes with a huge army to fight the Oirat Mongols.
Among the men who led that army was a palace eunuch named Wang Zhen, and it was his voice the emperor listened to.
The army was surrounded at a place called Tumu.
The records of what followed make hard reading. Something like two hundred thousand Ming soldiers were killed or scattered, almost every senior minister who had come along died on the field, and Zhu Qizhen himself was carried off by the Oirat.
For a king in Europe, being taken alive was a nightmare that happened. At Poitiers in 1356, King John of France was pulled off his horse and taken to England, and his country had to decide what a king is for when he is not free.
China faced the same question, with worse arithmetic. An emperor in enemy hands was not just a hostage. He was a live argument about who ruled.
The news reached Beijing and the capital panicked.
Some officials argued for moving the court south of the Yangtze. They had history on their side. That is exactly how the Song dynasty had survived for another century and a half, and exactly how it had finally lost everything.
Then a man named Yu Qian stood up.
Yu Qian was a vice minister of war. He had never commanded a soldier in the field. What he said was short: anyone who talks of moving south should be executed.
Nobody raised the idea again.
Yu Qian came from Qiantang, the city now called Hangzhou. He had been a circuit censor in Jiangxi, where he cleared several hundred wrongful convictions, and he later governed two provinces for nineteen years.
He had a habit that people in the capital talked about. Travelling to court to report, he carried nothing with him. When a friend pointed out that even a man without silver ought to bring a little local produce for the people who can help him, Yu Qian lifted both sleeves and said: I am carrying clean wind.
There was an argument in the palace that autumn over whether the younger brother could be elevated at all while the first emperor was still alive in the north. Yu Qian gave the plain answer. The country needed someone in charge, because a country cannot go a single day without a ruler. Together with other ministers he asked the half brother, Zhu Qiyu, to take the throne, and named the captive in the north the retired emperor.
In the tenth month of that same year, the Oirat cavalry arrived outside the walls of Beijing.
They brought Zhu Qizhen with them and rode him up to the gates, then sent word that the city should open for its own lord.
The gates did not open.
The answer the men on the wall gave comes down as a formula: the altars of the state weigh more than the ruler.
Yu Qian put on armour and took his post at the Desheng Gate.
He spread troops across all nine gates of the city, ordered the gates closed behind them, and made it plain that no man who fell back would live.
Through the tenth month the two armies fought in the streets below the wall.
Yu Qian hid the gunners of the capital army inside empty houses along the road. When the Oirat horsemen came down the street, the hand cannon and light artillery opened up from the doors and the windows together.
A general named Shi Heng held the Desheng Gate. Another named Sun Tang held the Xizhi Gate. Every gate they attacked was held hard.
The Oirat found no advantage there. They withdrew.
The capital had survived, and the man who had held it together was now the most powerful official in the government.
Seven Years Behind a Gate
In the first year of the new era, the Oirat offered peace and offered to send the retired emperor home.
The emperor in Beijing did not want him back.
Yu Qian told him the succession was settled and would not change, and that bringing the man home would make things cleaner.
Only then did the younger brother agree. Envoys were sent north, and Zhu Qizhen was brought back.
The man who came back was no longer an emperor. He was a title, kept in a house.
The new emperor settled his half brother in the Southern Palace, in the southwest corner of the imperial city, in the area of Beijing still called Nanchizi.
The gate was locked, and the man inside stayed inside.
He stayed for seven years.
What those years were like, the histories do not say much. They only record that the gate was not merely locked, and that later the lock itself was sealed with lead.
They also record one flat sentence: the trees inside the compound were cut down.
No trees meant no one could climb the wall to get in, and no one in the courtyard could climb out over it either.
The brother lived behind the wall. The emperor lived in the palace on the other side of it.
The wife of the prisoner, Empress Qian, lived behind the wall with him. The histories say that while he was a captive in the north she wept and prayed until she lost the sight of one eye and the use of one leg. In the Southern Palace the two of them were short of money, and she did needlework to help pay for the household. Those details come from the biographies of the imperial consorts, and they cannot all be checked.
In 1452, three years into that arrangement, the emperor did one more thing.
He removed his nephew Zhu Jianshen from the position of heir and put his own small son in his place.
A year later, that small son died.
The succession was empty again.
By the first month of that year, 1457, the emperor was too ill to speak plainly.
His ministers discussed restoring Zhu Jianshen as heir.
The emperor, they say, waved a hand and told them to settle it the next day.
That single night of delay was the opening the four men had been waiting for.

No Name for It Otherwise
On the morning of the seventeenth day, the men who had broken the wall were the men who had made a new emperor.
Zhu Qizhen took the throne again and renamed the era Tianshun, Obedient to Heaven.
The first business was arrests.
The first man arrested was Yu Qian.
The charge was treason.
The quarrel between Shi Heng and Yu Qian went back three years. After the siege, Shi Heng had been made a marquis for holding the Desheng Gate, and he knew perfectly well who had done the real planning. He later recommended the son of Yu Qian for a post in the capital, and Yu Qian refused him to his face, saying that in a time of danger a general should not be pushing his own people forward.
Shi Heng kept that in mind.
The second man with a grudge was Xu Youzhen. He had once been called Xu Cheng. After the disaster at Tumu he argued for moving the court south, and Yu Qian cut him down in open court, and after that his career would not move. Only when he changed his name did it begin to rise.
The story they told was that Yu Qian and a grand secretary named Wang Wen had plotted to bring in a prince from outside the direct line and set him on the throne.
At the interrogation, Wang Wen argued hard. Summoning a prince, he said, required a gold tally and a written warrant, the messengers had to be recorded, and both the ministry of war and the palace archives could prove what had or had not been sent.
Yu Qian listened, and then he laughed.
This is what Shi Heng wants, he said. What is the use of arguing.
The judges could not answer him. In the end Xu Youzhen supplied the formula that closed the case: there may be no trace of the act, but the intention existed.
Intention was enough.
The memorial asking for the death sentence went to the new emperor. According to a biography later written by the son of Yu Qian, Zhu Qizhen hesitated and said that Yu Qian had done the state good service.
Xu Youzhen answered him with one line.
If Yu Qian does not die, what happened tonight has no name.
That sentence was as direct as a blade. The night could only be justified if there was a traitor to justify it against. Yu Qian had to be that traitor.
The sentence came down: execution, confiscation of property, and exile for the family.
The line about good service and the reply about a name survive in a single source, written by the son. Other accounts say it was Shi Heng and Zhang Yue who pressed hardest for death, and that Xu Youzhen was the one who hesitated. The two versions have never been reconciled, and on this point the record stays open.
Yu Qian was taken to the Chongwen Gate, where he was executed in the second month of 1457.
The Chongwen Gate was where he had placed troops eight years earlier.
That year he had stood there giving orders and telling men to hold to the last. This year he was dragged out through it.
The histories say the sky closed over that day, and that the people who lined the road sighed but did not speak.
He was sixty years old.
By custom, his house was searched. The officers who went through it found the task unusually quick.
There was almost nothing in it.
One room had been locked carefully, and inside were a few robes and a sword given to him by the emperor, still wrapped as they had been handed over.
A guard commander named Duoer, who had once served under the eunuch Cao Jixiang, poured wine on the ground at the place of execution and wept aloud.
Cao Jixiang had him beaten.
The next day, he came back and poured the wine again.
What Came After
The deposed emperor was stripped of his title, made a common prince, and moved to a separate palace in the western park.
One month later, he died there.
The histories say he died of illness. Others have said he was killed. On that point the record has never been closed either.
He was given a posthumous name that was meant to sting: Li, the violent one.
Zhu Qizhen ruled for eight more years. He died in 1464.
The empress dowager had not even known that Yu Qian was dead. When she heard, she sighed over it for days. The Ming history also records that the emperor came to regret it.
The son who succeeded him was Zhu Jianshen, the very heir whose removal had set the whole crisis in motion.
One of the first acts of that reign was to restore Yu Qian in title and to send officials to make sacrifice at his grave, after the son of Yu Qian sent up a memorial asking that his father be cleared. The decree said that in a time of many troubles for the state, he had kept the altars of the nation safe.
Not until 1590, more than a century later, did the court grant him the posthumous name Zhongsu, loyal and solemn.
He had been dead for a hundred and thirty three years.
Of the four men who broke the wall, none ended well.
Shi Heng was thrown into prison four years later and died in his cell. Cao Jixiang raised a rebellion in 1461 and was executed. Xu Youzhen quarrelled with his former partners, was imprisoned, then exiled to the frontier, and in old age was allowed home to Suzhou, where he died in 1472.
The body of Yu Qian was collected secretly by an officer who admired him, buried west of the city, and some years later carried back to Hangzhou and laid in the hills at the southern edge of West Lake.
Across part of the lake from that grave is the tomb of Yue Fei, the general executed three centuries earlier by another dynasty that also feared the man who had saved it.
Chinese schoolchildren still learn a short poem attributed to Yu Qian, written, they say, when he was young. It is about lime, the white powder that comes out of a kiln.
A thousand blows split it out of the mountain. A fierce fire burns it as if it were nothing. Crushed to powder, it is not afraid. It only wants to stay white in the world.
Whether he wrote it as a boy, nobody can prove. For six hundred years, readers have taken it as his own description of himself.
In the south of Beijing, the Chongwen Gate has been demolished for a long time. The name of the place is still on the map.