The Scholar Who Died to Take the Exam / 考城隍

The opening tale of Liaozhai — the ghost story collection that invented the Chinese ghost genre

From Strange Tales from a Chinese Studio (聊斋志异), Volume I, Tale 1 — by Pu Songling (蒲松龄, 1640–1715) · Translated with annotations


A scholar lay sick in bed when a messenger rode up on a white horse and said: "You are summoned to take an examination." The scholar had been dead for three days.


The Story

One autumn day, Song Tao (宋焘, a county-level shengyuan — a government-sponsored student) fell ill and lay resting on his bed. Around midday, he heard voices outside and looked up to see an official in ceremonial robes, holding a summons, leading a horse with a white blaze on its forehead.

"Your presence is requested at the examination," the official announced.

Song Tao was confused. "The Provincial Commissioner hasn't announced a session yet," he said. "How can there already be an examination?"

The official said nothing, only urged him to hurry.

Song Tao mounted the horse despite his fever, and they rode out. The roads were completely unfamiliar. After some hours, they came to a city — grander than any he had seen, with gates like a royal capital. Inside the official compound, the halls were magnificent.

At the head of the hall sat more than a dozen officials. Song Tao recognized none of them, except one: Guan Yu (关羽, a Three Kingdoms general who became a god — known as Guan Gong, "Lord Guan"), seated among the divine judges[1]Guan Yu (关羽, 160–220 CE) was a Three Kingdoms general who served Liu Bei. After his death he was deified, accumulating titles over centuries until he became one of the most revered gods in the Chinese pantheon — a guardian of justice, wealth, and the scholarly examination system. In the underworld bureaucracy of folk religion, he serves as a divine judge..

Two writing desks had been set beneath the eaves. A young man already sat at one; Song Tao joined him at the other. Paper and brushes waited at each station.

A question fluttered down from above. It read:

"One person or two. With intention or without."

Both men wrote their essays in silence. When Song Tao submitted his, one passage read: "An act of goodness done with intention deserves no reward — even though the act was good. An act of harm done without intention warrants no punishment — even though the harm occurred."

The officials passed the essay among themselves, praising it. Song Tao was called forward.

"The position of City God (城隍, a guardian spirit of a specific city in the bureaucratic underworld) for Henan Province has opened," they told him. "You are qualified for the role."

Only then did Song Tao understand. He had died. He dropped to his knees and wept.

"I dare not refuse the imperial appointment," he said. "But my mother is seventy years old. She has no one else to care for her. I ask only to serve out her remaining days on earth — then I will take up my post."

The highest-ranked official ordered a clerk to consult the register of lifespans. A long-bearded scribe flipped through the records and reported: "She has nine years remaining."

The officials conferred. Guan Yu spoke up: "Let the young scholar here serve in the meantime. After nine years, Song Tao can take over."

So it was decided. The official told Song Tao: "You showed such filial devotion toward your mother that we grant you leave. Return to the living world. At the end of nine years, we will summon you again."

The officials gave the young scholar some words of encouragement, and both men bowed and descended from the hall.

The young scholar walked Song Tao to the outer gates. At the city wall, he clasped Song Tao's hand and said goodbye.

"I am Zhang of Longshan," he said. Then he pressed a poem into Song Tao's hand — but by the time Song Tao reached home, he could only recall two lines:

Where there are flowers and wine, spring lasts forever;
Without candles or lamps, night shines of itself.

Song Tao rode home. The moment he crossed his threshold, it was like waking from a dream.

He had been dead for three days.

His mother heard a groan from inside the coffin. She pried it open. It took half a day before Song Tao could speak.

He made inquiries about Longshan. Yes — there had been a Zhang scholar there. He had died on that very same day.

Nine years later, Song Tao's mother passed away. After the funeral rites, Song Tao washed himself, entered his room, and died peacefully.

His father-in-law lived on the western side of the city. One afternoon he looked up to see Song Tao arriving in an official's carriage, wearing golden ornamentation and red bridles, followed by a grand procession. Song Tao bowed once at the hall and left.

The family was bewildered — was he alive? A god? They sent someone to Song Tao's village to ask. He had been dead for some time.


Translator's Reflection

This is the opening tale of Liaozhai Zhiyi — the collection that would eventually grow to nearly five hundred stories and define the Chinese ghost genre for three centuries. Pu Songling began writing it at nineteen, spent decades accumulating stories told by travelers and villagers, and died before it was finished.

What gets me about this story isn't the ghost examination — that premise is strange enough on its own. It's the test question. "One person or two. With intention or without." Eight characters. And Song Tao's answer isn't a philosophical treatise — it's a single, devastating sentence about whether the universe grades on intent or outcome.

"An act of goodness done with intention deserves no reward."

I've been sitting with that line. Because on the surface it sounds generous — reward the heart behind the action, not the result. But read again and it cuts the other way: if you did something good because you wanted the credit, the universe is keeping score. The good you did is still good. But the motivation? Noted.

And the second half — harm done without intent deserves no punishment — that's harder. It asks: if someone makes a terrible mistake with no malice, should they be held to account? The answer here is no. But it also implies the reverse: harm done with intent will be punished, even if it fails.

Where does that leave us? Somewhere complicated. Not the tidy karmic ledger I might have expected from a Qing dynasty moral tale — more like a quiet argument between justice and mercy, played out in the underworld examination hall.

What I also can't stop thinking about: Guan Yu is there. The actual historical general, the war hero who became a god. And he's the one who makes the practical call — let Zhang serve for nine years. No judgment from him about whether the system is fair. Just: here's a solution, let's move.

Zhang's two-line parting poem stuck with me too: "Where there are flowers and wine, spring lasts forever; without candles or lamps, night shines of itself." A scholar who died young, sent to serve as a City God, and his farewell is about finding light in darkness. That hit me harder than I expected.

Next tale: The Haughty Young Man and the Two-Hundred-Year-Old Fox — one of the world's oldest fox spirits has some hard truths about desire. → [Coming soon]


📜 Original Text in Classical Chinese · 文言原文

予姊丈之祖,宋公讳焘,邑廪生。一日,病卧,见吏人持牒,牵白颠马来,云:"请赴试。"公言:"文宗未临,何遽得考?"吏不言,但敦促之。公力疾乘马从去。路甚生疏。至一城郭,如王者都。移时入府廨,宫室壮丽。上坐十余官,都不知何人,惟关壮缪可识。檐下设几、墩各二,先有一秀才坐其末,公便与连肩。几上各有笔札。俄题纸飞下,视之,八字,云:"一人二人,有心无心。"二公文成,呈殿上。公文中有云:"有心为善,虽善不赏;无心为恶,虽恶不罚。"诸神传赞不已。召公上,谕曰:"河南缺一城隍,君称其职。"公方悟,顿首泣曰:"辱膺宠命,何敢多辞?但老母七旬,奉养无人,请得终其天年,惟听录用。"上一帝王像者,即命稽母寿籍。有长须吏,捧册翻阅一过,白:"有阳算九年。"共踌躇间,关帝曰:"不妨令张生摄篆九年,瓜代可也。"乃谓公:"应即赴任,今推仁孝之心,给假九年。及期,当复相召。"又勉励秀才数语。二公稽首并下。秀才握手,送诸郊野,自言长山张某。以诗赠别,都忘其词,中有"有花有酒春常在,无烛无灯夜自明"之句。公既骑,乃别而去。及抵里,豁若梦寤。时卒已三日。母闻棺中呻吟,扶出,半日始能语。问之长山,果有张生,于是日死矣。后九年,母果卒。营葬既毕,浣濯入室而殁。其岳家居城中西门内,忽见公镂膺朱幩,舆马甚众,登其堂,一拜而行。相共惊疑,不知其为神。奔讯乡中,则已殁矣。公有自记小传,惜乱后无存,此其略耳。

Source: 《聊斋志异·卷一·考城隍》 — 蒲松龄 (1640–1715). Public domain. 汉典古籍 zdic.net.

🏛️ Historical Context · 历史背景

About the Author: Pu Songling (蒲松龄, 1640–1715)

Pu Songling took the imperial civil examination thirty-one times without passing beyond the provincial level. He spent most of his life as a village schoolteacher and private tutor, scraping by on modest fees. He began collecting strange tales from travelers who stopped at his village teahouse, eventually assembling nearly five hundred stories under the title Liaozhai Zhiyi ("Strange Tales from a Chinese Studio"). The collection was never published in his lifetime. It circulated in manuscript form among friends and eventually reached print in the 1760s, decades after his death.

Why This Is Tale One

Liaozhai was compiled over decades, and its arrangement varied across manuscripts. But "Examination of the City God" appears first in nearly every edition, including Pu Songling's original draft. Scholars read it as the author's statement of purpose: a tale about the帘 (帘) — the moral logic of the universe, where good intentions and good outcomes are weighed separately, and where even death cannot void a filial promise.

The Underworld Examination Hall

The idea of the dead taking civil service examinations reflects Song dynasty and Ming dynasty folk religion's systematization of the afterlife. Underworld bureaucracy became a mirror of the living bureaucracy — with the same ranks, the same procedures, and the same examination culture that defined the lives of ambitious men like Pu Songling. For a man who failed thirty-one examinations, writing a story where his protagonist passes the death-version test might have been its own small consolation.

  1. Guan Yu (关羽, 160–220 CE) was a Three Kingdoms general who served Liu Bei. After his death he was deified, accumulating titles over centuries until he became one of the most revered gods in the Chinese pantheon — a guardian of justice, wealth, and the scholarly examination system. In the underworld bureaucracy of folk religion, he serves as a divine judge.

🍵 Tip