Just before dawn on the twentieth of February in the year 705, more than five hundred soldiers of the palace guard stood outside the northern gate of the imperial city at Luoyang. Frost lay on their armour.
At the front of the column stood a civil official.
His name was Zhang Jianzhi. He was the chancellor, he was eighty years old, his beard was white, and he carried no weapon.
Behind him were four other officials and a general of the guard named Li Duozuo.
They had come to kill two men who slept in the bedchamber of the empress.
How a chancellor comes to be standing at a palace gate before dawn with five hundred soldiers is a long story. The short version is that the woman on the throne was eighty one, ill for weeks, and the only people allowed near her sickbed were her two young favourites.
The Gate in the North Wall
The northern gate of a Chinese palace city is not a side entrance. The barracks of the guard were inside it. Whoever stood inside that gate at dawn held the palace, and whoever held the palace held the state. In Rome the praetorians had understood the same thing for three centuries, and had made and unmade emperors on the strength of it.
The plan had two halves. Half was five hundred men at the gate. The other half was a road to the Eastern Palace, where the crown prince was asleep, or pretending to be.
Li Xian was the son of the empress. He had been emperor himself, for less than two months, twenty one years earlier, before his mother removed him and sent him away.
Three men went to fetch him: Li Duozuo, an officer named Li Zhan, and the prince consort Wang Tongjiao.
The prince would not come out.
The Comprehensive Mirror, the great eleventh century history of China, preserves the conversation. Wang Tongjiao said: the late emperor entrusted the empire to Your Highness, Your Highness was thrown out without a crime, and for twenty one years heaven and earth have been angry about it. Tonight the guards of the north gate and the officials of the outer court are of one mind. We mean to destroy the villains and restore the Li family. Come to the gate and steady the men.
Li Xian answered: the villains deserve death, yes. But the sovereign is unwell. If you do this, will it not frighten her. Wait for another day.
That answer put five hundred men on a cliff edge.
Li Zhan spoke next, and he did not trouble to be polite. These generals and ministers have staked their families and their lives on this. Does Your Highness mean to push them into the boiling cauldron. If you want to stop them, go and stop them yourself.
The prince came out.
Wang Tongjiao lifted him onto a horse and walked beside him to the gate. It was still dark. Hooves rang between the walls.
This is the hinge of the whole night. A prince who stays in bed makes the thing a mutiny, and mutiny ends with a family being wiped out. A prince who comes makes it an order.
A Prime Minister at Eighty
Her name was Wu Zhao. She entered the palace of the second Tang emperor at the age of fourteen as a junior concubine. When that emperor died she was sent to a Buddhist convent. The heir brought her back. By 655 she was empress. By the 670s she was ruling jointly with her husband, with her own court and her own seal. When he died in 683 she was already the most experienced politician in the empire.
Her son succeeded, and within two months she had him arrested and removed. She put a younger son on the throne and kept him there as decoration. In 690 she took the last step and declared a dynasty of her own. The Tang was abolished. The new house was called Zhou. Luoyang, the eastern capital, became the Divine Capital, and the empress became an emperor.
She killed people, and she recruited people. In 686 she set up a bronze box in the palace yard with four slots: praise, criticism, grievance, denunciation. Anyone who came to denounce someone was given a horse and a meal by the state. In 690 she examined candidates in person in the palace hall, which had not been done before. In 702 she created a military examination. In the years when the informers Zhou Xing and Lai Junchen were at work, officials said goodbye to their families in the morning as a matter of habit.
In 697 two young men entered her household. Zhang Changzong was recommended by her daughter, the princess Taiping, who said that he understood music. His brother Zhang Yizong had some knowledge of medicine, which mattered more as the old woman began to ail. They were given an office, then a bigger one, and eventually a bureau of their own with a staff of writers. Within a few years the court was going through them to reach her.
In 701 the crown prince lost three members of his family in a single season. His eldest son, his daughter and her husband had discussed the two brothers among themselves, and the remark reached the palace. The empress ordered Li Xian to question his own children. He ordered them to kill themselves. His daughter was pregnant at the time. Her husband died in prison.
Four years later, the crown prince still remembered it.
Zhang Jianzhi became chancellor in the tenth month of 704. Two men had recommended him, Di Renjie and Yao Chong, and both had used almost the same words: this man has the makings of a chancellor.
He was eighty. He had spent his life as a magistrate, a censor and a provincial administrator, and had never commanded troops.
He began to build a circle. Cui Xuanwei, a vice minister whom the empress had promoted with her own hand. Jing Hui and Huan Yanfan, two generals of the palace guard. Yuan Shuji, who ran the criminal courts. And Li Duozuo, the guard commander, a man of Mohe stock from the northeast whose family owed everything to the previous emperor. Zhang Jianzhi asked him one question: who gave you what you have.
The old general wept and swore an oath.

It is worth pausing on what this group was. Not one of them was a soldier by profession except Li Duozuo. The man running the operation was a lawyer and an administrator in his eighties who had never seen a battle. European history has the same figure in it, the clerk who turns out to be the only person in the room who can hold a state together when the roof comes down. China had one at the northern gate that night, and he had five hundred men and no plan for what came after.
Two Men in the Corridor
The soldiers reached the gate in the middle of the night.
The Old Tang History gives the whole assault in a dozen characters. The troops came to the Xuanwu Gate, Huan Yanfan and the others escorted the crown prince, broke the bar and went in, and the soldiers raised a great shout.
The shout was the point. Five hundred men wanted the palace to hear them.
The empress was in the Yingxian Palace, one of the residence compounds inside the walls. Her two favourites heard the noise and came out to see what it was.
They were killed in the corridor.
The two official histories disagree about which hall it happened beside. Both were inside the same compound, a few rooms apart, and men running in the dark do not measure distances.
With those two gone, there was nobody left in the palace who could shield her.
The rest of the household went quickly. Three more members of the family were arrested and executed, and their heads were hung at the Tianjin Bridge, the busiest crossing in the city, where a crowd gathered after sunrise. The prince of Xiang, the empress younger son, took the outer court troops with Yuan Shuji and arrested the officials who had been closest to the favourites.
Zhang Jianzhi walked into the hall with his men and set them in a ring around the bed.
The old woman sat up.
Who is making this disturbance, she said.
Zhang Jianzhi gave her the answer he had prepared. Zhang Yizong and Zhang Changzong have plotted rebellion. We have executed them on the orders of the crown prince. We did not inform Your Majesty beforehand because we feared the news would leak. To bear arms inside the palace and disturb the sovereign is a crime deserving ten thousand deaths.
It was a complete answer. It contained no request that she step down.
Then she saw her son standing in the crowd.
Was this your doing, she said. Those two boys are dead. You may go back to the Eastern Palace.
Go Back to the Eastern Palace
Huan Yanfan stepped forward.
The crown prince cannot go back to the Eastern Palace, he said. When the late emperor lay dying he entrusted his beloved son to Your Majesty. The crown prince is no longer young and has sat in the Eastern Palace long enough. Heaven and the hearts of men have been looking toward the Li family for years. We dare not forget what we owe the two previous emperors. We ask Your Majesty to pass the throne to the crown prince.
The hall was quiet.
The empress looked up and found Li Zhan.
So you are one of the generals who killed Zhang Yizong, she said. I was good to your father and to you. I did not expect this.
Li Zhan was the son of a former chancellor. His face burned and he could not speak.
Her eyes moved to Cui Xuanwei.
Everyone else here was recommended by somebody, she said. You I promoted myself. Why are you standing there.
Cui Xuanwei said: this is how I repay Your Majesty great kindness.
After that, the machine moved fast. On the second day she issued an edict making the crown prince regent. On the third day she transmitted the throne. On the fourth day Li Xian was emperor. On the fourth day of the second month the dynasty was renamed Tang again, and the fifteen years of Zhou were over. Even the invented characters she had ordered for official documents were withdrawn that year.
Ten Months at Shangyang
Her son gave her a title grander than any she had held: the Great Sage Emperor Zetian. He moved her to the Shangyang Palace, west of the city, and for a while he went to visit her every ten days.
One of the men who went with her wept.
Yao Chong, the same official who had recommended Zhang Jianzhi, was asked why. He said: I served the emperor Zetian for a long time, and to part from her like this, all at once, I could not hold it in.
He was demoted for it. Twenty years later he was chancellor again, at the start of the Kaiyuan age, and is remembered as one of the best administrators the Tang ever had. He was also, by then, the man who had recommended the man who ended her.
The visits thinned out.
She died on the sixteenth of December, in the Shangyang Palace, at the age of eighty one.
Her last edict was a strange document. She gave up the imperial title and asked to be buried as the empress of Gaozong, in his tomb. She pardoned the families of the two women she had destroyed on her way up, the empress Wang and the consort Xiao. She ordered that the descendants of Chu Suiliang and Han Yuan, officials she had ruined and exiled decades earlier, be allowed to return to official life.
A woman who had killed a great many people spent her last political act restoring the families of a few of them.
The five men who had stood at the gate were made dukes, and their names went into the poems of the dynasty. In the same year their powers as chancellors were quietly removed.
Before that, one official had given them advice. Xue Jichang, the administrator of the eastern capital, told Jing Hui that although the two favourites were dead, the real danger was still standing. He meant Wu Sansi, the empress nephew, and the rest of that family. Use the troops while you have them, he said. Finish it.
Jing Hui raised it several times. Zhang Jianzhi refused.
His reasoning was political and, in the event, wrong. This is the business of the emperor, he said. The emperor was a man of known courage when he was young. I have left the Wu family in place so that he can destroy them himself, and win the authority that comes from doing it.
Xue Jichang walked out and said that he did not know where he would die.
In 706 the five were demoted and sent to the far south. Zhang Jianzhi died on the way, at eighty two, worn out with rage. Cui Xuanwei died in the south. The other three were killed where they had been sent.
Four years later a new emperor restored their titles and had them worshipped in the temple of Li Xian.
In 707 the gate was given a new name. Since the soldiers had come through it, the Xuanwu Gate of Luoyang became the Shenwu Gate, and its tower the Tower of Victory.
A gate with a new name. The matter was considered closed.
Li Xian lasted five more years as emperor. He died in 710, his wife put a boy on the throne, and within a fortnight his nephew Li Longji came through a gate with soldiers of his own.
North of the city, on a low mountain, the two of them lie in one tomb.
In front of it stand two stone steles side by side.
The western one belongs to Gaozong. It is carved with several thousand characters, a eulogy of his reign. The text was written by his wife, and the calligraphy was done by their son.
The eastern one belongs to her. It is more than seven metres tall and weighs close to a hundred tonnes, and eight carved dragons coil around its head.
There is nothing written on it.
There are three explanations and no evidence for any. Some say she asked for it, and left her record to be judged by people not yet born. Some say her son could not bring himself to write it, because there was no way to describe his mother that he could defend. Some say the text was composed and never cut, or was cut and later rubbed away.
The sides of the stone are covered in small writing. It is all the names of travellers who came later, in the Song and the Jin and after, who scratched their visits into the rock.
More than thirteen centuries have gone by. The two stones are still standing.
One of them is full of words.
The other one is empty.