In the winter of 1506, outside the Meridian Gate in Beijing, a row of officials knelt on the brick paving with their hands tied behind them and their robes taken off.
The men with the rods waited for the order.
The rod makes a dull sound. At ten strokes a man can still shout. At twenty the shouting stops. At forty, most of them are carried away.
One of the men beaten that day was thirty four years old, a secretary in the Ministry of War, by the name of Wang Shouren.
He had written a memorial on somebody else’s behalf.
He is known to history as Master Yangming. In the whole of his life he did two large things. He worked out an answer to one question, and he won one war. Both came after the beating.
Forty Strokes
It began that same year.
The new emperor was fifteen and liked to play. Eight eunuchs around him ran the palace, and the court called them the Eight Tigers. The senior ministers, Liu Jian and Xie Qian, petitioned to have them killed. They failed, and were driven out themselves.
Two censors in Nanjing, Dai Xian and Bo Yanhui, sent up a second petition and were taken into the imperial prison.
Wang Shouren was in the Ministry of War, handling documents. He wrote a memorial saying that what the two censors had raised was public business, and that prison was not the answer.
The memorial reached Liu Jin, the chief of the Eight Tigers.
The result was the imperial prison, forty strokes, and banishment to Longchang in Guizhou, to serve as keeper of a post station.
Wang Shouren was born in 1472 in Yuyao, in Zhejiang. His father, Wang Hua, had taken first place in the highest examination of 1481 and rose to be minister of personnel at Nanjing. In a family like that the road is laid out: study, sit the examinations, take office.
He did not speak until he was five. A monk who passed through said the boy’s name was wrong, and suggested another. He was renamed, and then he talked.
At twelve he asked his teacher what the first thing in the world was. The teacher said: study and pass the examinations. The boy shook his head. He said the first thing was to become a sage.
At fifteen he rode out beyond the Juyong pass alone to look at the mountains and the fortifications, came home and wrote a policy paper about defending the frontier. His father told him to stop.
At seventeen he was married in Nanchang. On the wedding day he went out for a walk, found a Daoist temple, sat down opposite the priest, and forgot to come back.
All of this is in the chronological biography compiled by his students, which idealises him. The details are still probably close to true.
A post station keeper was the lowest post in the entire bureaucracy.
He managed horses, fodder, and beds for travellers. From a capital appointment to that was not a demotion. It was a fall out of the world.
He was carried home after the beating. Before the wounds closed he had to leave.
Before going south he stopped in Nanjing to see his father. His father did not reproach him. He said only that with a court like this, a man had a duty to speak.
His examination career had not been smooth either. He passed the provincial examination at twenty one, failed the metropolitan one at twenty two, sat it again at twenty five and failed again. The men around him were ashamed of failing. He said he was not ashamed of failing; he was ashamed of being moved by it.
In 1499, at twenty eight, he passed.
The Road South
Beijing to Guizhou is several thousand li by the post road.
He went south to Hangzhou, then west through Jiangxi, into Hunan, and over the mountains into Guizhou.
Something happened on the way that later went into his chronological biography. Near Qiantang he noticed men following him. He wrote a poem, left his clothes and shoes on the riverbank as though he had drowned himself, and got away.
How much of that is true is argued. What is generally accepted is that men were sent after him and that he survived them.
He reached Longchang in the spring of 1508.
The first thing he did there was not complain. He showed the local people how to dig a well and put up a house, and talked to them about crops. People began to gather. He opened a school and taught the Great Learning and the Doctrine of the Mean.
His listeners were Chinese and they were Miao and Lao. They may not have followed the argument. They came anyway.
The place is in what is now Xiuwen county in Guizhou, a country of stacked mountains, malarial air, and people whose language he did not speak.
The station had long since fallen apart. There was no building. He lived in a cave at first, then put up a thatched shed.
His servants fell ill. He cut firewood, carried water, cooked gruel.
He also sang to them and told them jokes, because he was afraid they would die of homesickness.
The Night in the Coffin
His biography describes that night in a way that is hard to forget.
He had a stone coffin made, inside the cave, and at night he lay down in it.
Not to die. He was trying to settle a question.
As a young man he had believed Zhu Xi. Zhu Xi taught that the principle of things was in things, and that you had to investigate them one by one until the principle came clear.
He had tried. Once he and a friend sat and looked at the bamboo in the courtyard for seven days and nights, and saw nothing, and he fell ill.
After that he kept turning one thing over. If the principle is inside the bamboo, why am I not a sage? And if it is not in the bamboo, where is it?
At Longchang he lay in the stone box each night and asked himself one question. If a sage were in this place, what would he do?
Then one night in 1508 he sat up and shouted.
The record gives his words. The way of the sage is complete in my own nature. Looking for principle in things outside myself was the mistake.
That night has a name in Chinese thought. They call it the awakening at Longchang.
Nobody can reconstruct what happened in that cave. What can be said is that from then on he taught differently.
He stopped talking about investigating things. He began to talk about mind as principle, and about the unity of knowing and doing.
A student asked what unity of knowing and doing meant.
Wang said: you claim to be filial. Do you know whether your parents are warm or cold? Is that knowing, or is it not knowing?
He did not mean act first and think later, or think first and act later. He meant that knowing and doing are two sides of one event. You see a beautiful colour and you like it in the same instant. There is no second step in between.
That sounds simple. It closed a road that educated men had been walking for centuries: study first, become a good man afterwards. Wang said no. You find out by doing.

Forty Three Days
In the sixth month of 1519, in Jiangxi, the prince of Ning rebelled.
Zhu Chenhao was a fifth generation descendant of the founding emperor, with his seat at Nanchang. He had been buying soldiers for years. He claimed a hundred thousand men and moved down the Yangtze toward Nanjing.
Wang Shouren was in Jiangxi at the time, as grand coordinator of the south, having just finished clearing bandits out of the hills. He had already handed back his military seal.
He had no army.
He was travelling north, reached Fengcheng, heard that the prince had risen, and turned back to Ji’an.
At Ji’an he did three things.
First, he issued a proclamation. It announced that the court had already dispatched a hundred and sixty thousand men in several columns, with dates. He made sure the prince’s people saw it.
Second, he wrote letters. He forged correspondence with the prince’s advisers, thanking them for promising to turn from inside, and setting out what they would be given afterwards. He made sure those letters reached the prince.
Third, he recruited. He raised men in Ji’an and Ganzhou, mostly peasants, miners and local militia, and opened the government granaries to feed them.
The prince hesitated.
For something like a fortnight he did not move on Nanjing.
In that fortnight Wang Shouren put together eighty thousand men.
Then he did the thing nobody expected. He did not go to Nanjing. He went to Nanchang.
Nanchang was the prince’s capital and his base, and his soldiers had all gone with him. The city was empty.
Wang besieged it. The prince turned back to save it. The two forces met on Lake Poyang.
The prince had the bigger ships, chained together into something like a floating town. Wang had small boats and militia. He did not ram them. He burned them.
He had straw dummies made and dressed in armour and stood them on the prows so that from a distance the fleet looked twice its size. He filled boats with brushwood, poured oil over it, and sent them downwind.
The wind came up on the lake those days.
The fight on the water lasted three days. Wang used fire against the prince’s fleet. The prince’s consort drowned herself. The prince was taken alive.
From the rising to the capture was forty three days.
Of those forty three, fewer than ten were spent in front of an enemy. The rest went on letters, proclamations, and guessing what other men would do.
He had never passed a military examination. He had never served a day with a frontier army. He was a civil official, and one who had spent his career on paperwork.
In European terms, this is a chancellor who has never held a sword suddenly being asked to stop a duke in open revolt, and doing it in six weeks. States tend to discover at the worst moment that the man who saves them is a clerk.
When the news reached Beijing, the emperor was on his way south and was annoyed. It had finished too fast. He had not had a chance to command anything.
So came the farce that followed. The prince was released, so that the emperor could capture him in person.
Wang handed the credit over. He gave the prisoner to the eunuch Zhang Yong and asked leave to go home on grounds of illness.
This Heart Is Bright
In his last years Wang taught.
He opened academies around Shaoxing and Yuyao, and his students multiplied. He reduced everything he had taught to three characters: extend the good conscience.
Every person, he said, has something inside that tells right from wrong. You do not have to go outside to find it. What you have to do is clean it and then act on what it says.
The idea was popular and it was attacked. Some said it was Buddhism in disguise. Some said it broke Zhu Xi’s rules.
Late in life he put the teaching into four lines, which his students called the four sentences. Good and evil are not in the substance of the mind. Good and evil appear when intention moves. Knowing good from evil is conscience. Doing good and removing evil is the investigation of things.
Those four lines became the most quoted and the most argued over sentences in his school.
In 1527 the court sent him to Guangxi to settle a rising among the local chiefs at Sien and Tianzhou.
He was fifty five and already very ill. He asked to be excused. The court refused.
He went. This time he did not fight a battle. He negotiated, and it was settled. On the way back he also broke the strongholds at Bazhai and the Throat-Cutting Gorge.
By the time he turned for home he was very ill. His lungs were gone. He coughed blood the whole way.
On the twenty ninth day of the eleventh month, the boat reached Nanan. He asked to be helped up, and sat.
His students asked if he had anything to say.
He said: this heart is bright. What more is there to say.
He was fifty seven.
The court gave him no posthumous title. Some officials sent up memorials saying his teaching was unsound. For a while it was banned.
The reason had little to do with philosophy. In the great ritual controversy of the 1520s he had taken the emperor’s side and made enemies of a large part of the court. His students were many and loud, and were read as a faction.
In 1567 he was granted the title of marquis and the name Wencheng.
In 1584 he was given a place in the Confucian temple.
From the beating at the Meridian Gate to that place in the temple was seventy eight years.
Go to Yuyao today and you can see the house where he was born. Go to Xiuwen and you can see the cave at Longchang, with four characters cut into the rock at the entrance.
The cave is small. Standing inside it, you can put your hand on the stone overhead.
That is the kind of stone he lay down among, asking what a sage would do in a place like this.
He spent the rest of his life answering it.