# The Seven Heroes and Five Gallants

The Tale of Loyal Heroes and Righteous Gallants (忠烈俠義傳), also known by its 1883 reprint title The Three Heroes and Five Gallants (三俠五義), is an 1879 Chinese novel based on storyteller Shi Yukun's oral performances. The novel was later revised by philologist Yu Yue and republished in 1889 under the title The Seven Heroes and Five Gallants (七俠五義), with the story essentially unaltered.
Set in 11th-century Song dynasty, the story detailed the rise of legendary judge Bao Zheng to high office, and how a group of youxia (knights-errant)—each with exceptional martial talent and selfless heroism—helped him fight crimes, oppression, corruption and rebellion. It was one of the first novels to merge the gong'an (court-case fiction) and the wuxia (chivalric fiction) genres.
Praised for its humorous narration and vivid characterizations, the novel has enjoyed huge readership: it spawned two dozen sequels by 1924 (according to Lu Xun) and served as the thematic model of allegedly over 100 novels in the late Qing dynasty. Even in the modern era, the tales have been continuously reenacted in popular cultural mediums, including oral storytelling, operas, films and TV dramas.

## Textual evolution
### Shi Yukun's storytelling and transcripts

Shi Yukun was a storyteller who performed in Beijing, the Qing dynasty capital, between 1810 and 1871. He gained particular fame telling the legends of Song dynasty official Bao Zheng (999–1062), also known as Bao Longtu (包龍圖; "Dragon-Pattern Bao"). Shi's performances, accompanied by sanxian (lute) playing, would attract audience of thousands. This story proved so popular that publishing houses and sellers began acquiring hand-written manuscripts to be circulated and sold. One such copy, apparently a transcript of another storyteller's oral narratives, contained this reference of Shi (translated by Susan Blader):
   Let's just take Third Master Shi Yukun as an example. No matter what, I cannot outdo him in storytelling. At present, he no longer makes appearances. But, when he would go to that storytelling hall, he would tell three chapters of a story in one day and collect many tens of strings of cash. Now today his name resounds in the nine cities and there is no one who has not heard of him. I, myself, collect only one or two strings of cash a day for my storytelling, and what can they buy these days?
These early handwritten copies were known as Bao Gong An (包公案; The Cases of Lord Bao) or Longtu Gong'an (龍圖公案; The Cases of Longtu or The Cases of the Lord of the Dragon Pattern), sharing titles with 16th-century Ming dynasty collections. A later version known as Longtu Erlu (龍圖耳錄; Aural Record of Longtu), dating as early as 1867 and without singsong verses and nonsense remarks, was clearly written down from memory by someone who heard Shi's live performances. Another source mentions a Xiang Leting (祥樂亭) and a Wen Liang (文良) who "would every day go and listen to the telling of the story and after returning home together write it down comparing notes." Wen Liang was one of the biggest book collectors in 19th-century Beijing and clearly an elite member of the society.

### The Tale of Loyal Heroes and Righteous Gallants (1879)

Based on Longtu Erlu, the 120-chapter The Tale of Loyal Heroes and Righteous Gallants was printed by a movable type at the Juzhen tang (聚珍堂) in 1879, which caused a sensation in Beijing. Unprecedentedly for a print Chinese novel, the oral storyteller's name Shi Yukun appeared on the title page. The book also included 3 prefaces, written respectively by:
* "Bamboo-Inquiring Master" (問竹主人) who claimed to be the main contributor. He deleted some supernatural parts of Longtu Erlu. Some scholars believe this claim indicated that he was Shi Yukun himself.
* "Captivated Daoist" (入迷道人), most likely a principal writer or editor. He has been identified as Wen Lin (文琳) by some scholars.
* "Thought-Retiring Master" (退思主人), probably the owner of Juzhen tang or someone close.
In an 1883 reprint by Wenya zhai (文雅齋) the novel was renamed to The Three Heroes and Five Gallants, with the "three heroes" being actually four people, namely Zhan Zhao the "Southern Hero", Ouyang Chun the "Northern Hero", and the Ding twins or "Twin Heroes".

### The Seven Heroes and Five Gallants (1889)

Years later, Suzhou-based scholar Yu Yue received the book from his friend Pan Zuyin, president of Qing's Board of Works, who recommended it as "quite worth reading". Initially skeptical, Yu Yue was eventually so fascinated by the novel that he set out to revise it.
A meticulous philologist, Yu ensured that the writing conformed to the highest standards of scholarship. Most of his changes were textual and superficial, including:
* He changed the title to The Seven Heroes and Five Gallants, because he reasoned that the Ding twins being two people could not be considered just one hero. He also considered Ai Hu, Zhi Hua and Shen Zhongyuan "heroes", even though Zhi and Shen do not have the word "hero" in their nicknames.
* He changed a character's name from Yan Chasan (顏查散) to Yan Shenmin (顏眘敏, notice how much the Chinese characters resemble each other) because he found "Chasan" too "uneducated" for someone of a scholar-official background.
The only major change from Yu Yue was that he completely rewrote Chapter 1, which was previously titled "The Crown Prince is Substituted at Birth by a Scheme; the Imperial Concubine Is Rescued by a Heroic and Gallant Martyr" (設陰謀臨產換太子 奮俠義替死救皇娘) and tells of a fictional story that does not follow history. Yu found the story absurd and rewrote the chapter according to the standard history book History of Song, also changing its title to "Basing Official History to Revise Longtu's Crime Cases; Employing Lord Bao to Begin the Whole Book of Heroes and Gallants" (據正史翻龍圖公案 借包公領俠義全書). However, he did not change later chapters which follow up on that substory, resulting in slight inconsistencies.
Despite his pedantry, his revised version, which was published by Shanghai's Guangbaisong zhai (廣百宋齋), became the predominant version throughout China, particularly in South China.

### Later reprints

By the end of the 19th century, the novel was republished at least 13 times.
In the 1920s, Lu Xun considered it necessary to reprint this novel. In a letter to Hu Shih dated December 28, 1923, Lu suggested using the version before Yu Yue's editorship while including Yu's Chapter 1 as an appendix. The reprinting project was undertaken by Yu Yue's great-grandson Yu Pingbo, who nevertheless consulted his great-grandfather's version during his editorship. When East Asia Library (亞東圖書館) published the reprint in 1925, Hu wrote the preface and greatly praised the original. This reprint significantly revived The Three Heroes and Five Gallants version.

## Main characters
### Kaifeng Prefecture

   * Bao Zheng, also known as Judge Bao
   * Gongsun Ce, Judge Bao's secretary
   * Zhan Zhao, one of the Seven Heroes
   * Wang Chao (王朝), Ma Han (馬漢), Zhang Long (張龍), and Zhao Hu (趙虎), the four loyal constables serving Judge Bao.

### The Seven Heroes

   * Ouyang Chun (歐陽春), nicknamed "Northern Hero" (北俠)
   * Zhan Zhao, nicknamed "Southern Hero" (南俠), also known as "Imperial Cat"
   * Ding Zhaolan (丁兆兰) and Ding Zhaohui (丁兆蕙), nicknamed "Twin Heroes" (雙俠)
   * Zhi Hua (智化), nicknamed "Black Demon Fox" (黑妖狐)
   * Ai Hu (艾虎), nicknamed "Young Hero" (小俠). He is also part of the Young Five Gallants.
   * Shen Zhongyuan (沈仲元), nicknamed "Little Zhuge" (小诸葛)

### The Five Gallants / Five Rats

* Lu Fang (卢方), nicknamed "Sky Rat" (鑽天鼠)
* Han Zhang (韩彰), nicknamed "Earth Rat" (徹地鼠)
* Xu Qing (徐庆), nicknamed "Mountain Rat" (穿山鼠)
* Jiang Ping (蒋平), nicknamed "River Rat" (翻江鼠)
* Bai Yutang (白玉堂), nicknamed "Sleek Rat" (锦毛鼠)

### The Young Five Gallants

* Bai Yunsheng (白芸生), nicknamed "Jade-faced Zhuan Zhu" (玉面專諸), Bai Yutang's nephew.
* Lu Zhen (盧珍), nicknamed "Powder-faced" (粉面子都), Lu Zhang's son.
* Han Tianjin (韓天錦), nicknamed "Thunder Ogre" (霹靂鬼) Han Zhang's adopted son.
* Ai Hu, one of the Seven Heroes
* Xu Liang (徐良), nicknamed "Shanxi Goose" (山西雁), Xu Qing's son.

### Other allies

   * Yan Chasan (顏查散) or Yan Chunmin (顏春敏), Judge Bao's protégé
   * The Eighth Prince or Eighth Wise Prince (八王家/八賢王), the emperor's uncle (inspired by Taizong's 8th son Zhao Yuanyan, sometimes given the name Zhao Defang).
   * Prime Minister Wang (王丞相)

### Major antagonists

   * Pang Ji (龐吉), also known as Imperial Tutor Pang (龐太師)
   * Pang Yu (龐昱), the Marquis of Anle (安樂侯), Pang Ji's depraved son
   * Guo Huai (郭槐), evil eunuch who helped Empress Liu to exchange Consort Li's son with a wild cat
   * Hua Chong (花沖), nicknamed "Colorful Butterfly" (花蝴), serial rapist
   * Prince of Xiangyang (襄阳王/襄陽王), the emperor's rebellious uncle. Sometimes known by the name Zhao Jue (趙爵).
   * Deng Che (车盗)
   * Chen Shimei (陳世美)

## Structure

Discussing the plot, researcher Paize Keulemans concluded, "there is no main plot. Rather, the novel's structure consists of a bewildering number of events that defy easy and succinct summary". Still, the novel can be roughly divided into 2 parts, with the first 27 chapters focusing on Bao Zheng and his legal cases (gong'an genre) and the remaining 93 chapters focusing on the heroes and gallants (wuxia genre). Stories from the first part were largely taken from literary and oral traditions and as such contain supernatural materials (what "Bamboo-Inquiring Master", possibly Shi Yukun himself, described as "the occasional strange and bizarre event"). In comparison, the second part exclusively represents Shi's creative genius and is devoid of superstition.

## Sequels and imitators
### The Five Younger Gallants and The Sequel to the Five Younger Gallants

The 1879 novel does not complete by the 120th and final chapter. Instead, in the final page, readers are referred to a sequel book titled The Five Younger Gallants (小五義), which was said to be "close to a hundred chapters". In 1890, a novel with that title was published by another Beijing publisher, Wenguang lou (文光樓). It was edited by Shi Duo (石鐸) and a "Wind-Captivated Daoist" (風迷道人)—calling to mind "Captivated Daoist", the editor of the original novel. None of the "previewed" plotlines at the end of the original appeared in the sequel. The editors did not deny that the two novels had different origins: Shi Duo claimed that their novel was published after acquiring the complete three-hundred-some-chapter "authentic" draft by Shi Yukun, "without begrudging the great cost". According to their draft, which contained three parts, "Wind-Captivated Daoist" believed the 1879 original must have been a fake.
Despite having 124 chapters, the "Copper Net Trap" that the heroes and gallants set out to destroy in the 1879 original was still not destroyed by the end of the book. Instead, the novel ends on a cliff-hanger to entice its readers to purchase the next installment, which was published in 1891 as The Sequel to the Five Younger Gallants (續小五義). Both sequels enjoyed huge readership and were reprinted many times. Lu Xun believed "these works were written by many hands... resulting in numerous inconsistencies."

### Other sequels and imitators

Two alternative sequels to the original novel are:
* The Sequel to the Tale of Heroes and Gallants (續俠義傳), first appeared during Guangxu Emperor's reign (1875–1908).
* The Sequel to the Seven Heroes and Five Gallants (續七俠五義), first published in 1905 by a "Master of Fragrant Grass Building" (香草館主人)
Shi Duo in his preface to The Sequel to the Five Younger Gallants denounced competitors who claimed that they possessed Shi Yukun's story as "shameless crooks". Although The Sequel to the Five Younger Gallants completed the tale, it could not stop enthusiasts and profiteers from writing and publishing more sequels, such as Another Sequel to the Five Younger Gallants (再續小五義), The Third Sequel to the Five Younger Gallants (三續小五義) and many others, with Lu Xun in 1924 counting 24 sequels. An explosion of copycat novels also flooded the market in the last years of the 19th century, assuming similar titles such as
* The Nine Gallants and Eighteen Heroes (九義十八俠)
* The Seven Swordsmen and Thirteen Heroes (七劍十三俠)
* The Eight Elder Gallants (大八義), which was followed by The Eight Younger Gallants (小八義), A Sequel to the Eight Younger Gallants (續小八義), and Another Sequel to the Eight Younger Gallants (再續小八義)
In a 1909 essay, writer Shi An (石菴) lamented the cheapness of such works (as translated by Paize Keulemans):
   From the time The Seven Knights and the Five Gallants appeared, not less than one hundred imitators have followed... At first I could not understand how so much writing of this kind could suddenly appear, but later a friend told me that novels such as these are produced by Shanghai publishers who, seeking petty profits, specially hire half-educated literati to put together such books, all so as to sell them widely. Now such books as these are most suited to find favor with the lower echelons of society, so [the publishers] just change the title a bit and thus produce yet another novel, and as a result a thousand—no, ten thousand—volumes appear. These novels are like the feet of peasant women: they're both long and smelly, filling the streets and avenues, they appear everywhere.
The famous pingshu performer Shan Tianfang also produced a televised radio drama The White-Eyebrow Hero (白眉大侠), which follows the adventure of Xu Liang, one of the main characters from The Five Younger Gallants, and his group of fellow fighters to defeat various evil forces of jianghu outlaws.

## Translations

Two English translations are available:
* The Seven Heroes and Five Gallants. Translated by Song, Shouquan (宋寿泉). Chinese Literature Press. 1997. ISBN 7-5071-0358-7.
* Tales of Magistrate Bao and His Valiant Lieutenants: Selections from Sanxia Wuyi. Translated by Blader, Susan. The Chinese University Press. 1998. ISBN 962-201-775-4.
Song's book is an abridged translation of all 120 chapters. Blader translated roughly a third of the chapters, relatively more faithfully. As Blader used the version before Yu Yue's editorship, Chapter 1 is noticeably different from Song's book.
In addition, two other books contain (largely rewritten) stories from the novel's first 19 chapters:
* Chin, Yin-lien C.; Center, Yetta S.; Ross, Mildred (1992). "The Stone Lion" and Other Chinese Detective Stories: The Wisdom of Lord Bau. M. E. Sharpe. ISBN 0-87332-634-2.
* Hu, Ben (1997). Exchanging a Leopard Cat for a Prince: Famous Trials Conducted by Lord Bao. Translated by Sun, Haichen. Foreign Languages Press. ISBN 7-119-01896-5.
The novel has been translated into other languages, such as Japanese (by Torii Hisayasu), Vietnamese (by Phạm Văn Điều), Malay (by Oey Kim Tiang), Czech (by Olga Lomová), French (by Rébecca Peyrelon), and Russian (by Vladimir A. Panasyuk).

## Themes

The novel places great emphasis on Confucian values, such as yi (righteousness) and ren (altruism), which characterize all heroes and gallants. In Chapter 13, the storyteller added a short commentary on the definition of "hero" (translated by Susan Blader):
   Zhan Zhao is truly a practitioner of good deeds and righteous acts. He feels at ease everywhere. It isn't really that he must eradicate all evils, but once he sees an injustice he cannot leave it alone. It is as though it becomes his own personal affair and that, precisely, is why he is worthy of the name "Hero".
In addition, the novel also champions personal freedom. In Chapter 29, for example, Zhan Zhao confessed (as translated by Song Shouquan): "As to my promotion to the imperial guard, I find it prevents me from doing what I like best and that is travel around enjoying the beauties of nature. Now I'm tied down by officialdom. If it wasn't for the high regard I have for Prime Minister Bao I would have resigned long ago." His "northern" counterpart Ouyang Chun even shunned Bao and other officials altogether, preferring to help the government on his own, even anonymously. In imperial China, when officialdom was particularly prized and coveted, such statements and actions speak volumes of the author's beliefs.
The last 42 chapters focus on the suppression of a fictitious rebellion - or maybe the Wang Ze Buddhist rebellion of 1047-48. The inclusion of this segment conveyed the author's desire for peace and tranquility, as mid-19th century Qing dynasty was ravaged by numerous bloody rebellions, including the Taiping Rebellion, the Nien Rebellion, and the Panthay Rebellion, which together took tens of millions of lives.

## Adaptations
### Storytelling

Chinese masters including Wang Shaotang (1889–1968) and Shan Tianfang (1934–2018) have performed stories from the novel.

### Films

Note: Most of the early films were opera films.
* Redress a Grievance (烏盆記), a 1927 Chinese film.
* Brocaded Mouse (錦毛鼠白玉堂), a 1927 Chinese film.
* Five Mice Make Troubles in Capital (五鼠鬧東京), a 1927 Chinese film.
* The Case of Lost Baby-Prince (狸貓換太子), a 1927 Chinese film.
* Azure-Cloud Palace (碧雲宮), a 1939 Chinese film.
* Breaking Through the Bronze Net (大破銅網陣), a 1939 Hong Kong film.
* Judge Pao vs the Eunuch (狸貓換太子包公夜審郭槐), a 1939 Hong Kong film.
* The Furry Rat (俠盜錦毛鼠), a 1941 Hong Kong film.
* The Haunt of the Eastern Capital (五鼠鬧東京), a 2-part 1948 Hong Kong film.
* The Fight Between the Honourable Cat and Rat (御貓大戰錦毛鼠), a 1948 Hong Kong film.
* The Junior Hero Ngai Fu (小俠艾虎), a 1949 Hong Kong film.
* The Battle Between the Five Rats and the Flowery Butterfly (五鼠大戰花蝴蝶), a 1950 Hong Kong film.
* Solving the Copper-Netted Trap (大破銅網陣), a 1950 Hong Kong film.
* Judge Pao's Night Trial of Kwok Wai (包公夜審郭槐), a 1951 Hong Kong film.
* Judge Pao's Night Trial of the Wicked Kwok Wai (生包公夜審奸郭槐), a 1952 Hong Kong film.
* Adventure of the Five Rats at the Hundred-Flower Tower (五鼠大鬧百花樓), a 1953 Hong Kong film.
* The Burning of Azure-Cloud Palace (火燒碧雲宮), a 1955 Hong Kong film.
* Racoon for a Prince (狸貓換太子), a 1955 Hong Kong film.
* Substituting a Racoon for the Crown Prince (狸貓換太子), a 1958 Hong Kong film.
* Shattering the Copper Net Array (大破銅網陣), a 1959 Hong Kong film.
* Tower of Traps (七俠五義夜探沖霄樓), a 1959 Hong Kong film.
* The Royal Cat and His Opponent (御貓大戰錦毛鼠), a 1963 Hong Kong film.
* The Five Rats' Adventures in the Eastern Capital (五鼠鬧東京), a 1964 Hong Kong film.
* Inside the Forbidden City (宋宮秘史), a 1965 Hong Kong film.
* King Cat (七俠五義), a 1967 Hong Kong film.
* Majesty Cat (南俠展昭), a 1975 Taiwanese film.
* The Wrongly Killed Girl (南俠展昭大破地獄門), a 1976 Taiwanese film.
* House of Traps (沖霄樓), a 1982 Hong Kong film.
* Cat vs Rat (御貓三戲錦毛鼠), a 1982 Hong Kong film.
* The Invincible Constable (御貓愛上錦毛鼠), a 1993 Hong Kong film.
* Love & Sex in Sung Dynasty (宋朝風月), a 1999 Hong Kong film.
* Cat and Mouse (老鼠愛上貓), a 2003 Hong Kong film.
* A Game of Cat and Mouse (包青天之五鼠鬥御貓), a 2005 Chinese film.

### Television series

* The Seven Heroes and Five Gallants (七俠五義), a 1972 Taiwanese TV series.
* The Secret History of the Song Palace (宋宮秘史), a 1974 Taiwanese TV series.
* Justice Pao (包青天), a 1974–1975 Taiwanese TV series.
* The Iron-Faced Judge (鐵面包公), a 1984 Hong Kong TV series.
* Exchanging A Wild Cat for the Crown Prince (狸貓換太子), a 1984 Taiwanese TV series.
* The New Seven Heroes and Five Gallants (新七俠五義), a 1986 Taiwanese TV series.
* Lord Bao (包公), a 1987 Chinese TV series.
* The Three Heroes and Five Gallants (三俠五義), a 1991 Chinese TV series.
* Justice Pao (包青天), a 1993 Taiwanese TV series.
* Conspiracy of the Eunuch (南俠展昭), a 1993 Hong Kong TV series.
* Young Justice Bao (俠義包公), a 1994 Singaporean TV series.
* The Seven Heroes and Five Gallants (七俠五義), a 1994 Taiwanese TV series.
* The Bold and the Chivalrous (俠義見青天), a 1994 Taiwanese TV series.
* Justice Pao (包青天), a 1994 Hong Kong TV series.
* Heroic Legend of the Yang's Family (碧血青天楊家將) and The Great General (碧血青天珍珠旗), two 1994 Hong Kong TV series
* The New Seven Heroes and Five Gallants (新七俠五義), a 1994 Chinese TV series.
* Heavenly Ghost Catcher (天師鍾馗), a 1994–1995 Singaporean TV series. Bao Zheng and related characters appear in the segments "Lord Bao Invites Zhong Kui Thrice" (包公三請鍾馗) and "Meeting Justice Bao Thrice" (三會包青天).
* Justice Pao (包青天), a 1995 Hong Kong TV series produced by TVB.
* Justice Pao (新包青天), a 1995 Hong Kong TV series produced by Asia Television.
* Return of Judge Bao (包公出巡), a 2000 Taiwanese TV series.
* Lord Bao's Life and Death Calamity (包公生死劫), a 2000 Chinese TV series.
* The Young Detective (少年包青天), a 2000–2002 Chinese TV series.
* Justice Pao (壯志凌雲包青天), a 2004 Chinese TV series.
* The New Case of Executing Chen Shimei (新鍘美案), a 2004 Chinese TV series.
* The Song Dynasty Stunning Legend (大宋驚世傳奇), a 2004 Chinese TV series.
* The Top Inkstone in the World (硯道), a 2004 Chinese TV series.
* Struggle for Imperial Power (狸貓換太子傳奇), a 2005 Chinese TV series.
* Bai Yutang (江湖夜雨十年燈—白玉堂), a 2005 Chinese TV series.
* Take Wine to Ask the Sky (把酒問青天), a 2007 Chinese TV series.
* Justice Bao (包青天), a 2008 Chinese TV series.
* The Great Hero Di Qing (大英雄狄青), a 2009 Chinese animation TV series.
* The Black-Faced Great Lord Bao (黑臉大包公), a 2009 Chinese animation TV series.
* Justice Bao (包青天), a 2010–2012 Chinese TV series.
* Qin Xianglian (秦香蓮), a 2011 Chinese TV series.
* Invincible Knights Errant (七俠五義人間道), a 2011 Chinese TV series.
* Female Constable (带刀女捕快), a 2011 Chinese TV series.
* The Legend of Zhong Kui (鍾馗傳說), a 2012 Chinese TV series. Zhan Zhao appears in the segment "Ruthlessly Executing Demons" (除魔無情斬).
* Sleek Rat, the Challenger (白玉堂之局外局), a 2013 Chinese TV series.
* Always and Ever (情逆三世緣), a 2013 Hong Kong TV series.
* Detective Judge (神探包青天), a 2015 Chinese TV series.
* The Tiger Guillotine (虎頭鍘), a 2015 Chinese TV series.
* The Three Heroes and Five Gallants (五鼠鬧東京), an upcoming Chinese TV series.
* Hot and Spicy Bai Yutang (麻辣白玉堂), an upcoming Chinese TV series.
* Legends of Bai Yutang's Crime Cases (白玉堂探案傳奇), an upcoming Chinese TV series.
* Kaifeng Tribunal (開封府), an upcoming Chinese TV series.
In addition, two TV series set in the Qing dynasty imagined how the novel was created:
* The Strange Cases of Lord Shih (施公奇案), a 1997 Taiwanese TV series. Case 11, "Odd Happenings in Examination Halls" (考場怪譚) stars Hou Kuan-chun as Shi Yukun.
* Thirteen Sons of Heaven Bridge (天橋十三郎), a 2004 Chinese TV series, starring Xu Zheng as Shi Yukun.