One brick in the Nanjing city wall carries three lines cut into its side.
The first line is a place: this prefecture, this county.
The second is an official: the supervising officer, and his name.
The third is a craftsman: the kiln master, the man who carried the clay.
The characters were pressed in with a stamp before firing, so they sit slightly recessed. Six hundred and fifty years later they are still sharp.
Stand at the foot of the wall east of the Zhonghua gate today and you can put your hand on one.
What your hand finds is not a line of text. It is a person’s name.
Build the Wall First
When did this wall begin?
In 1366.
Zhu Yuanzhang was not emperor yet. He had taken Qingji and renamed it Yingtian, and he was still clearing away Chen Youliang and Zhang Shicheng.
A scholar named Zhu Sheng gave him nine characters of advice: build the walls high, store grain widely, and delay the throne.
He took the first four very literally.
Work began in 1366 and finished in 1393. Twenty eight years.
To put that in scale: it took Zhu Yuanzhang sixteen years to go from joining a rebel band to wearing the imperial crown. The wall took longer to build than the empire took to win.
And it was not one wall. It was four.
Innermost was the palace city, where the emperor lived; the site is a park in Nanjing now.
Around it the imperial city, holding the central ministries and the ancestral temples.
Around that the capital wall, which is what people mean today by the Nanjing city wall: thirty five point two six seven kilometres, thirteen gates, two great water gates, thirteen thousand six hundred and sixteen battlements, two hundred guard sheds.
And outermost the outer wall, added after 1390, mostly rammed earth, of which only place names survive: Tucheng Tou, Qilin Gate, Xianhe Gate.
Four walls nested inside each other. Nanjing people describe it as a big ring around a middle ring around a little ring around the emperor.
The shape is odd.
Most Chinese capitals were square or rectangular, because square was correct. This one is not.
It holds the Zhongshan hills on the east, the Stone City ridge on the west, the Long Gan sandbanks to the south, and the lake to the north. Where the hill is, the wall turns. Where the water is, the wall gives way.
So it wanders. It is not regular at all.
That was not laziness. That was using the terrain as part of the wall.
How thick is it?
Ten to twelve metres at the base, seven to eight at the top, fourteen to twenty one metres high, and over twenty in places.
The size was not arbitrary.
By the end of the Yuan, warfare already involved gunpowder weapons: bronze hand cannon, iron bombards, and they were aimed at the face of a wall. Earth walls took a crater with every shot. Brick and stone held. A thick wall lets a ball bury itself and spreads the force through the mass instead of punching through.
Which is why early Ming walls are thicker than Song walls.
Thickness also costs money. Double the depth and you double the brick.
Nanjing paid for it with three hundred and fifty million bricks.
How did the bricks get here?
By water.
Bricks from Jiangxi, Anhui, Hubei and Hunan went onto boats and came down the Yangtze to the wharves at Nanjing. Bricks from the counties along the river in Jiangsu came the same way.
The Yangtze is wide along this stretch and navigable. A few hundred bricks to a boat, tens of thousands of boatloads, for more than twenty years.
When the bricks arrived they were stacked. The ground around the Zhonghua and Guanghua gates was a brick yard for two decades.
And the stacking was not random. The stamped face was turned outward, so that it could be read.
That is why, six hundred years later, you do not need to pry a brick loose to see the kiln master’s name. You just look. It was arranged that way on purpose.
Names in the Brick
The method has an old name: mark the object with the maker’s name.
The Book of Rites has the line in its monthly ordinances: mark the object with the maker’s name, in order to test his honesty.
The Ming took those four characters as far as they would go.
A single brick passed through digging, pugging, moulding, firing, and shipping to Nanjing, and every stage had a responsible person. The inscription does not name one man. It names a chain: the prefectural and county supervisors, the ten household heads, the five household heads, the kiln master, the labourers who carried the clay.
If something went wrong, you walked back along that chain of names.
Bricks arrived by the cartload and were tested.
The test survives in six characters: struck, it should ring; broken, it should show no holes.
Strike it and it must give a clear note. A dull brick fails. Break it and the fracture must be dense. A brick full of voids fails.
And if it fails?
Back it goes, to be fired again.
Records say that when a batch was found bad, the supervising officer of that batch was punished. How far the punishment went is not consistent across the sources; some say demotion, some say exile to the frontier garrisons.
I could not find a single court case from the period, so all I can say is that the system was designed to put a name on the hook.

Rice and Iron
Brick is only the skin.
The build was this: ram the foundation, lay dressed stone, fill behind the stone with rammed earth and broken brick, then face the whole thing in brick.
A wall made that way is hard outside and soft inside.
Soft is not a defect. When a wall is hit by shot, the hard part cracks and the soft part absorbs.
The mortar was lime mixed with glutinous rice.
Cook rice down to a thick paste, mix it with lime, and you have a mortar that sets harder than lime alone and resists water. In recent years materials scientists have identified rice residues in samples of the Nanjing wall mortar, so the recipe now has physical evidence behind it.
There is a harder detail still: the gates.
Zhonghua Gate was originally the south gate, called Jubao Gate. It has three barbicans, four arched gateways, and twenty seven chambers inside the walls that could hold three thousand soldiers.
The point of a barbican is this. The enemy gets through the first gate. The second is shut. The attackers are trapped in a small stone yard with walls on every side and men shooting down from above.
The gate had been made into a pocket.
About the name Jubao there is a well known Nanjing story.
It says that when the gate was being built the foundation kept sinking, and that a fortune teller told Zhu Yuanzhang he needed the treasure bowl of Shen Wansan buried underneath to hold it down. Shen Wansan was the richest man in the region. In the story the emperor borrowed the bowl, promised to return it at the fifth watch, and then abolished the fifth watch in Nanjing so that the debt would never fall due. Which is why, the story says, the city has never sounded the fifth watch since.
That is a legend.
Shen Wansan is a real figure in the histories. The bowl and the changed watch are found in later notebooks and local tales, and should not be read as record.
What is not legend is the plumbing.
There is a drainage channel at the base of the wall, and a row of carved stone spouts along the top, which Nanjing people call dragons spitting water. In heavy rain the water leaves through the dragons’ mouths and lands on a stone apron at the foot of the wall instead of soaking into it.
The top of the wall is flat and walkable, wide enough for a horse, with ramps and steps so that troops and supplies can move along it.
On the inner face there are guard sheds and recesses at intervals, where men could get out of the weather, stack weapons, and sleep.
None of this is conspicuous. Take any of it away and the wall does not last six hundred years.
How long an engineering work survives depends less on its highest point than on its least noticeable one.
Where did the labour come from?
Ming craftsmen were registered. A household of potters or masons was entered in the registers as such, and owed the state a term of work, rotating in shifts. Soldiers built too, and so did convicts sentenced to labour. The brick inscriptions name the supervisors and the kiln men; the men who actually dug the clay are recorded as a category, not as individuals.
Which is one reason the inscriptions matter. For most of the people who built this wall, the brick is the only place their existence was ever written down.
When the wall was finished it was also the city’s clock and calendar. Gates opened at dawn and shut at dusk. Curfew was enforced by the gate, not by a policeman. A man who arrived after the drums had sounded spent the night outside.
And it was a tax boundary. Goods entering the city were checked at the gate, and the gate offices kept their own registers.
Six Hundred and Fifty Years
What happened to the wall afterwards was messier than the building of it.
Through the Ming and the Qing it was simply the wall of Nanjing.
From 1853 to 1864 the Taiping armies and the Qing fought over it for eleven years. It was breached in several places and patched in several places.
In 1853 the Taiping forces tunnelled under the wall near Yifeng Gate, packed the gallery with powder, and blew a gap wide enough to walk an army through.
In 1864 the Xiang army dug a gallery to the Taiping Gate, loaded it, and lit it. Twenty or more metres of wall came down. The defenders could not plug the hole, and the city fell.
Both times the wall was broken from underneath.
However thick a wall is, it stops shot. It does not stop a tunnel.
In the winter of 1937 Nanjing fell again, and the ground around Zhonghua Gate was among the hardest fought of the campaign.
In the 1950s there was a period when city bricks were good building material.
A brick weighs twenty kilos, it is regular, it is strong, and it was free. Pulled out of the wall it could build a house, pave a road, line a drain, roof an air raid shelter.
The northern and western stretches suffered most. Some sections survived only because a work unit, an army depot or a factory happened to be sitting on them and would not move.
Zhonghua Gate is still there partly because it is immensely solid and partly because it spent decades being used as a warehouse.
From the 1980s the city began repairing what was left. In 1988 the wall was listed as a national protected site. Around 2014 the city spent three years photographing and positioning the inscriptions on twenty five kilometres of surviving wall, brick by brick, more than a hundred and seventy thousand of them.
The survey found that many were already weathering away, the strokes going soft at the edges.
The survey today gives thirty five point two six seven kilometres as built, and twenty five point zero nine one kilometres surviving. Ten kilometres more are foundation and earth bank.
Twelve centuries before the Ming, the Romans built a wall in Britain.
Hadrian’s Wall was begun in 122 AD and ran for more than a hundred kilometres.
Roman soldiers carved into its stones too. When a century of a legion finished a stretch, they cut the century’s number into a stone, and sometimes the mason’s name with it.
Two empires, two thousand years apart, arrived at the same method: leave the name behind, so that a fault can be traced to a man.
The difference is in the counting.
A few hundred inscribed stones from Hadrian’s Wall have been recorded. On the Nanjing wall, a three year digital survey photographed more than a hundred and seventy thousand inscribed bricks.
Three lines on one brick record a prefecture, a county, an officer and a craftsman.
The kiln master’s name was pressed into clay six hundred years ago and built into a wall, and the wall is still standing.
He can hardly have expected to survive this way.
His name was meant for an account book.
The wall turned the account book into masonry.