Spring, 1034. The wall outside the Ministry of Rites in the capital, Bianjing.
A crowd pressed against it. The list of men who had passed the imperial examination had just been pasted up, line after line, the ink still wet.
A man of about fifty pushed to the front and read it from top to bottom.
His name was Liu Sanbian.
He was around fifty that year. When his father was fifty, his father had already risen to vice minister of works.
This was the first time he had ever seen his own name on that list.
He had been sitting the examination for more than twenty years.
By the end, there was not a singer in Bianjing who did not know his songs. By the end, even men who had come over from the Western Xia knew that wherever there was well water, someone was singing Liu Yong.
And he still could not pass.
In the Northern Song, the examination was the only door into that life.
It was held once every three years. Several thousand men came to the capital. Two or three hundred passed. For the ones who passed, a whole identity changed overnight. For the ones who failed, it was three more years of waiting.
Liu Yong went from eighteen to fifty, and sat it seven or eight times.
The Seventh Son of Chongan
The Liu family had once lived in Hedong. At the end of the Tang they moved south to Chongan in Jianzhou, which is the Wuyi Mountain country in Fujian today.
They were a family of officials. His grandfather was known locally as a scholar of the classics. His father, Liu Yi, had served the Southern Tang as a censor, and after that kingdom fell he took service under the Song, ending his career as vice minister of works. Of the seven brothers in his father generation, six held examination degrees.
Liu Yong was born where his father was posted, in Fei County in Shandong, around 984.
He was the seventh child, so the family called him Liu Qi, Liu Number Seven, and later the whole city of Bianjing called him that too.
For a boy from that household there was one road. Study, sit the examination, take office.
He thought so himself. As a young man he passed the prefectural test at home, and in 1002 he left Fujian for the capital.
He was eighteen.
The journey by water took months. He took his time.
At Hangzhou he stopped.
A Name Scratched Off the List
Hangzhou was one of the busiest cities in the empire. Around West Lake there were wine houses, painted boats and singing halls, and music went on day and night.
He stayed a few years and wrote a song called Tide Watching.
The southeast is the best place on earth, it begins. The meeting point of three Wu commands, Qiantang has been rich since ancient times. Misty willows and painted bridges, wind screens and green curtains, ten thousand households stacked along the shore.
He did not describe how beautiful the lake was. He described how people lived: flutes in the clear weather, girls singing as they gathered water chestnuts at night, old fishermen and children laughing together.
It was an advertisement for a city.
The song travelled a long way. A story in a Song dynasty notebook says the ruler of the Jin read the lines about cassia in autumn and lotus over ten li, and began to think about marching south. That may not be true, but it shows how far the song went.
There is another story about it in a notebook called Remarks on Song Lyrics. Liu Yong was in Hangzhou, and an old friend of his, Sun He, held a senior post there with a gate that was hard to get through. Liu Yong found a well known singer, taught her the new song, and sent her to a banquet. Sun He heard it, asked who wrote it, and had Liu Yong brought in that same evening.
Whether or not that happened, it shows one thing. In those years the songs of Liu Yong spread by being sung.
That was also the problem.
In the Northern Song, lyrics to popular tunes were not collected into a writer collected works. A scholar wrote poems, and the poems went into a book for later generations. He wrote songs, and often threw them away, or left them unsigned. When Li Qingzhao, the greatest woman poet of the dynasty, wrote her essay on song lyrics and went through every major writer, she came to Liu Yong and said: the music is correct, but the language is common.
Praise for his ear, contempt for his diction.
He understood music. When the court entertainment bureau produced a new tune and the musicians could not make it work, they came to him, and after his revision the tune lived. Over his life he handled more than a hundred melodies that had not existed before, or had never been used properly.
He treated song writing as his real work, and it was the only work he ever did.
So when he failed the examination, he wrote a song about it.
On the golden list, I happened to miss the first place. This enlightened age has briefly mislaid a worthy man, so what now. Since the wind and clouds did not come, why not run wild. Why argue about gain and loss. A man of talent, a writer of songs, is by nature a prime minister in white robes.
Then the last two lines, the ones that cost him:
I can bear to trade the floating name for a shallow cup and a quiet song.
He could bear it. The line went into the palace.
A Southern Song scholar named Wu Zeng recorded what followed. Liu Yong sat an examination and passed. When the list was about to be issued, Emperor Renzong said: this man is so fond of shallow cups and quiet songs, what does he want with a floating name. Let him go and write songs.
And the name was struck out.
That story survives only in a Song notebook, not in the official histories, and nobody can prove it. But the title Liu Yong took for himself afterwards is real. He called himself Liu Sanbian, the man ordered by imperial command to write songs.
A scholar had been turned back at the door by his own lyrics, so he made the refusal into a signature.

The Red Ivory Clappers
In the entertainment houses of Bianjing, when a musician got a new tune, he went to Liu Yong for words.
Word and tune were one thing then. A song was written to a named melody, and the melody set the shape. In the early Northern Song the fashion was for short forms, thirty or fifty characters, over almost before they began.
Liu Yong wrote long ones. A single piece could run to a hundred characters or more, enough room to set a scene, tell a story, turn a feeling over twice.
He built his reputation on those long forms, and the form itself changed because of him.
With more room, he could do things other writers could not. He could write Hangzhou for ten lines. He could write a farewell from evening to the next morning.
The most quoted lines in all of Chinese song writing are probably his. Where will I be when I wake from the wine, he asks. On a willow bank, in the dawn wind, under a fading moon.
He wrote separation the way a man writes who has actually stood on a dock: cicadas rasping in the cold, a shower just ended, a farewell pavilion at dusk, two people holding hands and looking at each other with nothing to say.
Su Shi, the greatest poet of the next generation, once asked a member of his household how his own songs compared with those of Liu Number Seven.
The answer is recorded in a notebook called Continued Notes from the Sword Blowing Studio. The songs of Liu the salt official, the man said, are only fit for a girl of seventeen or eighteen holding red ivory clappers, singing about the willow bank and the fading moon. Your songs, sir, need a big man from the western passes with a bronze lute and an iron clapper, singing of the great river going east.
Su Shi laughed out loud.
That exchange later became the standard way of dividing Chinese song lyrics into the delicate style and the heroic style.
But among officials, his name stayed a problem.
He went to see Yan Shu, who was then chancellor and also an old hand at the form. Yan Shu asked him: do you also write songs, sir?
Liu Yong answered: only as your excellency does.
Yan Shu said: I write songs, but I have never written a line about a coloured thread idly twisted while sitting beside her.
There was no good answer to that. The meaning was clear. I write songs, but not your kind of songs.
Liu Yong sat for a while and left.
Salt Pans at Xiaofeng
In 1034 the emperor opened an extra examination.
The standard was a little looser that year. Liu Yong passed.
He changed his name to Liu Yong, and his courtesy name to Qiqing. He had used Sanbian for fifty years and never used it again.
His first post was an assistant judge in Muzhou, a prefectural staff officer, near the bottom of the ladder.
Over the next dozen years he served as magistrate of Yuhang, as salt supervisor at Xiaofeng, and as an assistant in Sizhou, ending as a supernumerary in the agriculture ministry. That last title is why later generations called him Liu the Farmer.
None of these posts was large.
But during the years at Xiaofeng he wrote a poem called Boiling the Sea.
Xiaofeng was on Changguo, an island group that is called Zhoushan today.
Salt in the Song was a state monopoly. The families who boiled it were registered as salt households. Everything they made went to the government, which paid a token cost price. They could not change trade and could not sell privately. They spent the year beside the pan. The fire could not go out, because a cold pan cracks.
His poem is long and it is not polite. What do the people who boil the sea live on, he asks. The women have no silk to weave and the men have no fields to plough. Their whole source of food and clothing is thin, and the salt from the pan goes straight to the tax collector.
A year of salt goes to the state. The state pays little and private sale is forbidden. The family at the end of it has no rice.
There are lines about walking out at sunrise and coming back at sunset, about carrying the load on a shoulder pole and never resting, about throwing it all into the great furnace and the terrible heat.
Nobody paid much attention to the poem at the time. Plenty of Northern Song poets wrote about salt, but mostly about the monopoly and the tax. Very few crouched beside the boiling pan.
A man who wrote about a willow bank and a fading moon also wrote about the great furnace and the terrible heat.
The Grave the Singers Paid For
Liu Yong died at Runzhou, which is Zhenjiang in Jiangsu, around 1053.
He left no money and no son to bury him.
Where his grave is has been argued over for centuries. There is a claim for Xiangyang in Hubei, one for Zaoyang, one for Zhenjiang, one for Yizheng. Each has a stone. The Zhenjiang prefectural gazetteer of the Wanli period says that Wang Anli, when he governed Runzhou, had the body buried at the foot of Beigu Mountain.
There is another account, repeated in Song notebooks and later gazetteers, and it is the one people remember. He died with no money for a funeral, and the singers of Bianjing pooled their savings and buried him. On the day of the funeral they all came, in plain white, and the sound of weeping filled the streets.
They call it the singers who paid for the grave of Liu Number Seven.
A custom grew out of it. Every Qingming, the spring grave sweeping festival, the singers went to his tomb to make offerings. They called it mourning Liu Qi.
The official histories say nothing about any of this. The notebooks say it. The gazetteers say it. How much of it is true, nobody can now establish.
There is no biography of Liu Yong in the History of Song.
A dynastic history covering a hundred and sixty seven years of the Northern Song, with more than two thousand biographies, does not contain him. What we know sits in notebooks, local gazetteers and talks on song lyrics, and even the years of his birth and death are not settled.
One thing is certain. Less than a century after his death, in Bianjing and Hangzhou and Suzhou and Chengdu, wherever there was well water, people sang his lines.
Ye Mengde wrote in his memoirs that he had met an official who had come back from the Western Xia, and that there too, they sang them.
A man who never became a great official had sentences that travelled that far.
If you go to Wuyi Mountain today, halfway along the old street by the Wuyi Palace, there is a memorial hall to Liu Yong. Three storeys, facing south, and a bronze standing figure on the lawn in front.
His life is carved on the base.
Inside, on the wall, hangs a calligraphy panel of that song, the one about the golden list.
On the golden list, I happened to miss the first place.
He was about thirty when he wrote it, freshly shoved out of the crowd under the wall, still burning.
Forty years later he died at Runzhou, and other people had to pay for the coffin.
In between, he wrote more than two hundred songs.
Two hundred and twelve of them survive in a collection called the Music Chamber.
People are still reading them, one at a time.