An old man stands on a platform of packed earth with a list in his hands. The wind is strong enough to press his sleeve flat against his arm. He reads out a name, and a seat opens in the sky. He reads out another, and one less ghost is left standing in the fields.

Then the list is finished. Three hundred and sixty-five names. Not one more, not one less.
He turns the paper over to look at the back. The back is blank.
This is the last act of a sixteenth-century novel called The Investiture of the Gods. It is a loud, crowded book, full of soldiers and magic and people with too many names. But it did something for China that no other book did. It took the whole sky, which had been a mess, and turned it into an organisation chart.
Before this story, the Chinese gods and monsters were scattered. Every mountain had a spirit, every river had a lord, and any kitchen could have something squatting on the stove. Nobody had fixed what each of them was in charge of, or who outranked whom. After this story, the sky had job titles.
This is where Chinese mythology and Greek mythology part company. In Greece the gods are a family, and they behave like one. When three brothers divided the universe, they drew lots. Zeus got the sky, Poseidon the sea, Hades the underworld, and nobody had to write anything down.
In Chinese mythology the gods are a civil service. There are ministries. There are ranks. There is a thunder bureau with twenty-four officers in it. A civil service needs a personnel clerk with a brush and a very long sheet of paper. That clerk was a man named Jiang Ziya.
An older story in the West comes close to his. Moses leads his people to the edge of the promised land, climbs a mountain, looks at it, and is told that he will not go in. He dies within sight of the thing he spent his life delivering.
Jiang Ziya is that man, except that what he delivered was heaven.
He was born Jiang Shang, with the courtesy name Ziya. In old age people called him Lord Jiang. He went up Mount Kunlun as a young man to study under Yuanshi Tianzun, one of the three highest figures in the Taoist cosmos, and stayed forty years. He learned to read the sky and to sit very still. He did not become an immortal.
His teacher finally told him to go home. The words are in the novel and they are not kind. Your fate is thin, the old master said. The way of the immortals will not open for you. Go down and enjoy what a mortal man can enjoy.
He was seventy-two when he came down. Some versions say eighty.
He moved in with a sworn brother, married a woman named Ma, and tried to make a living. He was bad at all of it. He wove baskets and sold none. He carried flour into the market at Chaoge, a horse kicked over the baskets, and the wind took the flour off the road before he could scoop any of it back.
Ma left him. Years later, when he was famous, she came back. He poured a bowl of water on the ground and told her that if she could gather it up from the mud, he would have her. She could not.
So he went fishing on the Wei River, and he did it with a straight hook.
There was no bend in the iron and no bait on it. People laughed at him from the bank. He told them he was not fishing for fish. He was fishing for a king.
King Wen of Zhou was going out hunting that day and had read the signs first. The reading said that what he caught would be neither dragon nor tiger, but the helper who could make him a lord of lords. He reached the Wei and found a white-haired man on a rock with a straight hook in the water.
They talked for a full day.
Then the king asked him into the carriage, took the shafts himself, and pulled. Folk tradition says he pulled eight hundred steps and the cart stopped, and Jiang Ziya told him that eight hundred steps had bought eight hundred years of dynasty. The king bent to the shafts again at once. Jiang Ziya told him it was too late. The number was set.
That scene is not in the novel. Common people added it, because they did not quite believe in grand phrases like the mandate of heaven. They believed in a debt paid off one step at a time.
The Zhou and the Shang met at Muye. The Shang soldiers turned around and joined the other side. The last Shang king set fire to his own palace and burned with it.
But myth does not care who wins a country. Myth cares about where the dead go.
Too many people died in that war. Adepts from both factions, soldiers on both sides, and a great many quiet people who had been living on mountains, minding their own business, until someone called them down to take a side. Ordinary dead get graves. The trained ones leave something behind that has nowhere to sit.
The ghosts stood in the open fields. Up above, the offices were in chaos.
So three lists were written. Laozi, Yuanshi Tianzun and the Grand Master of Heaven sat down together and wrote out the names. Whoever was written down became a god. It was also a way of taking control of everyone who had been dangerous.
Jiang Ziya carried the list down the mountain and built a terrace at Qishan to read it from. Under the terrace they buried a man named Bo Jian, whose ghost had drifted on the East Sea for a thousand years. He was fished out and given one job: to bring the souls in.
The terrace was three zhang high, with torches at the four corners. The wind pushed the flames sideways and burned one banner down to half.
Bo Jian shook his guiding flag, and the souls in the fields began to queue. One line came from the east, one from the west, and each stopped in front of the terrace to wait for a name.
A man near the back pushed forward and looked up and asked what his own name was.
Jiang Ziya looked down at him. The man wore the coat of an ordinary soldier. His face had no wound on it and no name either. He was not on the list. Jiang Ziya had nothing to read out.
The man stepped back, went to the end of the queue, and stood there without a word.
Then the reading began.
The first name was Bo Jian, chief of the three realms, the eight divisions and the three hundred and sixty-five.
The second was Huang Feihu, Great Emperor of the Eastern Peak. He had been a prince of the Shang court until the king insulted his wife and killed his sister, and then he fought his way out through five passes to join the Zhou. He was given Taishan and the eighteen courts of the underworld. Every dead person in China would pass under his hand.
The third was Wen Zhong, Lord of Thunder. Twenty-four officers answered to him. He had an eye set vertically in his forehead and rode a black qilin, and he fought for the Shang to the last day and lost. He was still written down. On this list, winning is not the qualification. Having a post is.
When his name was read, thunder sounded overhead. Nobody on the terrace looked up.
Further down came the god of wealth. Zhao Gongming, Marshal of the Dark Altar, with four officers under him named for gathering treasure, storing it, bringing wealth and profit. He is the one Chinese shopkeepers still burn incense to. In life he died with an arrow through the heart.
Then the Four Heavenly Kings, who were four brothers in the war and are now the four faces in the first hall of most Chinese temples. One holds a sword for wind, one a lute for harmony, one a parasol for rain, one a serpent for smooth passage.
Then the three sisters called the Three Clouds, who were given charge of childbirth and whom country people still call by a homelier name. They had once set a trap of yellow river water that stripped the flower from the top of every adept on the Zhou side. They still got their posts.
Then the god of fire. Then Shen Gongbao, made River-Splitting General and told to plug the eye of the North Sea. He spent his whole life going from camp to camp, persuading other people to fight Jiang Ziya. His own name was on the list too. His post was a hole in the sea floor.
When he reached the name of Tu Xingsun, Jiang Ziya paused.
Tu Xingsun was a dwarf less than four feet tall who could travel a thousand li a day underground. He had married Deng Chanyu, a woman who killed men by throwing stones. They were both killed at Mianchi by a general who moved under the earth faster than Tu Xingsun did. Jiang Ziya gave him the post of Earth Palace Star, read out the next name, and gave his wife the post of Six Harmonies Star.
On and on, through a census of Chinese gods and monsters. By the end his voice had gone and his student Wuji was handing him water between names. The fixed stars filled up. The lords of wind and rain were assigned. The gods of smallpox and plague were assigned. Every unpleasant thing that happens to a body now had somebody in charge of it.
It was almost dark when the last name was read.
Jiang Ziya closed the list and stood there. Everyone below was watching him. It was his turn. He was the one who had written all of it.
His name was not on it.
He turned the pages over. He turned them again. Three hundred and sixty-five names in his own brushwork, written until his fingers went numb. On that paper were his enemies, his rivals, men he had killed, men who had killed his students. He was not there.
He was still carrying the whip.
Yuanshi Tianzun had given him a rod called the God-Beating Whip, made to strike gods. Any name on the list, struck by it, goes down. He had carried it for decades and used it on marshals and immortals alike.
The whip could not touch him. He was not on the list.
Years later, alone in his tent, he tried it. He brought the rod down across the back of his own hand. It landed like a stick of unplaned wood. Nothing happened. A white mark came up on the skin and faded.
He went back up Mount Kunlun and asked his teacher.
Yuanshi Tianzun said what he had said forty years before. Your fate is thin. The way of the immortals will not open for you. Enjoy what a mortal man can enjoy.
It sounds like comfort. It is a sentence of death, delivered politely. He would be a man. Men end. Gods do not.
He came down and went east. King Wu gave him the state of Qi, with its capital at Yingqiu, which later became Linzi. So a man in his seventies walked toward the sea with a column of settlers behind him, into salt flats and reeds, where a people called the Lai were already living.
He made money out of fish and salt and turned the place into a state. Qi later produced Guan Zhong and Duke Huan, the first of the Spring and Autumn lords to hold the other states in line.
His daughter Yi Jiang married King Wu. She gave birth to King Cheng. So the man who did not become a god became the grandfather of the Son of Heaven.
What happened afterward has nothing to do with the list.
The seat at the very top of the Chinese sky was filled many centuries later by a figure who is not in this novel at all. The Jade Emperor sits there now, in every temple, with a court around him. He was not on the roster either.
And in the villages, when a house is built, there is a day when the main beam goes up. That is the dangerous moment. The beam carries the roof, and if it is out of true, the family will live crooked for the rest of their lives. So on that morning they set off firecrackers, kill a chicken, invite the neighbours to drink, and paste a strip of red paper on the middle of the beam, face down.
Six characters go on it. Lord Jiang is here. Sometimes eight. Lord Jiang is here, and nothing is forbidden.
Jiang Ziya sits on the beam.
Three hundred and sixty-five gods have temples and incense and a department each. Taishan, thunder, money, the room where a child is born, the hole in the North Sea, fire, plague, smallpox. There is no empty post anywhere in heaven. Every single thing that can happen to a person has an official responsible for it.
One seat is empty. It is on the ridge beam, over the heads of every family in the country, a little higher than all the rest.
He is not a god. He is in charge of nothing. When a house goes up, he sits there for a while.