梁师成
Historical portrait of Liang Shicheng
Image credits张居正 · Public domainImage source

Historical figure

Liang Shicheng (梁师成)

梁师成

Liang Shicheng (梁师成, died 1126), courtesy name Shoudao, was an infamous powerful eunuch and dominant courtier of the late Northern Song Dynasty, designated by contemporary public opinion as one of the notorious "Six Bandits" of the reign of Emperor Huizong. Cunning and well-versed in bureaucratic regulations and clerical procedure, he initially served in the Bureau of Calligraphy under the eunuch Jia Xiang. Following Jia's…

Era not stated

PROFILE

Liang Shicheng (梁师成, died 1126), courtesy name Shoudao, was an infamous powerful eunuch and dominant courtier of the late Northern Song Dynasty, designated by contemporary public opinion as one of the notorious "Six Bandits" of the reign of Emperor Huizong. Cunning and well-versed in bureaucratic regulations and clerical procedure, he initially served in the Bureau of Calligraphy under the eunuch Jia Xiang. Following Jia's death, Liang Shicheng was appointed to manage the External Document Archive of the Ruisidian Pavilion, where he was tasked with transmitting imperial decrees to the outer bureaucracy. During the Zhenghe era, he gained the doting favor of Emperor Huizong, secretly inserted his own name into the imperial examination register of Jinshi graduates, and was progressively elevated to Surveillance Commissioner of Jinzhou and Junior Commissioner of Xingde. For supervising the construction of the imperial Mingtang ceremonial hall, he was elevated to military commissioner, ultimately attaining the supreme ranks of Grand Preceptor, Grand Marshal, Opening Office Equal to the Three Excellencies, and Grand Guardian of the Crown Prince, holding concurrent control over dozens of palace offices. Adept at indulging Emperor Huizong's obsessions with Daoist rituals, ornate prose, and auspicious omens, Liang Shicheng selected skilled palace scribes to forge the emperor's signature "Slender Gold" calligraphy, counterfeiting imperial edicts and mixing them with authentic decrees so skillfully that court ministers could not distinguish them. He cultivated a cultured persona, claiming to be an unacknowledged son of the literary giant Su Shi; exploiting this fabrication, he persuaded Emperor Huizong to lift the dynastic ban on Su Shi's poetry and essays, thereby preventing their wholesale destruction. He displayed valuable paintings and antique scrolls in his outer residence, inviting literati to view them and promoting those whose colophons pleased him; Grand Councilor Wang Fu treated him as an adopted father, and even Cai Jing and his sons flattered him obsequiously, leading the capital populace to dub him the "Invisible Chancellor." During the Xuanhe era, Liang Shicheng supported Wang Fu's fateful campaign to conquer the Sixteen Prefectures of Yan-Yun in alliance with the Jin dynasty, being created Grand Guardian of the Crown Prince for the nominal victory; he took immense bribes, manipulated palace examination rankings, and defended eunuch Li Yan's predatory land confiscations in Henan and Shandong. During the late reign of Huizong, when Prince of Yun Zhao Kai plotted to seize the succession, Liang Shicheng exerted his influence to protect Crown Prince Zhao Huan. Following the accession of Emperor Qinzong in 1126, imperial academy student Chen Dong and scholar Zhang Bing denounced him as one of the chief culprits of the Six Bandits, comparing him to the Tang dynasty usurper Li Fuguang. Intimidated by the public outcry, Emperor Qinzong feigned dispatching him on a diplomatic mission to the Jin camp, detained him at the Secretariat, and stripped him of his offices. While being escorted under guard to exile, he was strangled to death by Kaifeng runners at Bajiao Town, his death reported as a sudden illness and his massive fortunes confiscated. Liang Shicheng's two decades of despotic manipulation undermined the administrative integrity of the Northern Song, accelerating the dynastic collapse of the Jingkang Incident.

Courtesy Name
Shoudao (守道)
Date of Death
1126 (1st year of the Jingkang era, Northern Song)
Highest Office
Grand Marshal, Opening Office Equal to the Three Excellencies, Grand Guardian of the Crown Prince, Grand Preceptor, Military Commissioner of Huainan
Primary Identity
Powerful eunuch under Emperor Huizong of Song, eunuch leader, one of the Six Bandits of Northern Song

LIFE TIMELINE

Palace Calligraphy Bureau

Served under eunuch Jia Xiang; appointed to oversee the Ruisidian External Archive after Jia's death.

Fabricated Examination Record

Gained Huizong's favor and inserted his name into the Jinshi register; rose to Surveillance Commissioner of Jinzhou.

Constructing the Mingtang

Supervised the construction of the Mingtang; rewarded with appointment as military commissioner and Daoist temple supervisor.

The Invisible Chancellor

Promoted to Grand Marshal and Opening Office Equal to the Three Excellencies; Wang Fu treated him as an adopted father.

Supporting the Yan Campaign

Endorsed Wang Fu's alliance with the Jin to conquer Yan-Yun; elevated to Grand Guardian of the Crown Prince.

Manipulating the Examinations

Took massive bribes to grant candidates palace exam entry; manipulated rankings directly before the emperor.

Protecting the Crown Prince

Protected Crown Prince Zhao Huan against Prince Zhao Kai's succession intrigues; clashed with Zhu Mian.

Remaining in the Capital

As Huizong abdicated and fled south, Liang Shicheng remained in Bianzhou to serve Qinzong, guarding the monarch constantly.

Denunciation and Execution

Denounced as one of the Six Bandits by Chen Dong; lured to the Secretariat, arrested, and strangled at Bajiao Town.

Relationship graph

BIOGRAPHY

Biography

Early Palace Career and Control of Imperial Decrees

Liang Shicheng, courtesy name Shoudao, had origins that remain obscure in standard historical records. Naturally cunning, quick-witted, and thoroughly versed in bureaucratic drafting and legal precedents, he possessed a basic command of literature and calligraphy. In his early years following castration and entrance into the palace, he was assigned to the Bureau of Calligraphy under Jia Xiang, an intimate eunuch confidant of Emperor Huizong, where he handled copying, cataloging, and administrative clerical duties.

Following Jia Xiang's death during the Chongning era, Liang Shicheng exploited his bureaucratic fluency and shrewd perception to win appointment as supervisor of the External Document Archive of the Ruisidian Pavilion. The Ruisidian was Emperor Huizong's personal palace sanctuary for appraising antiquities, examining calligraphic masterpieces, and consulting historical texts; controlling its external archive placed Liang Shicheng in direct proximity to the sovereign, giving him exclusive oversight of the transmission of imperial verbal orders and written decrees to the outer government.

During the Zhenghe era, as Emperor Huizong immersed himself in Daoist spectacles, music, and courtly panegyrics, Liang Shicheng flattered the emperor's vanity, securing unprecedented imperial affection. To elevate his social standing above that of ordinary menials, he manipulated palace records to surreptitiously insert his own name into the official register of Jinshi degree recipients, brazenly boasting of himself as an examination graduate. In rapid succession, he was appointed Surveillance Commissioner of Jinzhou and Junior Commissioner of Xingde.

When Emperor Huizong initiated the construction of the monumental Mingtang ceremonial hall in the capital, Liang Shicheng was appointed Imperial Director of Works to oversee the project. Upon the completion of the structure, Huizong elevated him to military commissioner and appointed him director of the Zhongtai'i and Shenxiao Daoist temples. Over the following years, he served as military commissioner of Huguo, Zhendong, and Hedong, was created Grand Preceptor, and was appointed Grand Marshal, Opening Office Equal to the Three Excellencies, and Military Commissioner of Huainan, attaining the highest echelon of court honors.

Counterfeiting the Imperial "Slender Gold" Script

During this period, the Northern Song Empire enjoyed superficial domestic tranquility, and Emperor Huizong devoted his attention to ritual innovations, artistic patronage, and Daoist omens. Liang Shicheng catered to these pursuits, exploiting every opportunity to extract further titles and wealth. Although the emperor initially viewed him as a domestic servant, he noticed his literary aptitude and retained him inside the palace pavilions to manage imperial documents.

Gradually, nearly all imperial decrees, edicts, and secret instructions issued from the inner palace were drafted directly by Liang Shicheng. Harboring sinister ambitions, he selected talented scribes from the palace bureaucracy and instructed them to meticulously imitate Emperor Huizong's distinctive "Slender Gold" calligraphic hand.

In drafting imperial edicts, Liang Shicheng routinely inserted his personal decisions, promotions, and demotions into the forged decrees, issuing them under the guise of direct imperial commands. High ministers in the outer government, seeing the sovereign's unmistakable calligraphic style, carried out the instructions without question, unable to detect the fraud. Through this calculated deception, Liang Shicheng usurped the imperial prerogative, manipulating state governance according to his personal whim.

Pretensions of Literati Heritage and the "Invisible Chancellor"

Although Liang Shicheng possessed little genuine literary talent, he was obsessed with projecting a cultured persona. To elevate his lineage, he fabricated a scandalous claim, declaring that he was an unacknowledged son of the literary master Su Shi, conceived by a domestic maidservant whom Su had transferred to a Liang family acquaintance prior to his southern exile.

During the Chongning and Daguan eras, Chancellor Cai Jing had enforced the "Yuanyou Partisan Proscription," placing a total ban on the recitation, publication, or possession of writings by Su Shi and Su Zhe, resulting in the widespread destruction of their works. Liang Shicheng took advantage of an audience with Huizong to lament with tears: "What crime did my late father commit that his writings should be completely annihilated from the human realm?" Moved by his plea, Huizong gradually relaxed the prohibition, allowing the works of the Three Su masters to circulate publicly once more. When Su Shi's youngest son Su Guo visited the capital, Liang Shicheng welcomed him as a brother and instructed his treasury to disburse up to ten thousand strings of cash to Su Guo without requiring prior approval.

Adopting the role of a patron of high culture, Liang Shicheng gathered eminent literati and scholars into his personal retinue. He furnished the outer halls of his private mansion with valuable ancient scrolls and calligraphic works, inviting guests to examine them. Whenever a guest composed an insightful colophon that pleased his vanity, Liang Shicheng secretly sponsored the author's official career. Many courtiers and attendants owed their rapid promotions entirely to flattering inscriptions left upon Liang's paintings.

Grand Councilor Wang Fu treated Liang Shicheng with filial deference, addressing him openly as his "benefactor father," while even Cai Jing and his son Cai You courted his goodwill with servile flattery. Residents of Bianzhou and officials of the bureaucracy openly referred to him as the "Invisible Chancellor," recognizing that his authority eclipsed that of the civil grand councilors. He held concurrent leadership over more than a hundred palace departments and imperial commissions, concentrating unprecedented influence in his hands.

The Yan Campaign and Corrupting the Examination System

In 1120, Chancellor Wang Fu proposed an alliance with the rising Jurchen Jin dynasty to launch a military campaign against the Liao Empire to reclaim the Sixteen Prefectures of Yan-Yun. Although Liang Shicheng initially hesitated due to military unpreparedness, he ultimately endorsed the venture to share in the military glory, recommending eunuch commander Tan Zhen as pacification commissioner to lead the expedition.

Following the capture of the abandoned city of Yanshan through massive monetary payoffs to the Jin, the court celebrated the campaign as a triumph, and Liang Shicheng was created Grand Guardian of the Crown Prince. Flush with influence, he engaged in flagrant corruption, soliciting bribes from aspiring candidates across the empire. Wealthy merchants and scholars who contributed millions of cash were permitted to participate in palace examinations under the pretense of presenting congratulatory essays to the emperor.

During the solemn ceremony in which palace examination results were proclaimed before the throne, Liang Shicheng stood beside the emperor, whispering into his ear to alter the rankings of examinees at will. Even his menial servant Chu Hong was awarded a high Jinshi degree through this manipulation, though he continued to perform menial household chores in Liang's mansion, completely debasing the prestige of the civil service examinations.

Concurrently, eunuch Li Yan established the "Western City Office" to confiscate private agricultural lands across Henan and Shandong, causing widespread popular distress. When Li Yan visited regional circuits, he sat arrogantly in government halls while provincial governors bowed before him. When an official attempted to report Li Yan's predatory extortions to Emperor Huizong, Liang Shicheng, who was standing nearby, shouted: "Although the servants of the Son of Heaven are humble, their court precedence ranks above regional lords; how could this be treated as an offense!" Intimidated by his fury, the remonstrating official fell silent. Though outwardly quiet and slow of speech, Liang Shicheng was deeply malevolent, striking down rivals with ruthless efficiency whenever opportunity arose.

Protecting the Succession and Downfall at Bajiao Town

Liang Shicheng resided in an opulent estate directly adjacent to Chancellor Wang Fu's residence, with private gates connecting the two compounds. During an unannounced visit to Wang Fu's residence, Emperor Huizong was outraged to discover the intimate commingling of the two households, viewing it as dangerous collusion between the inner and outer courts. Seizing the opportunity, imperial supplier Zhu Mian, who was feuding with Wang Fu over palace commissions, attacked Wang Fu's corruption. Huizong dismissed Wang Fu from the grand councilorship, and Liang Shicheng's standing began to decline.

Amid the succession rivalries of Huizong's sons, Prince of Yun Zhao Kai enjoyed the emperor's favoritism and plotted to displace Crown Prince Zhao Huan. Having lost his alliance with Wang Fu, Liang Shicheng threw his support behind the crown prince, using his remaining influence in the inner palace to defend Zhao Huan and foil the prince's intrigues.

In the winter of 1125, Jurchen armies swept southward toward the Yellow River. Terrified, Emperor Huizong abdicated the throne to Crown Prince Zhao Huan (Emperor Qinzong) and fled southward to the Yangtze region. Most of the disgraced courtiers, including Tong Guan, Cai You, and Zhu Mian, accompanied the retired emperor, but Liang Shicheng chose to remain in the capital, relying on his past support of Qinzong to secure his position.

Following Qinzong's accession, public outrage erupted. Imperial Academy student leader Chen Dong and scholar Zhang Bing submitted petitions denouncing Liang Shicheng as one of the notorious "Six Bandits," comparing him to the Tang dynasty eunuch usurper Li Fuguang and demanding his execution for corrupting the dynasty. Emperor Qinzong sought to appease the public, but Liang Shicheng, sensing his peril, remained glued to the emperor's side day and night, even waiting outside the privy whenever the emperor used it.

In the first month of 1126, diplomat Zheng Wangzhi returned from peace negotiations at the Jin camp. Emperor Qinzong devised a ruse, ordering Liang Shicheng and Zheng Wangzhi to escort imperial treasures to the Jin lines as tribute. Before departure, Qinzong secretly instructed Zheng Wangzhi to alert Grand Councilor Wu Min at the Secretariat. The moment Liang Shicheng entered the Secretariat, waiting guards seized and detained him. Emperor Qinzong immediately issued an edict stripping him of his titles and banishing him as Vice Commissioner of Zhanghua.

While being escorted out of the capital by Kaifeng runners, the party halted at the post station of Bajiao Town in Xiangfu County. Acting on secret imperial instructions, the runners seized Liang Shicheng's sash and strangled him to death. The officials reported to the throne that he had died of sudden illness, and the government confiscated his enormous household fortune. Thus ended the life of the "Invisible Chancellor," whose greed and political fraud hastened the catastrophe of the Northern Song.

Major Achievements

Usurpation of Imperial Decrees and Forging the "Slender Gold" Script

Liang Shicheng established an unprecedented mechanism of inner-court despotism by systematically forging imperial decrees. Taking advantage of Emperor Huizong's reluctance to manage routine governance, he monopolized the Ruisidian External Archive to control all written communications between the inner court and the outer ministries.

By training palace scribes to counterfeit Emperor Huizong's signature "Slender Gold" calligraphy, he produced forged imperial edicts that were indistinguishable from genuine ones. He intermingled his personal directives with authentic decrees, issuing arbitrary promotions, demotions, and policy changes under the sovereign's name. This brazen manipulation neutralized the institutional checks of the Secretariat and Department of State Affairs, subordinating the central administration to eunuch despotism.

Creation of the "Invisible Chancellor" Patronage Network

Liang Shicheng represented a unique model of eunuch domination that synthesized political corruption with cultural pretension. Claiming descent from Su Shi, he departed from the historic pattern of eunuch hostility toward literati, establishing himself as an ostensible patron of the arts.

He utilized his private collection of paintings and calligraphy to construct an expansive network of clients among civil officials. Grand Councilor Wang Fu served him with filial devotion, addressing him as "benefactor father," while Chancellor Cai Jing and his sons deferred to him. By controlling over a hundred palace offices, he earned the popular title of "Invisible Chancellor," fundamentally corrupting the moral integrity and political independence of the late Northern Song bureaucracy.

Preservation of the Literary Works of Su Shi

The sole historical action of Liang Shicheng that produced an enduring positive cultural benefit was his intervention to lift the dynastic ban on the writings of Su Shi and Su Zhe. Under Cai Jing's partisan purges, the works of the Three Su masters had been condemned, resulting in the destruction of woodblocks and manuscripts across the empire.

Driven by his self-serving claim of being Su Shi's unacknowledged son, Liang Shicheng petitioned Emperor Huizong to rescind the ban, arguing that Su Shi's literary legacy was innocent of treason. His plea persuaded the court to allow the reprinting and circulation of Su Shi's works, while he extended financial patronage to Su Shi's surviving son, Su Guo. While motivated by personal vanity, this action inadvertently safeguarded one of the greatest literary heritages of Chinese civilization.

Advocacy of the Yan Campaign and Dynastic Calamity

The decision to ally with the Jin dynasty to conquer the Sixteen Prefectures of Yan-Yun was the catastrophic strategic mistake that doomed the Northern Song. To claim military prestige and rival Wang Fu, Liang Shicheng actively endorsed the campaign within the palace.

He backed the offensive and secured the appointment of his eunuch ally Tan Zhen as supreme field commander. The subsequent military failures exposed the terminal weakness of the Song armies, inviting the Jurchen invasions that culminated in the fall of Kaifeng. For his role in promoting this disastrous policy, Liang Shicheng was rewarded with the title of Grand Guardian of the Crown Prince, cementing his status as an architect of national ruin.

Destruction of Examination Integrity Through Bribery

Liang Shicheng transformed the imperial civil service examination system into an open marketplace for personal enrichment. Leveraging his position as personal attendant to the emperor during palace examinations, he extorted millions of cash from wealthy aspirants in exchange for examination access.

During the final ranking ceremonies in the Chongzheng Hall, he whispered directives to the sovereign to elevate his clients and demote meritorious scholars, even securing a high Jinshi degree for his menial servant Chu Hong. This flagrant commercialization of official degrees demoralized the intellectual class and accelerated the collapse of the imperial administration.

The Historical Verdict of the "Six Bandits"

Public consensus in late Northern Song identified Liang Shicheng as one of the chief perpetrators of dynastic ruin, grouping him alongside Cai Jing, Tong Guan, Wang Fu, Zhu Mian, and Li Yan as the "Six Bandits." Student leader Chen Dong condemned him as the insidious plotter operating behind the scenes, while scholar Zhang Bing likened him to the infamous Tang eunuch Li Fuguang.

His summary arrest and secret execution at Bajiao Town in 1126 represented the final reckoning of an outraged populace against a corrupt favorite. His death marked the ignominious end of a court manipulator who sacrificed the survival of an empire for personal power, leaving an indelible record of infamy in the History of Song.

Relationships

  • Imperial Masters Served: Emperor Huizong of Song (lavished trust and administrative authority upon him); Emperor Qinzong of Song (protected by Liang as crown prince, but ordered his execution at Bajiao Town upon ascending the throne)
  • Early Mentor: Jia Xiang (chief eunuch of the Bureau of Calligraphy, whom Liang Shicheng initially served)
  • Grand Councilor Client: Wang Fu (Grand Councilor, one of the Six Bandits, who addressed Liang as father and patron)
  • Outer Court Allies: Cai Jing (Grand Councilor, leader of the Six Bandits, who flattered Liang); Cai You (eldest son of Cai Jing, who cultivated Liang's favor)
  • Inner Court Rivals and Bandits: Tong Guan (eunuch grand commander, one of the Six Bandits); Li Yan (eunuch commissioner of land confiscation, defended in court by Liang); Zhu Mian (imperial collector, one of the Six Bandits, whose rivalry with Wang Fu contributed to Liang's downfall)
  • Military Protege: Tan Zhen (eunuch general recommended by Liang to command the Yan campaign)
  • Claimed Paternal Relation: Su Shi (great Northern Song literatus whom Liang claimed as his biological father to lift bans on his writings); Su Guo (youngest son of Su Shi, received financial support from Liang)
  • Household Menial Elevated: Chu Hong (servant in Liang's mansion awarded a Jinshi degree through Liang's influence)
  • Impeaching Petitioners: Chen Dong (imperial academy student leader who submitted memorials demanding the execution of the Six Bandits); Zhang Bing (scholar who compared Liang to Li Fuguang)
  • Arrest Intermediaries: Zheng Wangzhi (diplomatic colleague used by Qinzong to lure Liang into custody); Wu Min (Grand Councilor who detained Liang at the Secretariat)

Historical Evaluation

  1. History of Song: "Liang Shicheng was cunning and well-versed in legal documents, possessing a modest knowledge of literature. He selected skilled scribes to imitate the emperor's calligraphy, issuing forged edicts that the outer court could not distinguish. Though incapable of real prose, he boasted of his learning and claimed to be Su Shi's unacknowledged son. The populace of the capital called him the 'Invisible Chancellor,' and he controlled over a hundred offices. Outwardly slow of speech, he was deeply treacherous, striking down opponents whenever opportunity arose."
  2. Chen Dong: "In the present crisis, Cai Jing sowed corruption from the front, while Liang Shicheng plotted treachery from behind. Li Yan incurred hatred in the northwest, Zhu Mian incited fury in the southeast, and Wang Fu and Tong Guan invited disaster along the Liao and Jin borders, provoking foreign invasion. The Six Bandits must be executed and their severed heads displayed across the realm to atone before heaven!"
  3. Zhang Bing: "Liang Shicheng is cunning and perilous, monopolizing imperial authority and colluding with outer courtiers. His power mirrors that of Li Fuguang under the Tang; if he is not eliminated immediately, treason will strike in the morning and evening."
  4. Yu Yingqiu: "Directing the military bureau from without and participating in governance from within, exploiting scholars to advance his wickedness and usurping literary fame to sell his deceit, pandering to the emperor's every whim and promoting extravagance to corrupt the sovereign's heart—in these sins, Cai You and Liang Shicheng were equally guilty."
  5. Shen Defu: "When palace eunuchs attained power, they acted without restraint. Just as Liang Shicheng claimed Su Dongpo as his father, Tong Guan claimed Wang Yuyu. Yet remarkably, the descendants of Su and Wang benefited from this influence, and both masters were rehabilitated through their efforts—a truly bizarre episode of history."

Related Entries

  • Emperor Huizong of Song
  • Six Bandits of Northern Song
  • Wang Fu
  • Cai Jing
  • Su Shi
  • Slender Gold Script
  • Jingkang Incident
  • Chen Dong

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • History of Song, Volume 468, Biographies 227, Eunuchs 3: Biography of Liang Shicheng
  • Dongdu Shilüe, Volume 121: Biography of Wang Fu (Appendix: Liang Shicheng)
  • Collected Records of Northern Alliances under Three Reigns, Volumes 26, 30, 33
  • Qidong Yeyu, Volume 8: Chronicle of Red and Black
  • Wanli Yehuobian, Volume 6