李公佐
李公佐
Image creditsCHISTImage source

Historical figure

Li Gongzuo (李公佐)

李公佐

Li Gongzuo (李公佐, ca. 770 – ca. 850), courtesy name Zhuanmeng, was a native of Longxi Commandery (present-day Lintao County, Gansu). He was an illustrious prose writer and master of classical short fiction during the mid-to-late Tang Dynasty, universally recognized as a foundational architect of the Tang legendary tale. Possessing refined literary imagination and a passionate curiosity for antiquities and folk anomalies, Li…

Era not stated

PROFILE

Li Gongzuo (李公佐, ca. 770 – ca. 850), courtesy name Zhuanmeng, was a native of Longxi Commandery (present-day Lintao County, Gansu). He was an illustrious prose writer and master of classical short fiction during the mid-to-late Tang Dynasty, universally recognized as a foundational architect of the Tang legendary tale. Possessing refined literary imagination and a passionate curiosity for antiquities and folk anomalies, Li Gongzuo passed the imperial examinations as an Advanced Scholar in his youth. However, due to aristocratic dominance of the civil selection system, his political career remained stalled, and he spent the greater part of his adult life wandering as a retainer in provincial circuit secretariats across southern China. Between the Zhenyuan era of Emperor Dezong and the Yuanhe era of Emperor Xianzong, Li Gongzuo traveled extensively through Dongting Lake, the Xiang River, Mount Lu, and Jinling, associating intimately with literary luminaries such as Bai Xingjian, Yang Heng, and Liu Yuxi. Immersing himself in local culture, he transformed oral legends into classical masterpieces marked by ornate parallel prose and intricate narrative architecture. His crowning masterpiece, The Governor of Nanke, deployed dream allegory to satirize political vanity by revealing an imperial career within an anthill under a locust tree, originating the famous Chinese idiom A Dream of Southern Bough. His Biography of Xie Xiao'e portrayed a heroic woman who disguised herself as a man to avenge her slain family, establishing the paradigm for Chinese righteous chivalric fiction. His Ancient Classic of Mountains and Rivers recorded the mythical subjugation of the aquatic ape demon Wuzhiqi by Great Yu, providing an essential cultural prototype for Sun Wukong in Journey to the West. In his later years, Li Gongzuo served as Administrative Assistant in the Yangzhou headquarters of Military Commissioner Li Shen. He was subsequently implicated in the political purges surrounding the Wu Xiang affair and stripped of his ranks. Highly praised throughout the Song and Ming eras as a supreme master of classical narrative, his works profoundly shaped Chinese drama, vernacular storytelling, and Edo Japanese literature.

Courtesy Name
Zhuanmeng (颛蒙)
Ancestral Home
Longxi Commandery (present-day Lintao County, Gansu)
Highest Office
Administrative Assistant of Yangzhou, Circuit Patrol Officer
Major Offices
Investigating Appraiser of Jiangnan West Circuit, Circuit Staff Secretary, Administrative Assistant of Yangzhou
Accurate Identity
Celebrated classical novella writer, pioneer of legendary tales, and literary master of the mid-to-late Tang Dynasty

LIFE TIMELINE

Wandering in Southern Waters

Traveled to the Xiang River region after failing civil selections, meeting Yang Heng to collect mountain lore.

Authoring the Nanke Allegory

Composed his legendary masterpiece The Governor of Nanke, satirizing the transient vanity of bureaucratic ambition.

Inspiring Bai Xingjian

Met writer Bai Xingjian in Jiangling and related the tale of Courtesan Li Wa, inspiring the creation of The Tale of Li Wa.

Nocturnal Tales at Jingzhou

Gathered with Gao Yue and fellow scholars at a post station in Jingzhou, composing The Tale of Old Woman Feng of Lujiang.

Investigating Ancient Waters

Explored Jinling and investigated ancient river relics, authoring The Ancient Classic of Mountains and Rivers.

Encountering the Avenging Maiden

Met the disguised avenger Xie Xiao'e at an inn in Jian'an, successfully deciphering the dream riddles revealing the murderers.

Recording the Heroic Biography

Resided at Waguan Monastery in Jinling, completing the celebrated narrative Biography of Xie Xiao'e to commemorate her virtue.

Circuit Service at Yangzhou

Recruited by Huainan Military Commissioner Li Shen to serve as Administrative Assistant of Yangzhou.

Implication in Court Purges

Implicated in the factional trials of the Wu Xiang case, stripped of two official titles, and retired into provincial obscurity.

Passing Away in Jianghuai

Passed away around this time in southern exile, leaving behind timeless tales that inspired Ming and Qing drama.

Relationship graph

BIOGRAPHY

Biography

Aristocratic Lineage and Southern Peregrinations

Li Gongzuo belonged to the prestigious Longxi Li lineage, growing up steeped in classical Confucian literature, local gazetteers, and Six Dynasties anomaly records. In the early Zhenyuan era, he traveled to the capital to sit for the imperial examinations and passed as an Advanced Scholar. However, because high ministerial appointments were monopolized by entrenched aristocratic cliques, he failed to obtain an immediate posting through the Ministry of Personnel. Disillusioned by court sycophancy, he abandoned the capital to explore China's sacred waterways and historic landscapes.

In the thirteenth year of the Zhenyuan era (797), Li Gongzuo journeyed south across Dongting Lake, sailing along the Xiang River to Mount Jiuyi and the ancient mausoleum of Emperor Shun. During this river passage, he encountered Yang Heng, an imperial staff officer who had been demoted to the southern frontiers. Mooring their boats alongside an abandoned monastery beneath the moonlit sky, the two young scholars spent nights discussing provincial legends, celestial omens, and supernatural spirits. Yang Heng shared numerous ancient Yue folk traditions, providing immense narrative inspiration for Li Gongzuo's future fiction.

Over the ensuing decade, Li Gongzuo traveled through the Wu, Yue, Chu, and Jianghuai regions, cultivating friendships across all social strata. In the twenty-first year of the Zhenyuan era (805), he crossed paths with Bai Xingjian, younger brother of celebrated poet Bai Juyi, in Jiangling. The two writers formed an immediate bond, wandering through local shrines together. During their conversations, Li Gongzuo recounted the romance between scholar Zheng and courtesan Li Wa that he had observed in Changan, urging Bai Xingjian to compose it as a formal novella, which culminated in the legendary Tale of Li Wa.

Circuit Administration and Nocturnal Gatherings

In the early Yuanhe era of Emperor Xianzong, Li Gongzuo entered provincial administrative service, receiving an appointment as Investigating Appraiser in the Jiangnan West Circuit. In this judicial role, he traveled between Yuzhang, Jiangzhou, Fuzhou, and Hongzhou to audit official documents. Throughout his official travels, he carried paper and ink, transcribing folklore from local elders and river sailors.

In the sixth year of the Yuanhe era (811), having completed a duty tour to the capital, Li Gongzuo stopped at a government post house in Jingzhou amid torrential rains. There he encountered three traveling literati, Gao Yue, Zhao Zan, and Yuwen Ding. Gathering around the hearth, the four scholars shared bizarre and inexplicable events from their respective journeys. Gao Yue and his companions recounted the mysterious spiritual transformation of an elderly woman from Lujiang. Fascinated by the tale, Li Gongzuo immediately took up his brush beneath the lamp to write The Tale of Old Woman Feng of Lujiang, demonstrating the collaborative vitality of mid-Tang narrative salons.

In 813, Inspector Cui Peng, who had long patronized Li Gongzuo, died suddenly in office. The staff was disbanded, plunging Li Gongzuo into financial uncertainty. Undaunted, he traveled to Jinling, sailing along the Qinhuai River to reflect on dynastic rise and fall. Hearing local fishermen speak of an immense bronze chain and chained aquatic ape recovered from the Huai River at Mount Gui, he conducted field surveys of the water system, consulted ancient records of Great Yu, and composed the extraordinary mythological treatise The Ancient Classic of Mountains and Rivers.

Deciphering Riddles and Avenging Xie Xiao'e

In the twelfth year of the Yuanhe era (817), while lodging at an inn in Jian'an, Li Gongzuo met an impoverished young woman who introduced herself as Xie Xiao'e. Born to an affluent trading family, her vessel had been ambushed on the Yangtze by river bandits, who slaughtered her father and husband before dumping their bodies into the currents. Severely wounded, Xie Xiao'e barely survived. She described two cryptic dream riddles left by her murdered family: a monkey within a cart with grass east of the gate, and running among grain with a husband for a day. Local magistrates had dismissed the riddles as meaningless delusions.

Drawing upon his profound command of orthography and divination, Li Gongzuo analyzed the glyphs and deciphered the concealed names of the bandit leaders: Shen Zong and Shen Lan. Guided by his analysis, Xie Xiao'e disguised herself as a male laborer, infiltrated the bandit lair, and killed the murderers over years of arduous planning, securing legal retribution.

In the second year of the Dahe era (828), while residing at Waguan Monastery in Jinling after leaving official service, Li Gongzuo met Xie Xiao'e once more, who had entered a Buddhist nunnery. Deeply moved by her unwavering righteousness, Li Gongzuo composed his celebrated Biography of Xie Xiao'e. Celebrating her heroic filial piety while castigating cowardice among high officials, the biography circulated widely, establishing an enduring monument of classical biographical prose.

Late Life Complications and Archival Legacy

In 844, his longtime acquaintance Li Shen was appointed Military Commissioner of Huainan. Respecting Li Gongzuo's literary stature, Li Shen recruited him to Yangzhou as Administrative Assistant to manage legal records. Then in his seventies, Li Gongzuo hoped to spend his twilight years in Yangzhou, but was drawn into the factional vortex of the Niu-Li party struggles.

In 845, the controversial Wu Xiang case erupted in Yangzhou. County Magistrate Wu Xiang was sentenced to death by Li Shen for alleged corruption, though the trial was orchestrated by Li Deyu's faction to crush regional rivals. Following Emperor Xuanzong's accession in 847, the imperial court reviewed the case and reversed the convictions. Because Li Gongzuo had served in the Yangzhou administration during the trial, he was implicated in 848 and stripped of two official titles by imperial decree.

Viewing these political reversals with serene detachment, Li Gongzuo retired to the waterways of Jianghuai. He passed away in peace around the fourth year of the Dazhong era (850).

Major Achievements

Pioneer of Dream Allegory in The Governor of Nanke

Li Gongzuo's supreme literary achievement was the composition of The Governor of Nanke. The story recounts how Chunyu Fen, sleeping intoxicated beneath a majestic locust tree, dreams he enters the Kingdom of the Great Locust, where he marries a royal princess and governs Nanke Commandery for twenty prosperous years. Following military invasions and the death of his princess, he is exiled back to the mortal world. Awakening from the dream, he digs beneath the tree and discovers that the vast kingdom was merely a major anthill, with Nanke Commandery occupying a small southern bough. Li Gongzuo deployed brilliant imaginative power to craft a mirrored reality that mocked the ephemeral vanity of aristocratic power, creating an immortal archetype in world literature and originating the proverb A Dream of Southern Bough.

Establishing the Chivalric Heroine in The Biography of Xie Xiao'e

In authoring The Biography of Xie Xiao'e, Li Gongzuo founded the classical tradition of female chivalric revenge in Chinese literature. Breaking from traditional historiography that treated women as mere domestic appendages, he provided a realistic and heroic account of a commoner woman who avenged her slaughtered kin through intelligence and disguise. By weaving dream riddles, forensic deduction, and undercover espionage into the narrative, he created a prototype that directly inspired Ling Mengchu's Ming Dynasty stories and numerous later judicial court-case novels.

Creating the Mythological Prototype of Wuzhiqi

While exploring Jinling, Li Gongzuo authored The Ancient Classic of Mountains and Rivers, recording Great Yu's capture of the Huai River water demon Wuzhiqi at Mount Tongbai. He depicted the creature as having the form of an ape with a flattened nose, high forehead, blue body, white head, golden eyes, and snow-white fangs, possessing the strength of nine elephants. Bound by immense chains beneath Mount Gui, this demonic aquatic ape became the foundational mythological prototype for divine ape heroes in Chinese literature, directly inspiring Wu Cheng'en's portrayal of Sun Wukong in Journey to the West.

Preserving Literary Salons in The Tale of Old Woman Feng

Composed at a Jingzhou relay station in 811, Li Gongzuo's The Tale of Old Woman Feng of Lujiang provided a documentary record of how mid-Tang scholars gathered during regional travels to share anomaly lore. Through refined narrative control, he synthesized supernatural folk beliefs with ethical drama, earning praise from late Tang historian Li Zhao in Supplement to the National History as a definitive exemplar of the flourishing Tang novella.

Personal Relationships

  • Intimate Friend: Bai Xingjian, Tang literary master and younger brother of Bai Juyi, inspired by Li Gongzuo to write The Tale of Li Wa.
  • Literary Peer: Yang Heng, Tang poet and staff officer, who traveled the Xiang River with Li Gongzuo in 797 sharing folk legends.
  • Literary Associate: Gao Yue, Tang scholar, whose nocturnal discussions in Jingzhou led to the creation of The Tale of Old Woman Feng.
  • Early Patron: Cui Peng, Military Inspector of Jiangnan West Circuit, who recruited Li Gongzuo into his regional staff.
  • Late Superior: Li Shen, Tang Chancellor and Military Commissioner of Huainan, who appointed Li Gongzuo as Administrative Assistant in Yangzhou.
  • Historical Protagonist: Xie Xiao'e, celebrated righteous heroine, whose dream riddles were solved by Li Gongzuo, who immortalized her deeds.

Historical Evaluations

  • Li Zhao, Supplement to the National History: "From the Yuanhe era onward, writers competed to produce legendary tales; Li Gongzuo attained supreme renown in Changan and Luoyang with The Governor of Nanke, his enchanting and bizarre prose eagerly transcribed across the realm."
  • Lu Xun, A Brief History of Chinese Fiction: "Li Gongzuo's writings, such as The Governor of Nanke and The Biography of Xie Xiao'e, are marked by vivid style and delicate structure. His account of Chunyu Fen embodies profound allegory, standing as a masterpiece."
  • Chen Yinke, Verification of the Poems of Yuan Zhen and Bai Juyi: "The classical Tang novella reached its zenith under Li Gongzuo and Bai Xingjian. Gongzuo's accounts of the Nanke dream and Xiao'e's retribution display dramatic brilliance far exceeding ordinary imperial historians."
  • Zheng Zhenduo, History of Chinese Literature: "Li Gongzuo was one of the greatest short fiction writers of the Tang Dynasty; his Governor of Nanke established the most magnificent dream symbol in Chinese literature."

Related Entries

  • The Governor of Nanke
  • The Biography of Xie Xiao'e
  • Ancient Classic of Mountains and Rivers
  • Bai Xingjian
  • The Tale of Li Wa
  • Wuzhiqi
  • Tang Dynasty Legendary Tales

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • New Book of Tang, Volume 107, Biographies 32, Treatise on Literature
  • Supplement to the National History, Volume 3
  • Extensive Records of the Taiping Era, Volume 475, Miscellaneous Biographies
  • Extensive Records of the Taiping Era, Volume 468, Spirits and Anomalies