On 23 February 1885, there was nobody left on the gate tower at Zhennan Pass.
Ten days before, the governor of Guangxi had abandoned Lang Son and ridden north through the pass into China. The garrison ran with him. The French took the gate without much trouble and blew the three storey tower into a heap of timber and stone.
On the ruins they nailed a wooden board. The translation used at the time read: the gate of Guangxi no longer exists.
Word reached Guilin, then Changsha, then Beijing in under ten days. Some at court wanted more troops. Some wanted talks. The governor was dismissed. His replacement had not arrived. The front was empty.
Four kilometers inside the pass there is a village called Guanqianai. Hills on both sides, one road in the middle, the only way from Vietnam into Guangxi. Whoever held that gap held the door to the province.
A man of seventy was on his way there.
The Man They Called Back
His name was Feng Zicai. He was born in 1818 in Qinzhou, on the coast of the far south.
His early record is not respectable. He ran away from home as a boy, joined the Heaven and Earth Society, and spent years fighting the Qing government in the hills of Guangxi. Then he accepted amnesty and began fighting for the same government. This was not unusual in that century, but it left a mark on him. For the rest of his life he was reminded where he had started.
Over the next forty years he rose from junior officer to provincial military commander of Guangxi. He fought the Taiping armies, the Miao risings in Guizhou, and the bandit bands along the Vietnamese border. His method was plain. Build the camp first. Feed the men first. Look at the ground before you move.
In 1883, at sixty five, he asked to retire on grounds of illness and went home to Qinzhou.
In 1884 the war with France began.
The quarrel was over Vietnam. French forces had pushed north for years, forced the court at Hue to accept a protectorate treaty, and then demanded that China recognize it. Beijing replied that Vietnam was a tributary and could not simply be handed over. The talking stopped.
The French fought the war intelligently. Instead of grinding through the Guangxi mountains, they went to sea first. In the seventh month of 1884 the squadron entered the Min River and anchored at Fuzhou, beside the Chinese fleet. The Chinese ships had orders not to fire first. They lay in the harbor with French guns a few hundred meters away.
In less than an hour the Fujian fleet ceased to exist. Eleven ships were sunk or burned, and the dockyard was shelled into rubble.
Then came Taiwan. French troops landed at Keelung, seized the coal district, and blockaded the coast. Then the land war in Vietnam: Lang Son was attacked, and the governor of Guangxi withdrew without a real fight.
After a run of defeats like that, the court split. The peace party grew louder and so did the war party. The empress dowager replaced the moderate princes with men who wanted to fight. Changing ministers does not produce warships.
By the second month of 1885 the reports from Guangxi were worse every day.
Lang Son fell. Zhennan Pass fell. The province was placed under emergency rule.
Zhang Zhidong, governor general of the two provinces, thought of Feng.
The messenger brought a commission and a seal. Feng did not refuse. He made two conditions. He would raise his own troops, and the other formations at the front would answer to one command.
The court accepted the first and left the second vague.
He raised eighteen battalions in Qinzhou and called them the Cui Army. The men were farmers’ sons. The weapons were a mixture: imported rifles, heavy jingals, old matchlocks. He paid for part of the uniforms and ammunition himself.
Before he left he settled his family affairs.
The Wall in the Pass
In the third month the Cui Army reached Pingxiang.
The first thing Feng did was not fight. It was kill.
When he arrived at Guanqianai, stragglers were still walking north in knots, with no officers. He posted a standing order. Anyone who fell back without orders would be beheaded. Anyone who looted would be beheaded. Anyone who ignored a deployment order would be beheaded. A few men ran in front of him. They were dragged back and cut down. After that the columns stopped moving.
The second thing was the wall.
The ground at Guanqianai is an east west valley. He put a rammed earth and stone wall straight across it, from one hillside to the other, with a ditch outside and sharpened bamboo stakes beyond the ditch. Gaps in the wall were closed with wooden gates, and lanes behind the wall let men move sideways. The wall ran about a mile and a half and closed the road completely.
Its dimensions are given differently in different accounts. It was high enough that a man behind it could shoot over the top, and thick enough at the base that two men could pass on the parapet. The ditch outside was deep enough to slow a runner, and the bamboo stakes beyond the ditch were cut at an angle.
Such a wall would not stop a shell. It would stop men. Anyone attacking had to come down into the ditch and climb, and in that time the defenders could reload.
Behind the wall he built shelters roofed with earth, where men could wait out a bombardment. On the slopes of both ridges he put a few old fashioned guns. They could not reach far. They could break up a skirmish line.
Soldiers and local villagers built all of it together, in about ten days.
The third thing was the array.
He took the centre himself, facing the wall. Wang Xiaoqi held the right. Su Yuanchun and Chen Jia held the left. Wang Debang was posted at Youai, outside the pass, to wait for the French rear. More than ninety battalions, forty to fifty thousand men, from Guanqianai back to Pingxiang.
On the French side, the force available for the attack was a little over two thousand. Its commander was Francois de Negrier, in his forties, a professional soldier from the African and Tonkin campaigns.
He knew he was outnumbered. He also knew the weakness of the Chinese side. The formations did not support each other. When one wing broke, the other stood still.
On the morning of 23 March he attacked the eastern ridge.
The eastern ridge is the high ground on the right of the valley, and it carried three forts. French artillery was better than anything the Chinese had. Shells hit the parapets and threw earth and stone into the air. The garrisons did not hold. Two of the three forts were lost in a single day.
Feng ordered Wang Xiaoqi to take them back that night. He could not.
All night the French strengthened their position on the ridge, and behind the wall the Chinese cleaned their rifles. Both sides understood that the next morning would decide it.
The Morning of the Twenty Fourth
There was fog at dawn.
Negrier put his main weight against the centre of the wall. His reasoning was simple. Break that section and the whole Chinese front comes apart.
The French came forward in skirmish lines, using the fog to reach the foot of the wall. Engineers went up with explosive charges. Several sections had been knocked down by shellfire, leaving gaps a man could climb. French flags appeared in the gaps.
Feng was behind the wall.
He was sixty seven, white bearded, in a short jacket. The aides who were with him said afterward that he planted his spear on the ground, shouted once, and went over the top.
His sons, Feng Xianghua and Feng Xiangrong, went after him.
The men behind the wall saw their commander go over. The gates opened and they poured out.
The two sides fought at the foot of the wall at a distance too close for rifles. French firepower meant nothing at that range.

Then the firing started behind the French.
Wang Debang had brought the Chu Army over the hills from Youai and had reached the French baggage column. The ammunition and supplies were there. He cut them off.
A moment later, more than a thousand Chinese and Vietnamese villagers came out of the side valleys behind the French line. They were carrying swords, hoes, and wooden clubs.
The French skirmish line began to pull back.
Negrier was hit while directing the fight, wounded in the chest, and carried off the field. His deputy took command and ordered a withdrawal. The withdrawal became a rout. Guns, stores, and wounded were left along the road.
The Chinese chased them more than five kilometers beyond the pass.
Behind them the valley was littered with the usual wreckage of a broken attack: cartridge boxes, a broken limber, rifles dropped in the mud, a gun that had been spiked and abandoned. Villagers came down from the slopes with baskets and carried away what could be carried.
After the war Su Yuanchun stayed in Guangxi to organize the border defenses. He built several dozen stone forts on the ridges around Pingxiang, with imported guns in embrasures. Those forts were more solid than Feng’s wall. Some of them are still standing.
On 26 March they took Wenyuan. On 29 March they took Lang Son.
Lang Son and Tianjin
With Lang Son gone, Hanoi lay open.
The news reached Paris in April. Jules Ferry’s cabinet was attacked in the chamber and fell on 30 March. French papers that week kept asking the same question. What exactly were we doing in Tonkin.
At the front, Chinese scouts were at the approaches to the Red River delta.
Then the order came from Beijing. Stop.
The commanders at the front did not believe it. Zhang Zhidong sent several telegrams from Guangzhou arguing that the troops were advancing and that a settlement now would throw away a victory. Peng Yulin, the old admiral on the coast, sent a memorial against it. The reply from Beijing meant one thing. It was already decided.
The reasoning in the capital was not hard to follow. Taiwan was still blockaded. The Fujian fleet was gone and the coast lay open. Even a victory in Vietnam would have to be garrisoned for years at great cost. French ships had been cruising off the northern coast for months. Li Hongzhang argued for taking the win and closing the file: use one battlefield success to buy a respectable peace.
The men in the valley saw something else. They had watched Negrier carried off. They had pulled the French flag down at Lang Son.
On 4 April the two sides signed a preliminary armistice. On 9 June Li Hongzhang and the French minister Patenotre signed a treaty in Tianjin, in ten articles.
The terms were these. China recognized the French protectorate over Vietnam. Two border towns in Yunnan and Guangxi were opened to trade. French goods entering China paid reduced duty. If China built railways in those provinces, French firms would be consulted. French troops would leave Keelung and the Pescadores.
There was no indemnity. France had not won on the battlefield and did not dare demand one.
But the Vietnamese buffer was gone.
People at the time summed it up in four characters: undefeated, yet defeated. The French had their own phrase: beaten, yet victorious.
In Germany in 1918 the army came home still standing on foreign soil, and the surrender in the field gave rise to a legend that the soldiers had been stabbed in the back by politicians. The Chinese case in 1885 is the opposite and it needs no legend. The troops really were winning. The government really did sign.
Zuo Zongtang died in Fuzhou that September, still angry about it. Feng Zicai is said to have sat all night in his camp after the order arrived, and in the morning took his men back inside the pass.
The wall he built at Guanqianai slowly collapsed.
The Name of the Gate
Feng Zicai died at Qinzhou in 1903, at eighty five.
After his death the pass was renamed twice. In 1953 it became Friendship Pass.
You can still see the gate today. The tower is a reconstruction. The one the French blew up is long gone. The valley at Guanqianai is still farmed, and the road is still the same road. Local people say that when they turn the soil after rain they sometimes bring up flakes of rusted iron.
How many men stood on the wall on the morning of 24 March 1885, how many French soldiers reached it, and what the casualties actually were, are still disputed. Chinese reports claimed more than a thousand French killed and wounded. French records give a much lower figure. Three things are certain. The wall held. The French withdrew. Negrier was carried off the field. Everything else was settled on paper.