Life
Hereditary Scholarship and Tireless Dedication
Cao Bao was born into an illustrious Confucian scholarly family in Yangdi, Yingchuan Commandery. His father, Cao Chong, was an erudite master of the Six Classics who specialized in the Qing family's recension of the Book of Rites. Serving as an Erudite (Boshi) during the Jianwu era of Eastern Han, Cao Chong had taken part in authoritative court deliberations on classical texts at the White Tiger Hall.
From an early age, Cao Bao demonstrated deep scholarly determination and expansive intellect. Upon reaching adulthood, he fully inherited his father's academic legacy, mastering classical texts while harboring a passionate devotion to ancient state ceremonies. He frequently lamented that ever since the founding of the Han dynasty, although Emperor Gaozu had commissioned Shusun Tong to draft rudimentary court ceremonies, the imperial state had never established a comprehensive system of ritual and musical ordinances. Cao Bao made it his life's ambition to revive the ceremonial codes of the Zhou dynasty and formulate an enduring institutional canon for the Han empire.
To reconstruct ancient rites, Cao Bao immersed himself in the Six Classics day and night. His concentration was so intense that he frequently forgot food and sleep. Whenever retiring to bed, he cradled writing brushes and bamboo slips in his arms; whenever walking, he recited passages from ritual canons. When struck by an intellectual insight regarding ritual provisions, he would lose awareness of his physical surroundings and destination.
Benevolent Magistrate and Moral Resistance
In the final years of Emperor Ming, Cao Bao entered administrative service due to his profound mastery of ritual scholarship. Following the accession of Emperor Zhang, Cao Bao was appointed Magistrate of Yu County in Chenliu Commandery.
Upon assuming office, Cao Bao governed through Confucian moral suasion, transforming local customs through virtuous leadership. During his tenure, five bandits from a neighboring commandery crossed the border into Yu County and were apprehended by county constables. Ma Yan, the Governor of Chenliu Commandery, harbored severe hatred toward criminals and issued a secret instruction ordering the county authorities to summarily execute the five men to terrify the public.
Upon receiving the governor's directive, Cao Bao summoned his subordinate clerks and firmly declared: "To arbitrarily terminate human life is an offense against the Way of Heaven. Ancient judge Gao Yao did not decree death for ordinary theft, and Confucius instructed that personal uprightness rectifies misconduct. Complying with superior orders to unlawfully execute prisoners is flouting Heaven while currying bureaucratic favor; such an act incurs grievous guilt. If preserving five human lives requires me to sacrifice my own office, that is my true wish!" Cao Bao refused to execute the prisoners, determining their sentences strictly according to statutory law.
Infuriated by his defiance, Governor Ma Yan impeached Cao Bao on allegations of administrative weakness and incompetence, resulting in Cao Bao's dismissal and return to Yingchuan. The common folk and gentry of the region admired his moral integrity and humane character.
Sole Imperial Commission and Codification of Rites
Emperor Zhang cherished Confucian learning and was well versed in prophetic apocrypha and dynastic omens. The emperor believed that the lack of a unified system of state ritual and music more than a century after the founding of the Han was a major imperial deficiency. In the second year of Yuanhe (85 CE), Emperor Zhang promulgated an edict seeking guidance on establishing ritual systems.
Learning of the imperial edict, Cao Bao immediately submitted a memorial asserting: "Whenever sage kings received the Mandate of Heaven to rule, they inevitably instituted rites and composed music to illuminate their dynastic virtue. Rites are established when peace prevails, and music is crafted when moral transformation is achieved, thereby correcting social morals and invoking heavenly blessings. Today, auspicious omens appear across the realm; the court should formally establish written institutions and complete the Han Ritual to make manifest the glorious virtues of our imperial forebears."
Emperor Zhang was delighted and forwarded the memorial to the Minister of Ceremonies (Taichang) for deliberation. However, conservative courtiers led by Minister Chao Kan argued that compiling a state ceremonial code was a monumental undertaking that could not be entrusted to a minor official, recommending that the proposal be shelved. Emperor Zhang recognized that metropolitan scholars were hopelessly wedded to pedantic hair-splitting and that convenings would only produce three years of fruitless dispute by the roadside.
Bypassing bureaucratic delays, Emperor Zhang appointed Cao Bao as Palace Attendant to accompany the imperial retinue on a southern inspection tour, consulting him directly on ceremonial adaptations. Upon returning, Emperor Zhang consulted Ban Gu, who suggested convening an assembly of scholars. The emperor rejected endless scholastic bickering, and in the first year of Zhanghe (87 CE), he issued a confidential decree charging Cao Bao alone with drafting the entire ritual code of the Han dynasty.
Promulgation of the Han Ritual and Official Implementation
Emperor Zhang's commission granted Cao Bao solitary authority. Working behind closed doors, Cao Bao drew upon the foundational principles of the Rites of Zhou, the Book of Rites, and the Classic of Documents, while integrating historical protocols from Shusun Tong, Liu De's ritual expositions, and commentaries on the Spring and Autumn Annals and Erya. Harmonizing seasonal resonances, yin-yang cosmology, and imperial administrative needs, he systematically synthesized ritual precedents.
After months of rigorous historical and textual synthesis, Cao Bao completed the Han Ritual in one hundred and fifty chapters, encompassing auspicious rites, inauspicious mourning rites, guest rites, military rites, and congratulatory festal rites. The compilation provided minute protocols for imperial capping ceremonies, royal weddings, funeral rites, ancestral temple sacrifices, and state sacrifices to Heaven and Earth, alongside detailed regulations on bureaucratic carriages, vestments, and ceremonial grades.
In the eleventh lunar month of the first year of Zhanghe (87 CE), Cao Bao formally submitted his comprehensive work to the throne. Emperor Zhang praised the accomplishment and ordered the Imperial Secretariat to produce official copies and promulgate them throughout the empire as statutory court practice.
The following year, when Emperor Zhang embarked on a southern progress, all imperial sacrifices and ceremonial processions were conducted strictly according to Cao Bao's new liturgy. Despite persistent criticism from dogmatic literalists like Lu Gong, who accused Cao of fabricating private rites contrary to ancient scripture, Cao Bao remained steadfast in defense of his integrated ceremonial framework.
Capital Garrison Command and Enduring Legacy
In the spring of the second year of Zhanghe (88 CE), Emperor Zhang passed away, and the ten-year-old Emperor He (Liu Zhao) ascended the throne under the regency of Empress Dowager Dou. The state mourning rites for Emperor Zhang and the coronation of Emperor He were conducted in rigorous adherence to Cao Bao's ceremonial statutes.
Following the succession, Cao Bao was appointed Colonel of the Elite Cavalry. In the fourth year of Yongyuan (92 CE), he was promoted to Colonel of the City Gates, commanding the elite imperial garrison charged with the defense and gate security of the twelve gates of Luoyang. In this capacity, Cao Bao strictly observed administrative statutes, conducted vigilant patrols, and maintained solemn order throughout the capital precinct.
In the fourteenth year of Yongyuan (102 CE), Cao Bao passed away in office as Colonel of the City Gates. Beyond the one hundred and fifty chapters of the Han Ritual, his lifetime writings on ritual debates, memorials, and ceremonial notes totaled several hundred chapters, standing as a landmark monument in the institutional history of Han Confucianism.
Major Accomplishments
Compilation of the One-Hundred-and-Fifty-Chapter Han Ritual
Cao Bao's foremost historical contribution was his solitary authorship of the Han Ritual in one hundred and fifty chapters, which established the first comprehensive imperial ceremonial system for the Han dynasty.
During the early Western Han dynasty, Shusun Tong had only established basic court greeting etiquettes, leaving the broader ritual framework an ad-hoc amalgam of Qin practices and regional customs. Cao Bao bridged this deficiency by synthesizing ancient Zhou dynasty rituals with early Han historical precedents. His work codified imperial state sacrifices, capping ceremonies, diplomatic protocols, military deployments, and aristocratic funerals into a coherent normative system, providing the Eastern Han dynasty with sacred ceremonial legitimacy.
Breaking the Academic Gridlock of Pedantic Factions
Cao Bao demonstrated remarkable intellectual boldness and administrative decisiveness within an academic environment paralyzed by rigid scholastic factions and superstitious apocrypha.
Confronted with conservative scholars who perpetuated endless wrangling without producing practical results, Cao Bao refused to become bogged down in pedantic disputes. He realized Emperor Zhang's vision of adaptable governance by harmonizing the strengths of both Old Text and New Text traditions. By forging a functional ceremonial code suited to the requirements of a centralized imperial bureaucracy, he dismantled the sterile dogmatism of ivory-tower scholasticism.
Virtuous Local Administration and Humanitarian Conscience
Cao Bao was not merely a scholarly classicist but an exemplary administrator who practiced the compassionate tenets of Confucianism in daily governance.
While serving as Magistrate of Yu County, he openly defied superior commands that demanded the arbitrary slaughter of captured bandits, willingly facing impeachment and loss of office rather than violating moral law. His insistence that human life outweighs bureaucratic rank infused his legal and ritual scholarship with profound humaneness and moral distinction.