Ching Shih
1775-01-01–1844-01-01 · Piracy
Field: Piracy Born: 1775-01-01 Died: 1844-01-01
Chapter 1: "The Stone and the Sun"
The Pearl River moved like something alive beneath her, slow and dark and indifferent to everything that floated upon it. In the last years of the eighteenth century, the river at Canton was less a waterway than a city unto itself — a heaving, creaking metropolis of wood and rope and human noise, where tens of thousands of people were born, lived, worked, and died without ever setting foot on solid ground. Sampans jostled against salt barges. Fishing junks with eyes painted on their bows stared blankly upriver toward the foreign trading factories, whose flagpoles — British, Dutch, Danish, American — poked above the rooftops like the masts of landlocked ships. And among all these vessels, painted and gilded and strung with silk lanterns, rode the flower boats.
A flower boat was not difficult to spot. Even at midday, a large one announced itself: the carved lattice windows, the bright vermilion lacquer, the sound of a pipa drifting across the water like smoke. By evening, the lanterns were lit, and the boats became floating palaces of amber light, reflecting on the river's surface in wavering columns of gold. Foreign merchants who were forbidden by Qing decree from entering the city proper came to the flower boats instead, stepping from the wharves into a world engineered entirely for pleasure — wine, song, opium, and the company of women whose business it was to make powerful men feel at ease. The flower boats were brothels, yes, but they were also intelligence markets, social lubricants of the Canton trading system, places where secrets passed between lips along with silver. A woman who worked on a flower boat and who possessed the wit to listen would learn, over the course of months and years, a great deal about how power actually moved through the Pearl River Delta.
Somewhere on one of these boats, or in the cramped wooden quarters behind its gilded façade, lived a young woman known as Shi Xianggu — "Fragrant Maiden Shi." The name was a rǔmíng, a milk name, the kind of nickname given in childhood and carried into the working world. Modern Chinese scholarship, notably the work of Ye Lingfeng published in 2012, identifies her birth name as Shi Yang — 石陽 — characters that translate, with a certain poetic directness, as "Stone" and "Sun." Unyielding and radiant. Hard-edged and luminous. The historical record would eventually confirm she possessed both qualities in abundance. But in the late 1790s, she was simply one among hundreds of women working the floating world of Canton, and no one was writing down her name at all.
The first twenty-six years of the life of the woman who would become Zheng Yi Sao, commander of the largest pirate confederation in recorded history, are almost entirely undocumented. No birth certificate exists. No family register names her parents. No letter, diary, memoir, or court record from the Qing Dynasty describes her childhood, her adolescence, or the specific circumstances that brought her to a flower boat in Canton. Her story, as it survives in the historical record, does not begin with birth. It begins with her entry into the world of men who had something to lose — or something to offer.
This absence is not merely a gap in the archive. It is itself a form of evidence — testimony to how thoroughly the Qing bureaucratic apparatus could erase a life lived on water, lived in poverty, lived as a woman outside the sanctioned structures of family and state. It tells us who counted.
From triangulated fragments, the most probable origins place her birth around 1775, most likely in or near Xinhui county, a coastal district in the western Pearl River Delta of Guangdong province. The date is an estimate, reverse-calculated from reports that she was approximately twenty-six years old at her marriage in 1801 — a detail preserved in the scholarship of Dian H. Murray, whose 1987 monograph Pirates of the South China Coast, 1790–1810, published by Stanford University Press, remains the foundational academic study of this period and this woman's life. The birthplace of Xinhui is attested in Ye Lingfeng's work and repeated in contemporary Chinese-language sources, though no Qing-era document corroborates it. "Born into poverty" is a reasonable inference given the social world she inhabited — but a biographer must be honest that it is, in fact, an inference. We do not know her father's name. We do not know her mother's face. We know only that she came from the bottom of one of the most rigidly stratified societies on earth, and that she ended her life near its apex.
The claim that she worked on a flower boat — that she was a jìnǚ, a prostitute — is the most persistent element of her origin story. It appears in Murray's work, in Robert Antony's Like Froth Floating on the Sea (2003), and in virtually every popular account written since. Yet as Murray herself acknowledges, direct evidence for this claim is thin. The social geography of the Pearl River makes it entirely plausible, but its evidentiary basis rests more on the world she inhabited than on any document that names her specifically. The most defensible scholarly framing is that she was likely trafficked into sex work — a formulation that acknowledges the brutal realities of the Pearl River Delta's sexual economy, the coercive structures that funneled poor women into the floating brothels, while respecting the absence of direct proof. The distinction matters. She did not choose the flower boats. What she chose was what to do with the knowledge she gained inside them.
And yet the flower boat origin, whether documented or inferred, matters enormously to understanding the woman she became. It was not merely a place of degradation. It was, paradoxically, an education.
To understand how a sex worker on a floating brothel could acquire the skills to command tens of thousands of armed men, one must first understand the world of the Tanka.
The Tanka — the character is 蜑家, sometimes rendered danjia, and the word translates loosely as "egg people" or, more commonly, "boat people" — were an ethnic minority in southern China who had lived on the water for centuries. They were fishermen, ferrymen, pearl divers, and river traders, and they occupied the lowest rung of Qing social hierarchy. Imperial law forbade them from settling on land, from taking the civil service examinations, and from intermarrying with the land-based Han Chinese population. They were, in the most literal sense, outsiders — people who existed beneath the notice of the Confucian social order that governed life on shore.
Whether Shi Xianggu was ethnically Tanka is not entirely clear — Murray and Antony both place her within the Tanka world, but neither can definitively establish her ethnic origin. What is certain is that she lived within their maritime culture, that the flower boats on which she likely worked were a Tanka institution, and that the social world of the river — with its own hierarchies, its own rules, its own economy — was the world that formed her.
This distinction matters for reasons that go beyond ethnicity. The Tanka existed outside the rigid patriarchal structures of mainstream Chinese society. On land, a woman's role was defined by the "three obediences" of Confucian doctrine: obedience to her father before marriage, to her husband during marriage, and to her son in widowhood. On the water, the calculus was different. Tanka women worked alongside men. They hauled nets, steered boats, managed finances. The sea was a space of relative social fluidity where a woman could potentially wield power in ways impossible on land. Shi Xianggu was not raised in a world that told her women could not lead. She was raised in a world that, by necessity and by custom, had already demonstrated that they could.
The flower boats amplified this education in specific ways. A young woman working in one was not simply providing sexual services. She was navigating a complex social environment populated by wealthy merchants, corrupt officials, foreign traders, and — crucially — the sea captains and pirate leaders who moved freely between the legitimate and illegitimate economies of the Pearl River Delta. Antony, whose social-history approach emphasizes the economic desperation underlying maritime crime, has documented how blurred the line between legal commerce and piracy actually was in late-eighteenth-century Guangdong. The same harbors that sheltered trading junks sheltered pirate fleets. The same merchants who sold silk to the foreigners fenced stolen goods for the sea rovers. And the flower boats, anchored in the middle of all of it, were nodes in a vast web of information and influence.
A woman in this world who was observant — who listened when powerful men talked over wine, who learned to read the currents of alliance and rivalry running through Canton's maritime underworld — was acquiring, whether she named it so or not, a political education. Murray describes Zheng Yi Sao's sharp "business acumen," a quality she suggests was honed during precisely this period. Some popular accounts speculate that she may have risen beyond the role of prostitute to become a procurer or a manager — someone who brokered transactions, traded in information, and cultivated relationships with the influential men who came aboard. The administrative instinct that would later define her command — the insistence on documentation, on ledgers, on systems — may have been forged in this transactional world.
Into the world Shi Xianggu inhabited came a man who needed precisely what that world had taught her.
In 1801, the pirate captain Zheng Yi — then thirty-six years old, a veteran of the Tây Sơn wars in Vietnam, commander of the most powerful fleet in the Pearl River Delta — proposed marriage to the twenty-six-year-old woman known as Shi Xianggu. The circumstances of their meeting are preserved only in fragments, pieced together from Chinese-language sources and the inferences of modern scholars. Whether they had encountered each other before, whether she had been one of his informants or contacts in the Canton underworld, whether their connection was romantic or purely strategic, the sources do not say. Antony's 2003 study offers two possibilities in a single phrase: either infatuation or a business move.
Popular legend, repeated across dozens of accounts, insists that she agreed to the marriage only after Zheng Yi signed a formal contract granting her fifty percent ownership of his fleet and an equal share of all plunder. It is a thrilling detail — a woman in Qing China demanding contractual equality as the price of her consent. But no primary source supports it. No Qing-era document, no chronicle, no official record describes such a contract. Murray, the most rigorous scholar of this period, does not cite one. Her actual formulation is more revealing: Zheng Yi Sao, she wrote, "used her marriage as an access to power." The "marriage contract" is best understood as a piece of potent folklore — an attempt by later storytellers to explain the extraordinary authority she wielded from the very beginning of their partnership. The truth may be simpler and, in its way, more impressive: she did not need a contract. She made herself indispensable.
Upon her marriage, she acquired a new name — or, more precisely, a new identity. She became Zheng Yi Sao: "Wife of Zheng Yi." It was the name by which the Cantonese populace would know her for the rest of her life, and it is the name that the best modern scholarship, following Murray's lead, uses as its standard designation. The Western world would later come to call her Ching Shih, a romanization of the Cantonese pronunciation of 鄭氏, meaning simply "of the Zheng clan" — a widow's designation, impersonal and generic. The full story of how that name traveled through a chain of translation errors, misattributions, and literary embellishments to become the standard English-language term involves the British writer Philip Gosse, the Argentine fabulist Jorge Luis Borges, and one of the most consequential games of scholarly telephone in the history of pirate literature — a thread this biography will trace as it arises. For now, what matters is the transformation itself: the woman born Shi Yang, who had survived the flower boats as Shi Xianggu, stepped aboard Zheng Yi's flagship as Zheng Yi Sao.
She also acquired a stepson. Some years before the marriage, Zheng Yi had abducted a teenage fisherman's boy from Xinhui — Zhang Bao, the same Zhang Bao who would one day write to a Portuguese naval commander that he intended to seize the imperial throne of China. By 1801, Zhang Bao had been formally adopted as Zheng Yi's son and heir. He was intelligent, physically striking, and fiercely loyal to the man who had taken him. Murray's research, drawing on Yuan Yonglun's chronicle, establishes that the relationship between Zheng Yi and Zhang Bao was not merely paternal — it was sexual. The household Shi Xianggu entered was already unconventional by any standard: a pirate captain, his adopted son and lover, and now a wife drawn from the Canton underworld. It was a triangle of power that would, within six years, reshape the entire South China Sea.
But in 1801, none of that was foreordained. The Guangdong coastline was in turmoil — the Tây Sơn dynasty in Vietnam had just collapsed, sending thousands of battle-hardened Chinese pirates streaming back into southern waters, desperate for employment and dangerous beyond any force the local Qing navy could contain. The full dimensions of that crisis, and the extraordinary act of political organization with which Zheng Yi and Zheng Yi Sao would answer it, belong to the next chapter.
She had not chosen the flower boats. She had not chosen the world of coercion and commerce that had shaped her youth. But she had chosen this — the marriage, the partnership, the gamble that a woman from the bottom of the Qing social order could build something at its summit. The distinction between the agency she exercised and the constraints within which she exercised it would define not only the next decade of her life but the terms on which history would remember her: not as a woman to whom extraordinary things happened, but as a woman who, with every tool available to her, chose to become extraordinary.
The Pearl River carried her toward that future now, dark and slow and indifferent, as it had always been. But the woman riding its current was Zheng Yi Sao, and the title was only the beginning.
Chapter 2: "A Navy of Six Flags"
The marriage proposal, if that is what it was, came wrapped in the smell of gunpowder and salt fish.
Sometime in 1801 — the exact season is lost, as are so many details of what happened before the bureaucrats and chroniclers took notice — the pirate captain Zheng Yi sent word to a woman known as Shi Xianggu aboard one of Canton's flower boats. He wanted her for his wife. Whether he came in person, stepping from a river launch onto the rocking deck of her floating brothel with a retinue of armed men behind him, or whether the offer arrived through an intermediary — a cousin, a go-between, a shared acquaintance from the waterfront demimonde — no source records. What is known is that she was twenty-six years old, that she had spent years navigating the dangerous economy of pleasure and information that defined life on the Pearl River's flower boats, and that she said yes.
It was not a decision made from romance, though romance cannot be entirely ruled out. For Shi Xianggu — the woman who would become Zheng Yi Sao, "wife of Zheng Yi," and eventually the supreme commander of the largest pirate confederation in recorded history — the marriage was something more fundamental. It was an entry point. The marriage contract myth, debunked in the previous chapter, need not detain us here. What the evidence does support — consistently, from multiple independent sources — is that from the moment of her marriage, Zheng Yi Sao functioned as a full operational partner in the business of piracy. Not a figurehead. Not a decorative wife. A working partner who brought her own skills — organizational, diplomatic, strategic — to the enterprise.
The man she married was no ordinary river bandit. Zheng Yi came from a dynasty of sea raiders stretching back generations. His father, Zheng Lianchang, had been a pirate. His cousin, Zheng Qi — the "Seventh Son," so nicknamed because qi means seven in Chinese — had been one of the most feared commanders in the South China Sea. The Zheng family name functioned less as a surname in the Pearl River Delta than as a signal of maritime power, one that had endured since the mid-seventeenth century. By the time he came looking for a wife in 1801, Zheng Yi was the inheritor of all of it: the reputation, the fleet, the enemies, and the vast, volatile network of alliances that kept a pirate captain alive.
He was also ambitious beyond the scale of his inheritance. He had spent the better part of a decade in Vietnam, serving as a privateer for the Tây Sơn dynasty — the peasant-rebel-kings who had seized power and then, desperate for naval muscle, recruited Chinese pirates to fight their wars. But the Tây Sơn experiment had collapsed. In February 1801 — the same year Zheng Yi sought his bride — the rival Nguyễn lords crushed the Tây Sơn in what the French military observer Jean-Baptiste Chaigneau called "the fiercest battle in the history of Cochinchina." The Tây Sơn lost fifty thousand men and most of their fleet. Three of the most powerful Chinese pirate captains who had served them were captured. The emperor fled his capital at Huế without even his imperial seals. And in the aftermath, thousands of battle-hardened, professionalized pirates — men who had been trained, armed, organized, and paid by a sovereign state — found themselves suddenly without employment, their patron destroyed, their safe havens gone.
They streamed back to Guangdong. Robert Antony, in his 2022 study The Golden Age of Piracy in China, documents that at least three Qing provinces were affected by the returning pirates, though no source provides a precise headcount. The coast of southern China was suddenly flooded with men who knew how to fight, who possessed ships and weapons, and who had no legitimate livelihood waiting for them. They were a volatile force in need of direction. And Zheng Yi, whose cousin Zheng Qi had been captured and beheaded by the Nguyễn in September 1802, was now the most prominent surviving member of the pirate family best positioned to organize them.
This was the world into which Shi Xianggu stepped when she became Zheng Yi Sao.
Murray describes the division of labor within the marriage with a precision that cuts through the romanticism that clings to pirate narratives. Zheng Yi, she argues, was the "unifier" — the charismatic figure who could stand before rival captains and command their allegiance through force of personality, the weight of his family name, and the bonds forged during shared Tây Sơn service. He was the man other men would follow into a room, the man whose handshake sealed a deal. Zheng Yi Sao was the "consolidator." She was the one who made the alliances hold after the handshakes were done — the administrator who turned verbal agreements into working systems, who ensured that plunder was divided according to rules rather than whim, that supplies reached the ships that needed them, that the sprawling, fractious machinery of a pirate fleet actually functioned from one week to the next.
This was not a division that diminished either partner. It reflected a recognition — whether conscious or instinctive — that building a pirate empire required two fundamentally different kinds of skill. The unifier needed charisma, daring, the ability to project authority in a world where authority was constantly contested at knifepoint. The consolidator needed patience, a head for logistics, and an understanding that loyalty purchased with a share of plunder lasted only as long as the shares kept coming. Zheng Yi could fill a room with his presence. Zheng Yi Sao could make sure the room had walls.
The work was not glamorous. But it was the work on which everything else depended.
Between 1802 and 1805, Zheng Yi and Zheng Yi Sao faced a problem familiar to any political leader attempting to unite a fractious coalition: the pirates of the South China Sea agreed on nothing except their unwillingness to be governed. The returning Tây Sơn veterans were powerful but divided, their loyalties fractal, their rivalries deep. Individual captains commanded fleets of varying size and strength, each operating by his own rules, raiding his own stretch of coastline, negotiating his own protection arrangements with terrified fishing villages. They fought the Qing navy when it appeared, but they also fought each other — over territory, over plunder, over insults real and imagined. Antony's Like Froth Floating on the Sea describes this world from the bottom up: most of the men who crewed these pirate junks were not professional criminals but poor fishermen and sailors, many of them coerced or press-ganged into service, their lives shaped more by desperation than by any piratical romance.
Zheng Yi understood that this chaos was both his opportunity and his greatest threat. A dozen quarreling pirate fleets were a nuisance to the Qing government. A single unified pirate navy would be an existential challenge. And so, over three years, he and Zheng Yi Sao set about the painstaking work of building a coalition.
The details of how they accomplished this are largely lost. Murray describes the process in general terms — meetings, negotiations, the careful cultivation of key leaders, the strategic use of kinship ties and shared Tây Sơn service as bonding agents — but the specific conversations, the specific concessions, the moments when a hesitant captain was won over or a stubborn one threatened, are beyond recovery. What survives is the result.
In July 1805, the most powerful pirate leaders of the South China coast gathered and signed an agreement — a formal compact that united their separate fleets into a single confederation under Zheng Yi's supreme command. Murray's research names seven signatories: Zheng Yi himself, commanding the Red Flag Fleet; Guo Podai, commanding the Black Flag Fleet; Liang Bao of the White Flag Fleet; Jin Guyang of the Green Flag Fleet; Wu Shi'er of the Blue Flag Fleet; Wu Zhiqing of the Yellow Flag Fleet; and a figure called Zheng Laotong, who would defect to the Qing government almost immediately — his departure a reminder that the confederation's unity was never as solid as its organizational chart suggested.
The six remaining fleets — Red, Black, White, Green, Blue, and Yellow — were each identified by the color of the flag that flew from their mastheads. Each retained a degree of operational autonomy: individual fleet commanders controlled their own ships, managed their own crews, and conducted their own raids within loosely defined territories. But all operated under the umbrella of the confederation, bound by shared rules, a common command structure, and — crucially — a mutual defense pact. An attack on one fleet was an attack on all.
No text of the agreement itself survives in any accessible English-language source. The Siu and Puk annotated scholarly edition of Yuan Yonglun's Jing hai fen ji, published in 2007, may contain references, but the actual terms have never been published in translation. What we know about the agreement comes from its effects, which were visible immediately and stunning in their scale.
The Red Flag Fleet, under Zheng Yi's direct command, was the largest and most powerful, numbering over two hundred junks. The Neumann translation of Yuan Yonglun's text contains a striking claim: the Red Flag Fleet alone "was stronger than all the others united together." The Black Flag Fleet, under Guo Podai, was the second largest, with approximately one hundred ships. Together, the six fleets constituted a naval force of roughly four hundred junks and somewhere between forty thousand and seventy thousand people — the numbers vary by source, with Murray's 1981 article in Historical Reflections giving the higher figure at the confederation's peak.
To put this in perspective: the entire Royal Navy of Great Britain at the height of the Napoleonic Wars operated roughly nine hundred vessels. The pirate confederation of the South China Sea, at its formation, controlled nearly half that number — and unlike the Royal Navy, its ships operated without the enormous administrative overhead of an Admiralty, a Parliament, or a national treasury. It was, as Murray describes it, not a loose gang of raiders but a "naval power capable of challenging states."
The most remarkable aspect of the 1805 agreement, however, was not its military scale but its organizational ambition. The confederation was not merely a nonaggression pact. It was an attempt to impose systematic order on a world defined by chaos. Under the new structure, plundered goods were to be reported, registered, and divided according to fixed rules. Ships were to operate within assigned territories. A rudimentary treasury was established to fund collective operations. The confederation developed something unprecedented: a systematic maritime taxation regime in which coastal vessels, fishing boats, and merchant ships paid regular levies in exchange for safe passage. The system would grow, under Zheng Yi Sao's administration, into a bureaucratic apparatus that rivaled the Qing government's own revenue collection.
She brought to the partnership an administrative discipline that would later become the confederation's defining institutional feature. This is not the language of romance or adventure. It is the language of institutional administration — and it describes a woman who understood, perhaps more clearly than her husband did, that the difference between a pirate fleet and a pirate empire was paperwork.
No primary source places Zheng Yi Sao at the July 1805 signing ceremony itself. This is a genuine silence in the record, one that must be acknowledged rather than papered over with dramatic invention. Murray describes her as a "co-organizer" during the consolidation period, but the agreement itself is attributed to Zheng Yi in Yuan Yonglun's account. She may have been there. She may have been aboard a ship in the harbor, poring over lists of supplies while her husband played statesman. She may have been the one who drafted the terms Zheng Yi presented. The sources do not say.
But the silence about her presence at a signing ceremony should not obscure the substance of what she built. A coalition of seventy thousand people — fighters, families, cooks, carpenters, captive laborers, women and children who lived their entire lives aboard the junks — does not survive on charisma alone. Someone had to manage the supply chains that fed them. Someone had to administer the protection system that funded them. Someone had to ensure that when a captain's crew captured a merchant vessel, the spoils were reported accurately and divided fairly, lest a dispute over a bolt of stolen silk become a blood feud between fleets. The portrait of meticulous record-keeping that emerges from the sources describes not a pirate queen in the swashbuckling sense but something closer to the architect of a functioning state — a woman whose authority derived not from the sword but from the ledger, and whose systems made the confederation's survival possible.
There is a temptation, in telling this story, to admire the system's efficiency while forgetting its brutality. The confederation was, at its foundation, a coercive enterprise. Its rank and file were, as Antony emphasizes, largely composed of desperate men with few alternatives — poor fishermen, kidnapped laborers, press-ganged sailors who served not out of loyalty but because the punishment for desertion was death. The protection payments were not voluntary. The farming "partnerships" were not negotiated between equals. And the storehouses where plundered goods were registered contained the stolen property of merchants and villagers who had no recourse, no court to appeal to, no authority willing or able to help them. The machine Zheng Yi Sao administered was magnificent in its organizational sophistication. It was also, inescapably, a machine of violence. She did not choose the world that made such a machine necessary — a world in which the Qing state offered the poor of coastal Guangdong neither protection nor livelihood — but she chose to master it, and the distinction matters.
For two years after the 1805 agreement, the confederation grew in power and audacity. The Qing navy, underfunded and poorly led, was incapable of mounting a serious challenge. Provincial commanders launched occasional sorties that accomplished nothing except to demonstrate their own weakness. The pirates raided with impunity, their red and black and blue and yellow flags visible from every headland in the Pearl River Delta, their protection certificates circulating like a second currency.
Zheng Yi Sao bore two sons during this period. The first, Zheng Yingshi, was born in 1803; the second, Zheng Xiongshi, arrived in 1807. Murray documents both births, though nothing else about the children's early lives survives. They were born on ships, raised on ships, surrounded by creaking timbers and cannon smoke and the human density of a floating city. Whether their mother nursed them herself or handed them to a wet nurse; whether their father held them or barely noticed them; whether they played on the deck or were kept below in the stifling hold — all of this is lost. The historical record treats them as facts, not as children.
And then, on November 16, 1807, the world Zheng Yi Sao had helped to build was shattered.
Yuan Yonglun's Jing hai fen ji records the event with the spare precision of a chronicle entry: "On the seventeenth day of the tenth moon, in the twentieth year of Këa king (about the end of 1807), Ching yih perished in a heavy gale." He was forty-two years old. Caught in a storm, swept overboard, drowned. Some whispered later — as people always whisper when a powerful man dies suddenly — that it was no accident, that he had been pushed, that his wife or his adopted son had arranged his death. No credible source supports these rumors, and Murray dismisses them. The South China Sea killed men routinely. Typhoons, squalls, rogue waves — the ocean took pirates as indifferently as it took fishermen.
The consequences dwarfed the cause. The confederation was, at its core, a coalition held together by a single man's prestige, his family name, and his ability to keep six rival warlords at the same table. With that man gone, every centripetal force that had sustained the alliance suddenly weakened, and every centrifugal force — jealousy, ambition, old grudges, the fundamental pirate instinct to answer to no one — surged forward. Not all the fleet commanders were equally content with the arrangement — Guo Podai of the Black Flag Fleet least of all. The other fleet commanders — Liang Bao, Jin Guyang, Wu Shi'er — had their own calculations to make. Why remain in a confederation when the man who had forged it was dead?
In Qing China, a widow had no legal right to inherit her husband's property, let alone his command of an armed fleet. The Confucian social order was explicit: a woman's authority derived entirely from her relationship to men — first her father, then her husband, then, if she was fortunate, her sons. Zheng Yi Sao's sons were four years old and an infant. She had no father, no powerful male relative, no institutional claim to the power she had spent six years helping to build. By every legal and social standard of her time, she was nothing.
What she did next — the sequence of alliances, threats, and calculations by which she transformed herself from widow to supreme commander — belongs to the following chapter. But it is worth pausing here, at the moment of maximum crisis, to appreciate the scale of what hung in the balance. A navy of six flags, four hundred ships, tens of thousands of souls. A system of maritime taxation stretching across an entire coastline. An alternative sovereignty that had, for two years, made a mockery of Qing imperial power. All of it built on a foundation that had just been swept into the sea.
The gale that took Zheng Yi on November 16, 1807, should have been the end of everything. That it became a beginning instead — that is the story of the woman he left behind.
Chapter 3: "The Widow's Inheritance"
The gale came out of the South China Sea on the sixteenth of November, 1807, with the kind of sudden ferocity that even experienced sailors feared — a wall of wind and black water that turned the horizon into a churning erasure of sky and sea. Somewhere in that darkness, caught between waves he had navigated his entire adult life, the pirate lord Zheng Yi went overboard and drowned. He was forty-two years old.
The news would have traveled the way all urgent news traveled through the confederation: by fast boat, by signal fire, by the grim arithmetic of a flagship that returned to harbor without its commander. The wind took him, and left behind a widow, a fleet of over two hundred warships, a confederation of six armed navies numbering perhaps seventy thousand souls, and a question that no one aboard those ships could answer with certainty: What happens now?
A widow in the eyes of the Qing Empire was, in legal terms, almost nothing. A woman in early-nineteenth-century China derived her social identity from the men in her life — first her father, then her husband, then, if she was fortunate, her sons. Upon a husband's death, a widow was expected to retreat into mourning, to defer to male relatives, and to cede any claim on her husband's property to his lineage. The Qing legal code made this explicit. A widow had no right to inherit, no right to command, no right to dispose of property without the consent of the patriarchal clan. In the Confucian moral universe, a virtuous widow was a silent one, invisible behind the walls of her household, her only meaningful choices being whether to remarry — frowned upon — or to remain chaste and faithful to her dead husband's memory, celebrated sometimes with commemorative arches erected by the state.
Zheng Yi Sao was not, by any measure, a virtuous widow in the Confucian sense. And she had roughly seventy-two hours to prove it.
The confederation her husband had forged was, in the autumn of 1807, one of the most formidable non-state military organizations on earth. It was also spectacularly fragile. Zheng Yi had spent years constructing a coalition of six rival pirate fleets — the alliance forged in July 1805, whose full roster was detailed in the previous chapter — into an uneasy partnership that existed because Zheng Yi was powerful enough, charismatic enough, and ruthless enough to hold it together. His authority rested on personal reputation, family lineage, battle record, and the sheer size of the Red Flag Fleet.
Remove the man who held all that together, and the entire structure threatened to shatter. The confederation had no constitution, no line of succession, no institutional mechanism for transferring power. It was held together by personal loyalty, shared profit, and the understanding that betrayal would be met with annihilation. The confederation's survival depended entirely on whether someone could step into the vacuum before it collapsed.
Several candidates presented themselves. There were Zheng Yi's blood relatives — his nephew Zheng Baoyang, son of the pirate commander Zheng Qi, whose execution by the Vietnamese Nguyễn regime in 1802 had propelled Zheng Yi to supreme command. Zheng Baoyang carried the family name. In the logic of Chinese patriarchal succession, he had a stronger claim than any woman. There was also Zheng Anbang, another relative whose position within the fleet hierarchy gave him a plausible path to authority.
And there was Guo Podai, the ambitious and resentful commander of the Black Flag Fleet — the confederation's second-largest force, with roughly a hundred war junks under his command. He had chafed for years under the Zheng family's dominance, and Zheng Yi's death might easily have been the moment he broke free, taking his hundred ships and thousands of men with him, fracturing the alliance into warring factions that the Qing navy could destroy one by one.
Any one of these men might have claimed the leadership. Any one of these men might have plunged the confederation into civil war. What happened instead was something far more instructive about the nature of power.
Zheng Yi Sao moved first, and she moved fast. The historian Robert Antony, in Like Froth Floating on the Sea, describes the sequence with scholarly understatement: "His widow Ching Shih acted quickly to solidify the partnership with her step-son Cheung Po Tsai. Their first success came when they were able to secure the loyalty of Zheng's relatives, who were leaders in the fleet." Those two sentences compress weeks of intense political maneuvering into a summary that makes the result seem foreordained. It was anything but.
Consider what she had to work with. She was a woman — a former sex worker from Canton's flower boats, if the most commonly accepted account of her origins is correct — in a world of armed men who had no legal or cultural obligation to obey her. She held no military rank. She commanded no ship. She had no personal retinue of fighters. What she had was six years of experience managing the confederation alongside her husband, an encyclopedic knowledge of its internal politics, and an understanding of leverage that would have been legible to Machiavelli.
Dian Murray's research, detailed in her 1981 article "One Woman's Rise to Power" in Historical Reflections and expanded in her 1987 book Pirates of the South China Coast, 1790–1810, reveals a three-part strategy that was as deliberate as it was effective. First, Zheng Yi Sao secured the support of the Zheng family members — Zheng Baoyang, Zheng Anbang, and other relatives — binding them to her before they could organize around an alternative claimant. Murray describes this as a campaign to "preemptively squash any potential opposition parties that might arise."
The significance of Zheng Baoyang's allegiance cannot be overstated. He was the son of Zheng Qi — the great commander whose death in Vietnam had made Zheng Yi's rise possible, the man whose fleet Zheng Yi had inherited. In the logic of Chinese lineage politics, Zheng Baoyang was arguably the most legitimate successor to the entire Zheng pirate dynasty. He was not a woman. He was not a former prostitute. He was the son of a martyred commander, and he carried the bloodline. By securing his loyalty — through persuasion, through appeals to family solidarity, through promises the historical record does not specify — Zheng Yi Sao eliminated the single most credible alternative to her own authority.
Her second step was, in Murray's formulation, to make herself "indispensable to the pirate gangs that she and her husband had originally helped to unify." Over the six years of the confederation's existence, Zheng Yi Sao had positioned herself as its chief administrator — the person who kept the books, managed the treasury, oversaw the distribution of plunder, and maintained the diplomatic relationships with coastal towns that paid protection money. When Zheng Yi was alive, this role had been largely invisible to outsiders — the work of a wife supporting her husband. With Zheng Yi dead, it became clear that she was not merely the person behind the authority. She was the authority's infrastructure.
The protection racket the confederation operated across hundreds of miles of coastline was, by 1807, a vast bureaucratic enterprise. Ships that paid received passes or flag markings identifying them as protected; ships without such marks were legitimate prey. This was not a system that ran itself. It required ledgers, registries, agents in every port, and a central authority that could adjudicate disputes between fleets over who had the right to tax what. That central authority was Zheng Yi Sao. The pirate captains could raid and fight. Without her, they could not get paid.
Her third move was the most consequential, and the most intimate. She forged an alliance — political first, then personal — with Zhang Bao.
Zhang Bao was, in November 1807, approximately twenty-four years old — the former fisherman's son from Xinhui whose abduction and adoption by Zheng Yi had been described in Chapter 1. By the time Zheng Yi drowned, he had grown from a kidnapped teenager into the most capable military commander in the Red Flag Fleet. He was personally brave, tactically gifted, and ambitious on a scale that would later astonish even his enemies. In a letter he would later write to the Portuguese naval commander José Pinto Alcoforado — the full text of which will be examined in Chapter 5, when the circumstances of its composition can be properly understood — Zhang Bao would declare his intention to seize nothing less than the Imperial Throne itself.
Those were the aspirations of a man who saw the confederation not as a criminal enterprise but as the nucleus of a new political order. Whether Zheng Yi Sao shared this vision, or merely permitted it because it served her purposes, is a question the surviving sources cannot resolve. But in the winter of 1807, those dreams were subordinate to a more immediate reality: Zhang Bao needed Zheng Yi Sao as much as she needed him. He had the warriors. She had the organization. He could win battles. She could hold the confederation together between them. He was the sword. She was the hand that directed it.
The alliance was formalized quickly — how quickly, no source specifies with precision. Murray and Antony both describe it as taking shape in the immediate aftermath of Zheng Yi's death, though the ten months between November 1807 and the first documented military action under the new command structure in September 1808 remain frustratingly undocumented. The arrangement they reached was a masterwork of political architecture. Zheng Yi Sao would be the supreme commander of the entire confederation — all six fleets, all the captains, all the revenue streams. Zhang Bao would be the operational commander of the Red Flag Fleet, responsible for planning and executing campaigns on the water. She would set strategy and manage the bureaucracy; he would fight.
This division was born not of sentiment but of ruthless pragmatism. A woman could not, in the culture of early-nineteenth-century southern China, stand on the deck of a warship and issue orders to thousands of armed men and expect to be obeyed through personality alone. But a woman who controlled the treasury, the protection racket, the supply chains, and the diplomatic relationships — a woman who decided how the money flowed and to whom — did not need to stand on any deck. She could command from the cabin, through the proxy of a man the fighters already respected, and her authority would be absolute because it rested on the only thing that ultimately matters in any organization: the ability to reward loyalty and punish betrayal.
The personal dimension of their alliance — the sexual relationship that would eventually become a formal marriage — emerged after the new command structure was established. As Murray notes in Pirates of the South China Coast, this marriage appears to have been an explicitly strategic choice, since Zheng Yi Sao's decision to initiate a sexual relationship with Zhang Bao came after she installed him as the Red Flag Fleet commander. Whether there was also genuine affection between them — whether the widow of approximately thirty-two and the warrior of twenty-four found something beyond strategic calculation in each other — the record does not say. What is certain is that the bond transformed a political alliance into a personal one, creating a unified leadership that would prove far more durable than anyone — the Qing officials, the rival fleet commanders, the Portuguese and British naval officers watching from Macau — had reason to expect.
She was a wife, then a widow, then a partner. Each of these was a role defined by her relationship to a man. But she transformed each role into something its conventions never intended — using the deference owed to a wife to build administrative authority, using the sympathy owed to a widow to forestall challenges, and using the intimacy of a partnership to bind her most powerful subordinate to her will. She did not transcend the constraints of her world. She inhabited them so completely that she turned them inside out.
Popular accounts of Zheng Yi Sao's rise to power often describe her as having been "voted" into the position by the pirate captains, as though the confederation were a maritime democracy and she its elected president. Murray's research shows nothing of the sort. There was no vote. There was no assembly of captains raising their hands or casting ballots. There was a campaign of alliance-building, of managing relationships, of making promises and issuing threats, of leveraging every connection she had cultivated over six years as the co-administrator of the most powerful maritime organization in the South China Sea. It was politics. And she was formidably good at it.
The myth of the vote is revealing, though, in what it says about how later writers have tried to make sense of her ascent. The idea that a woman could seize power through intelligence and political maneuvering — without a formal mandate, without an election, without the blessing of some legitimizing authority — is apparently so difficult for some commentators to accept that they have invented a democratic process to explain it. It is easier to imagine the pirates voting her in than to reckon with the more unsettling truth: that she took power because she understood the system better than anyone else in it, and because she was willing to do whatever was necessary to keep it.
What she built was not ceremonial authority. It was genuine, operational, supreme command. The most direct evidence comes not from a Chinese literary chronicle or a Western captivity narrative but from a Qing government document — the most prosaic and therefore most reliable kind of source. The official Wen Chengzhi, later tasked with negotiating the confederation's surrender, recorded in his Ping hai ji lüe — his "Brief Account of the Pacification of the Sea," preserved in the Zhao Dai Cong Shu collection of 1850 — a sentence of devastating clarity: "Zhang Bao obeyed Zheng Yi Sao's orders, and consulted her on all things before acting."
That sentence — shì bì qǐng ér hòu xíng, "all matters must be requested before proceeding" — deserves a moment's pause. It was written by a government bureaucrat, a man whose job was to report accurately to his superiors about the enemy he faced. He had no reason to flatter her, no reason to exaggerate her authority, no reason to invent a chain of command that did not exist. He was describing what he observed: the confederation's operational commander, the man who led tens of thousands of fighters into battle, did nothing without first consulting a woman who held no military rank, commanded no ship, and carried no weapon. She was the source. He was the instrument.
The pirates gave her a title of her own: 龍嫂, Lóng Sǎo — Dragon Lady. In Chinese culture, the dragon is the supreme symbol of imperial authority. For the men of the fleet to invest their commander with this title was to acknowledge something that no Qing official would ever have conceded: that she ruled.
The portrait that emerges from Yuan Yonglun's Jing hai fen ji and other contemporary sources is not of a swashbuckling pirate queen — the romantic figure of Borges's fiction and Hollywood's imagination — but of something more formidable: a bureaucratic administrator who understood that the foundation of lasting power is paperwork. She did not swing a cutlass. She kept ledgers. She required written applications for any significant transaction. She maintained registries of plunder. The full scope of this administrative system — how it functioned, what it demanded, and why it held — will be the subject of the next chapter. What matters here is that it existed, and that its architect was a woman whom the Qing legal code would have classified as nothing more than a dead man's dependent.
What makes the succession of 1807 genuinely remarkable is not that a woman took command of a pirate fleet — women's participation in South China Sea piracy was, as Murray and Antony both document, far more common than Western observers assumed. What makes it remarkable is the scale, the speed, and the durability. She took control of the largest maritime military organization in Chinese history in a matter of weeks, without a single recorded act of violence against a rival claimant. She did it through persuasion, through leverage, through the strategic deployment of family loyalty and personal intimacy.
The ten months between Zheng Yi's death in November 1807 and the confederation's first major military action under the new command in September 1808 remain a maddening gap in the historical record — almost entirely undocumented in any surviving Chinese, Portuguese, or English source. We know how the period ended: with Zhang Bao ambushing and annihilating the fleet of Qing brigade-general Lin Guoliang near Mazhou Island, a victory so complete that it destroyed half of the provincial navy in a single engagement. We know this battle was fought under Zheng Yi Sao's authority, that Zhang Bao planned it in consultation with her, that the spoils were registered and distributed according to her system. But we do not know what happened during those silent months — what conversations took place in the cramped cabins of war junks riding at anchor in hidden coves along the Guangdong coast, what deals were struck, what threats were exchanged.
The record's silence testifies to a bloodless transition. No civil war, no purge, no rival's severed head displayed from a mast. In the brutal world of the South China Sea, where power was seized and lost through violence as routinely as fishing nets were cast and hauled, the absence of bloodshed may be the most eloquent testament to her political skill. She did not fight for power. She made it impossible for anyone else to claim it.
By the late summer of 1808, her authority was unchallenged and her machine was operational. The Red Flag Fleet — the largest single naval force in the South China Sea, with over two hundred war junks and tens of thousands of fighters — moved at her command and under Zhang Bao's direct leadership. The other five fleets, though semi-autonomous in daily operations, answered to her as supreme authority on all matters of strategy, revenue, and discipline. The Qing provincial navy, already stretched thin and poorly funded, was about to discover how dangerous this arrangement was.
What she had built in those undocumented months was something the Qing officials would struggle to describe in their dispatches. It was not a gang. It was not a fleet. It was not an army in any conventional sense. It was, in the language Robert Antony uses to describe the broader phenomenon of South China Sea piracy, a "shadow state" — an organization that taxed, legislated, adjudicated, and punished with the efficiency and comprehensiveness of a government, differing from the Qing Empire only in the detail that its authority derived from force and custom rather than the Mandate of Heaven. And at its apex sat a woman whose name meant nothing more than "wife of Zheng Yi" — a designation that erased her identity even as it described the source of her power.
She was hiding in plain sight. The very name by which history knows her — Zheng Yi Sao — performed a kind of camouflage, suggesting she was merely the relict of a dead man rather than the architect of what would become the most powerful pirate confederation in recorded history. The Qing officials who would eventually negotiate with her, the Portuguese naval officers who would fight her forces, the British merchants who would pay her taxes — all of them would discover that the widow was not mourning. She was governing.
Zhang Bao prepared the Red Flag Fleet for war. In the harbors and inlets of Guangdong province, in the coves of Lantau and the sheltered bays of the Pearl River Delta, the junks were repaired, armed, and crewed. Captive American and British gunners, seized from merchant vessels that had wandered into confederate waters, were put to work training pirate crews in the use of cannon — a detail preserved in Portuguese colonial archives in Macau and discussed by Luís Gonzaga Gomes in his 1987 study in Macau's Review of Culture. The man who dreamed of overthrowing the Qing dynasty was sharpening his blade. The woman who directed him — who set his targets, managed his logistics, and ensured that the profits of his victories flowed through a system she alone controlled — was about to demonstrate what happened when organizational genius was given an army.
The campaigns of 1808 and 1809 would be devastating. They would humiliate the Qing navy, terrorize the coast of Guangdong, draw in three foreign empires, and force the most powerful government on earth to negotiate terms with a woman who had begun life on a floating brothel. But all of that was downstream of the moment in late 1807 when Zheng Yi Sao, hearing the news that her husband had been swallowed by the sea, chose not to mourn but to calculate. She looked at what she had — no army, no rank, no legal standing, nothing but her knowledge of the system and her willingness to use it — and she saw not a widow's helplessness but a widow's opportunity.
She took it. And the South China Sea would never be the same.
Chapter 4: "A Written Application for Plunder"
Five hundred ships. The number bears repeating because the mind resists it. Five hundred armed junks, their sails darkening the water from horizon to horizon, anchored in a loose crescent formation near the market town of Tanzhou on September 27, 1809. Aboard the largest of these vessels — a massive war junk with carved dragon prows and cannon bristling from its gunwales — stood the woman who had ordered them all into position. Zheng Yi Sao was thirty-four years old that autumn, a widow for nearly two years, and at the apex of a power that no woman in the recorded history of East Asia had ever wielded at sea.
She was about to order the destruction of the coastline where she had been born.
The target was Xinhui, the county in the Pearl River Delta that scholars believe was her home region — the place where she had once been Shi Xianggu, the place where she had been nobody at all. One can imagine an old fisherman mending nets on the Xinhui waterfront who might have seen it first as a darkening along the eastern horizon, a thickening of the morning haze that resolved, over the course of an hour, into something his body understood before his mind could articulate it: hundreds of dark sails filling the river mouth, moving with the tide in a formation too deliberate to be a merchant convoy, too vast to be the provincial navy. He would have dropped his nets. He would have run. Everyone who lived beside the South China Sea knew what a fleet of that size meant. There was no ambiguity in five hundred sets of sails. There was only the cold arithmetic of what was about to happen.
Now she was returning at the head of a force larger than the navies of most European states, and the message was as deliberate as it was devastating: no part of this coast belonged to anyone but her. Not the emperor in his Forbidden City, not the provincial governors scrambling to assemble warships that would only be destroyed, and certainly not the terrified coastal villagers watching from the shore.
The raid on Xinhui was not an isolated act of violence. It was one arm of a coordinated campaign of terror and extortion that Zheng Yi Sao had orchestrated across the entire Pearl River Delta in the late summer and autumn of 1809 — what historians have come to call the Great Raid. While she struck at Xinhui with the main body of the Red Flag Fleet, her subordinate commanders fanned out across the delta's labyrinthine waterways. Zhang Bao, her lover and chief military commander, took his division to ravage the coastal areas around Dongguan. Guo Podai, the temperamental leader of the Black Flag Fleet — a man who seethed at Zhang Bao's rapid ascent but had not yet mustered the nerve to break away — drove his ships up the rivers around Shunde, where his forces would spend six weeks in a rampage that left an estimated ten thousand civilians dead. Dian Murray, in her landmark study Pirates of the South China Coast, 1790–1810, draws these figures from the Qing provincial records, and they are staggering even by the brutal standards of early nineteenth-century warfare.
But the campaign's purpose was not mere plunder, though there was plenty of that. It was governance. The raids were a demonstration of sovereign reach — proof that the Confederation of Six Flags, now effectively under the command of a single woman operating through her chosen admiral, could project force anywhere in southern China's most economically vital region at will. Towns that paid the confederation's protection levies were spared. Towns that did not were annihilated. This was not piracy in the romantic Western sense — lone wolves and jolly rogers and buried treasure. This was the construction of political authority through organized violence.
To understand what the confederation had become by the autumn of 1809, one has to understand the system its leader had built — a system that owed far more to the careful logic of a tax collector than to the anarchic impulses of a sea rover.
Yuan Yonglun, the Chinese scholar whose Jing hai fen ji — "An Account of the Pacification of the Sea," published in Canton in 1830 — remains the single most important primary source on the confederation's internal workings, offers a portrait of Zheng Yi Sao that is strikingly at odds with the legend that would later coalesce around her. She was not, in his telling, a swashbuckler. She was a bureaucrat.
"The wife of Ching yih was very strict in every transaction," Yuan wrote. "Nothing could be done without a written application." He continued: "Anything which had been taken, or plundered, was regularly entered on the register of the storehouse."
These two sentences, buried in a chronicle that runs to many pages and concerns itself primarily with battles and negotiations, are perhaps the most revealing lines written about Zheng Yi Sao during her lifetime. They describe not a warrior but an administrator — a woman who understood that power without systems is just violence, and violence without records is just chaos. She had seen enough of both in the transactional economy of Canton's flower boats, where every exchange was negotiated and every promise was only as good as the leverage behind it. What she built from that knowledge was something altogether different.
Every junk captain who seized a merchant vessel, every raiding party that sacked a coastal village, every pirate who stripped a fishing boat of its catch — all of them were required to catalog what they had taken and surrender it to the confederation's collective treasury. The system, as described in Karl Friedrich Neumann's 1831 English translation of Yuan's text — the rendering that, for all its flaws, brought the story to the Western world — was remarkably specific. The capturing crew received twenty percent of the total value of any goods seized. The remaining eighty percent flowed into the common fund, which financed the fleet's operations, purchased supplies, repaired ships, and maintained the thousands of men, women, and children who lived permanently aboard the confederation's vessels.
The penalty for circumventing this system was death. Not the theatrical, negotiable death of a pirate story, but the bureaucratic finality of an institution that could not afford to tolerate embezzlement. Murray, whose research in the Qing provincial archives and in the annotated 2007 edition of the Jing hai fen ji prepared by scholars Siu Kwok-kin and Puk Wing-kin remains the definitive scholarly treatment, describes this apparatus as nothing less than a parallel government. The confederation collected taxes. It issued documents. It enforced contracts. It maintained what amounted to a civil service, with pursers and storekeepers aboard each major vessel who answered not to the ship's captain but to the central authority — which meant, ultimately, to Zheng Yi Sao.
The most visible expression of this parallel state was the protection certificate system. By 1806, virtually every Chinese vessel operating along the Guangdong coast paid the pirates for what was euphemistically called "protection." The mechanism was elegant: a merchant or fishing vessel that paid the confederation's fee received a pass — a physical document or a flag marking — that identified it as having paid tribute. Any vessel encountered in confederation waters without this marking was, by the pirates' own internal law, legitimate prey. It was a maritime customs regime operating in open defiance of the Qing government's own revenue apparatus.
The system did not stop at sea. Coastal villages and market towns paid regular levies in exchange for being left unmolested. Farming communities along the delta's rivers were co-opted into supply partnerships, providing rice, vegetables, and livestock to feed the confederation's floating population. Gambling houses, opium dens, and brothels in the coastal towns operated under the pirates' authority and paid for the privilege. As Robert Antony observed in Like Froth Floating on the Sea, this was not the behavior of a criminal gang. It was the behavior of an emergent state — one headquartered on the water rather than in a palace.
What made this system distinctive was not its structure, which had deep roots in the maritime world of the South China Sea. A century and a half earlier, the pirate-merchant Zheng Zhilong and his famous son Koxinga had operated an almost identical protection regime, the so-called "Lin qi" system, in which ships that paid the Zheng family's fees could fly a Zheng flag and sail unmolested. As Zeng Yufeng documented in a 2015 study, ships that paid the Zheng family protection fees "can hang up the flag made by Zheng family, and be protected by the sea power of Zheng group." The parallels are striking — both regimes functioned as maritime customs systems running in parallel to (and in defiance of) the central government's own authority, both extracted revenue in exchange for safe passage, and both projected enough naval force to make the bargain credible. But Zheng Yi Sao's innovation was not the model. It was the scale and the bureaucratic rigor she imposed upon it. Where Zheng Zhilong's system had functioned through personal networks and the implicit threat of violence — ad hoc, dependent on the charisma and physical presence of a single strongman — hers was institutionalized. It operated through written records, standardized procedures, and a chain of accountability that did not depend on any one person standing on any one deck. Zheng Zhilong built a protection racket. Zheng Yi Sao built a revenue service.
The comparison to a modern organized crime syndicate is tempting but insufficient. The Sicilian Mafia collected protection money; the Zheng confederation collected protection money, issued safe-conduct passes, adjudicated disputes, punished violators through a codified system of laws, and maintained a standing navy that could — and repeatedly did — defeat the forces of the Chinese imperial government in open battle. By 1809, the confederation's revenue system was arguably more coherent than those of several recognized states along the South China Sea littoral, where customs collection was haphazard, enforcement was inconsistent, and central authority frayed at every river mouth. The distinction matters. Zheng Yi Sao was not merely extorting the coast. She was replacing the state — and in certain functional respects, improving upon it.
The famous pirate code. In virtually every popular account — every website, every listicle, every documentary, every retelling of her story for the last ninety years — the reader is told that Zheng Yi Sao personally authored a set of strict laws governing the behavior of her pirates. The three most commonly cited rules are dramatic and memorable: unauthorized shore leave was punishable by having one's ears perforated, with a second offense meaning death. All plundered goods were to be registered and surrendered to a public fund, with the capturing pirate receiving only twenty percent and the rest flowing to the collective treasury; stealing from this fund meant death. Captive women were not to be raped or molested; any pirate who wished to take a captive woman as a sexual partner had to request formal permission, and the union had to be solemnized as a marriage; unauthorized rape was a capital offense.
These rules are real. They appear in Yuan Yonglun's Jing hai fen ji. They were enforced, apparently with considerable rigor, throughout the confederation's period of dominance. And they were not written by Zheng Yi Sao.
The primary source is unambiguous. Yuan Yonglun attributes the creation of these three specific regulations to Zhang Bao — Zheng Yi Sao's adopted stepson, military commander, lover, and eventual husband — immediately after he assumed operational command of the Red Flag Fleet following Zheng Yi's death in 1807. The passage, as rendered in Neumann's 1831 English translation, is explicit: it is Zhang Bao who issues the regulations, Zhang Bao who specifies the punishments, Zhang Bao whose authority stands behind their enforcement.
So how did this become the most famous "fact" about Zheng Yi Sao? The answer involves a chain of misreadings and amplifications that the Chinese literary scholar Wang Ke meticulously documented in a 2019 article published in Comparative Literature and Transcultural Studies. Wang Ke's analysis is the most rigorous accounting of the distortion to date, and the chain it traces is worth following in detail, because it illustrates how legend displaces history one well-meaning error at a time.
The chain begins with Yuan Yonglun's original chronicle, which is primarily an account of Zhang Bao's exploits. Wang Ke's quantitative analysis is decisive on this point: Yuan's text mentions Zhang Bao eighty-eight times and Zheng Yi Sao only twenty-five times. The protagonist of the Jing hai fen ji is not the woman who has become the story's most famous figure. It is the man who served under her.
The first distortion occurs in Neumann's 1831 English translation. Neumann's rendering is serviceable but flawed — clumsy in places, misleading in its emphasis, occasionally muddled in its attribution of actions to specific characters. His translation does not misattribute the code, but its imprecisions created opportunities for a less careful reader to do so.
That less careful reader arrived in 1932, when the English writer Philip Gosse published The History of Piracy, a popular work that drew heavily on Neumann's text. Gosse, reading carelessly or simply seduced by the more dramatic narrative, attributed the codes to Zheng Yi Sao. He went further, claiming that Yuan Yonglun's original text was "chiefly devoted to the exploits of one pirate, and that a woman" — a statement that Wang Ke's eighty-eight-to-twenty-five count demolishes. The original is primarily about Zhang Bao. Gosse either did not notice or did not care.
Three years later, the Argentine literary genius Jorge Luis Borges encountered Gosse's book and used it as the basis for "The Widow Ching, Lady Pirate," a short story published in his collection A Universal History of Infamy in 1935. Borges was not writing history; he was writing what he himself described as semi-fiction, a literary exercise in the retelling of dubious legends. But Borges was Borges, and his version — vivid, compressed, irresistible — became the version. Generations of writers, filmmakers, and popular historians drew not on Yuan Yonglun's careful chronicle but on the distorted echo that had traveled from Yuan through Neumann through Gosse to Borges, losing accuracy at every stage and gaining legend.
The distortion chain, then, runs: Yuan Yonglun (1830) → Karl Friedrich Neumann (1831) → Philip Gosse (1932) → Jorge Luis Borges (1935) → virtually every subsequent popular account. At each link, the historical Zhang Bao recedes and the legendary Zheng Yi Sao expands, until the woman who built the bureaucratic machinery becomes the woman who wrote every law, fought every battle, and single-handedly commanded every ship. The real Zheng Yi Sao — formidable, strategic, operating through institutional structures rather than personal heroics — is replaced by a cartoon of female empowerment, a pirate queen conjured from the wishes of later centuries rather than the evidence of her own.
Murray herself, in her 2001 essay "Cheng I Sao in Fact and Fiction" published in the NYU Press anthology Bandits at Sea: A Pirates Reader, identified this distortion chain explicitly. She cautioned against the inflated image of Zheng Yi Sao that had been transmitted through the Gosse-Borges pipeline, noting that the historical evidence showed a more nuanced and collaborative leadership structure than the popular "pirate queen" narrative allowed.
But correcting the attribution should not obscure the more important truth: Zhang Bao's three regulations could exist only because Zheng Yi Sao had already built the institutional machinery to enforce them. A code is only as strong as the system that administers it. The bureaucratic apparatus described above — the written applications, the registered plunder, the pursers and storekeepers who answered to the central authority rather than to individual captains — this was the infrastructure of accountability that made any regulation more than ink on paper. Zhang Bao could decree that stolen plunder meant death because Zheng Yi Sao had created the ledgers that would detect the theft and the chain of command that would carry out the sentence. He issued specific rules for his fleet. She built the bureaucratic architecture that gave those rules their force. The distinction is not trivial. It is the difference between a general who writes a field regulation and a head of state who builds the institutions of governance within which all regulations operate. One drafts law. The other creates the conditions under which law becomes possible.
The state she built had, by the autumn of 1808, proved itself in the most consequential arena available: war against the Qing Empire.
The confederacy's first great test came in September of that year, when the Qing provincial government finally gathered enough nerve and enough ships to mount a serious offensive. The man given the unenviable task was Lin Guoliang, a brigade-general commanding a fleet of thirty-five war junks — the core of the Guangdong provincial navy. Lin was an experienced officer operating under intense political pressure. The governor-general wanted results. The merchants of Canton wanted their shipping lanes cleared. The emperor himself had been made aware that an entire stretch of his empire's most vital coastline was being held hostage by a confederation of former Tây Sơn privateers commanded, improbably, by a woman.
Zhang Bao met Lin Guoliang near Mazhou Island, and what followed was less a battle than a rout. The operational details come from the Siu and Puk annotated edition of Yuan Yonglun's chronicle, as synthesized by Murray. Zhang Bao had learned his trade in the Tây Sơn wars — real wars, fought against professional armies supported by French mercenaries and modern weaponry — and he fought with the calculated ferocity of a man who understood that losing was not an option. His junks closed the distance before the government ships could form a defensive line. By the time Lin Guoliang realized the full scale of the force arrayed against him, his fleet was already fractured, individual ships cut off from one another and swarmed by pirate vessels that outnumbered them in every engagement. The ambush was devastating. Lin Guoliang's fleet was scattered and destroyed.
A month later, Zhang Bao intercepted and destroyed the fleet of another Qing officer, Lieutenant-Colonel Lin Fa. The encounter followed the same pattern — overwhelming numbers, superior coordination, a government fleet that could not match the speed or discipline of the pirate squadrons. Lin Fa's surviving ships limped back to port carrying reports that would reshape the provincial government's understanding of what it was fighting. These were not the disorganized gangs that had plagued the coast for generations. These were formations of war junks that communicated by flag signal, that maintained battle discipline under fire, that maneuvered with the coordinated precision of a professional navy. Which, in every functional sense, they were.
The twin defeats had consequences that were almost impossible for the provincial government to absorb. As Murray documents, the engagements reduced the Chinese provincial fleet by half and cleared the way for the pirates to enter the Pearl River. The most important waterway in southern China — the artery that connected Canton to the sea, that carried the empire's tea and silk to the waiting ships of the East India Company, that was the economic lifeline of an entire region — was now under the effective control of the confederation.
The Qing response was revealing. Rather than mount another direct assault — the political and military cost of another defeat was too high — the provincial authorities turned to a strategy of strangulation. They attempted to cut the pirates' supply lines, offering rewards for information and threatening the coastal communities that supplied the confederation with food and fresh water. The strategy was logical. It was also futile. The very supply partnerships Zheng Yi Sao had built — the arrangements with farmers, fishermen, and village headmen along the delta — were too deeply embedded to be severed by imperial decree. The confederation had woven itself into the coast's economy, and the coast, whether out of loyalty, fear, or rational self-interest, continued to feed the pirates.
The spring of 1809 brought a more ambitious campaign. Provincial Commander Sun Quanmou assembled a fleet of approximately one hundred ships — the largest force the government had sent against the pirates in years — and engaged what he believed was a modest pirate contingent near Dawanshan Island. It was a trap. Zheng Yi Sao, who had positioned herself personally at the head of the combined Red and White Flag Fleets, had orchestrated a pincer movement of remarkable sophistication. As Sun's fleet committed to the engagement, Zhang Bao struck from the front while other commanders swept in from the flanks and rear. Sun's fleet, caught in a closing vice, broke and ran.
This engagement — the Battle of Dawanshan Island, though no formal name has attached itself in the historical literature — was Zheng Yi Sao's most direct personal involvement in a major naval action, and the accounts in Yuan Yonglun's chronicle, as discussed by Murray in her analysis of the spring 1809 campaign, make clear that she was not present in some ceremonial capacity. She issued tactical orders. She directed the movements of multiple fleet divisions. She led the final pursuit. The deference that the Qing official Wen Chengzhi had documented in his government report Ping hai ji lüe — the chain of command in which Zhang Bao consulted Zheng Yi Sao on all matters before acting — was on full display. The phrasing in Wen's report is as close to a contemporaneous job description as the historical record provides.
The Great Raid of late summer and autumn 1809 was the culmination of everything the confederation had built — its organizational structure, its military capacity, its intelligence networks, and its administrative machinery.
The campaign was not a single raid but a coordinated series of simultaneous offensives across the entire Pearl River Delta. Zhang Bao struck at Dongguan in the east. Guo Podai drove his Black Flag Fleet deep into the rivers around Shunde, in what would become the bloodiest episode of the entire piracy crisis. And Zheng Yi Sao herself, at the head of the main body of the Red Flag Fleet, descended upon Xinhui.
The choice of Xinhui was, in strategic terms, perfectly rational — it was a prosperous market town with access to the river system, well-positioned for both plunder and logistical resupply. But the symbolic dimensions could not have been lost on a woman who had spent her entire career demonstrating an acute understanding of the performative dimensions of power. She was raiding her own birthplace. She was demonstrating, to the Qing government, to the other fleet commanders, and perhaps to herself, that sentiment had no place in the calculus of sovereignty. The coast was hers. All of it.
What happened at Xinhui in those autumn days can be partially reconstructed from the Qing provincial records that Murray analyzed. The five hundred junks did not merely anchor and demand tribute. Raiding parties went ashore. Storehouses were emptied. Livestock was seized. Villages that resisted were burned. The pattern was consistent with the confederation's established methods: exemplary violence against those who defied the fleet's authority, systematic extraction of resources, and the conspicuous display of force designed to make the next town downriver decide that cooperation was the wiser course. For the people of Xinhui — some of whom may have known Shi Xianggu when she was a girl on these same riverbanks, before the flower boats, before the sea — the message was delivered not in words but in the crescent of dark sails that filled their horizon and the smoke that rose from their granaries.
Guo Podai's rampage through Shunde and Zhang Bao's operations around Dongguan were nearly as devastating. In one documented incident, Zhang Bao's forces destroyed a large town and killed an estimated two thousand inhabitants. These were not surgical operations. They were campaigns of exemplary violence, designed to demonstrate the cost of resistance and the futility of relying on the imperial government for protection.
The effect on the Pearl River Delta's population was profound. Coastal communities that had been wavering — paying the pirates' levies reluctantly, cooperating with the government when it was convenient — now had the equation clarified for them in the starkest possible terms. The government could not protect them. The pirates could destroy them. The rational choice was cooperation, and cooperation took the form of tax payments, supply agreements, and intelligence — reports on the movements of government ships, warnings about planned military operations, information about the cargoes and schedules of merchant vessels.
By the time the autumn campaign wound down, the confederation controlled the economic life of the Pearl River Delta to a degree that no pirate organization in Chinese history had ever achieved. The Qing government's writ, nominally supreme, extended in practice only as far as the walls of Canton and the garrison towns. Beyond those walls, on the rivers and in the coastal waters and in the thousands of villages that depended on the sea for their livelihood, the authority that mattered — the authority that collected taxes, settled disputes, punished transgressors, and provided a rough but effective form of order — bore the red flag of Zheng Yi Sao's confederation.
The pirates, as Murray acknowledges, followed her — whether from admiration, fear, or self-interest.
It was in the middle of this autumn of unchallenged dominance that the pirate confederation acquired its most unlikely chronicler. In September 1809, Richard Glasspoole, a junior British officer serving aboard the East India Company vessel Marquis of Ely, was captured near the mouth of the Pearl River along with seven crewmen. His eleven-week captivity would produce one of the most extraordinary documents in the history of piracy — a rare Western window into the confederation's inner workings, shaped by terror and cultural distance but invaluable for what it reveals. His experience aboard the fleet will be examined fully in the next chapter.
Glasspoole's capture, however, also revealed something about the confederation's sophistication. His eventual ransom — negotiated through intermediaries with the East India Company — demonstrated that the pirates understood the value of Western hostages as economic assets rather than simply as victims. The ransom process itself, as documented in the ship's records, reveals a pirate leadership that understood leverage, timing, and the psychology of its adversaries.
His presence aboard the Marquis of Ely was also a reminder that the Pearl River was not a Chinese lake. It was an international waterway, crowded with the ships of European powers whose interests were entangled with the Qing Empire's in ways that were growing more complex and more volatile with each passing year. The East India Company's trade in tea and opium flowed through the very waters the confederation controlled. The Portuguese at Macau depended on the same shipping lanes. And both European powers possessed something that the pirates, for all their numbers and organizational genius, did not: modern warships equipped with rifled cannon that could fire explosive shells at ranges the pirates' antiquated smooth-bore guns could not match.
Zheng Yi Sao's confederation had crushed the Qing provincial navy. It had terrorized the coast into submission. It had built a parallel state that functioned, in its rough way, more effectively than the government it defied. But even as Glasspoole scribbled his frightened observations in the hold of a pirate junk, a new and more dangerous adversary was preparing to enter the war — one that would test not the confederation's courage or its numbers, but the limits of its technology and the resilience of its internal alliances. The Portuguese brigs Princesa Carlota and Belisário were already fitting out in Macau harbor. Their crews were small. Their guns were modern. And they were coming.
Chapter 5: "The Barbarian's Long Guns"
The first thing Richard Glasspoole noticed about captivity was the noise. Not the roar of cannon — that would come later — but the ceaseless, layered din of life aboard a pirate junk: the creak of timber under strain, the snap of matting sails catching wind, the shouts of hundreds of men living in a space designed for dozens, the crying of children, the clatter of iron cookpots, the scraping of whetstone on blade. Glasspoole was a twenty-four-year-old officer of the British East India Company, raised on order and routine, on the sharp hierarchy of a European quarterdeck where each man knew his station and his watch. Nothing in his training had prepared him for the world inside the Red Flag Fleet.
It was late September 1809 when the pirates took him. Glasspoole and seven of his crewmates from the merchant vessel Marquis of Ely had been captured while attempting to trade along the coast of Guangdong — plucked from their ship's boat by a swarm of armed junks whose crews outnumbered them so vastly that resistance was not merely futile but absurd. His published account, Mr. Glasspoole and the Chinese Pirates, which first appeared in London in 1812, would become one of the few firsthand Western narratives from inside the confederation. It is a document shaped by terror, disbelief, and the particular blindness of a man who could see the machine but never quite understand the mind that ran it.
He never met Zheng Yi Sao. In the eleven weeks and three days of his captivity, the supreme commander of the confederation remained offstage in his narrative — a name invoked, a presence felt, but never directly observed. This absence is itself revealing. She was not on the quarterdeck swinging a cutlass. She was somewhere behind the curtain, issuing written orders, reviewing accounts, directing the movement of fleets. Glasspoole saw the teeth of the beast. He never saw the brain.
What he did see, in those first disorienting weeks, was a floating civilization of staggering scale and brutal efficiency. The junks sailed in formations so dense they blocked the river channels. Men drilled with matchlock muskets on the open decks. Women — thousands of them, as the later surrender inventory would enumerate — cooked meals, mended sails, tended children, and in some cases handled weapons alongside the men. The fleet moved like a city on the march, carrying its population, its economy, and its violence wherever it went. Glasspoole witnessed executions for disobedience — men nailed to the deck by their feet, men beaten to death for stealing from the common treasury. He recorded it all with the flat, horrified precision of a man who understood he might not survive to deliver his report.
And he recorded the sounds. Not only the domestic clamor of the fleet at anchor but the new sound that arrived in late September 1809, while he was learning to keep his head down aboard a pirate junk somewhere in the Pearl River Delta — a sound that announced itself not with the familiar crack of a matchlock but with something Glasspoole would have recognized from any British harbor in the world: the deep, concussive boom of a European warship's broadside.
The Portuguese had maintained their settlement on the peninsula at the mouth of the Pearl River since the mid-sixteenth century — a toehold of European power tolerated by successive Chinese governments because it served as a useful conduit for trade and, when necessary, a buffer against other foreign ambitions. The Portuguese had their own reasons to intervene against the confederation. Their merchant shipping had been targeted relentlessly, and Macau's economy depended on the sea lanes that Zheng Yi Sao's fleets now controlled. What the Qing government wanted was simple: European guns, European ships, and European willingness to use them.
What they got was Captain José Pinto Alcoforado de Azevedo e Sousa.
Alcoforado was a career naval officer, steeped in the traditions of a Portuguese maritime service that traced its lineage back to Vasco da Gama. He was not, by the standards of European naval warfare, commanding a significant force. When he sailed from Macau in September 1809, his squadron consisted of precisely three vessels: the brigs Princesa Carlota and Belisário, and a small lorcha — a hybrid craft combining a European hull with Chinese-style rigging — called the Leão. Between them, these three ships carried thirty-nine guns and approximately two hundred and fifty men.
Against Zheng Yi Sao's five hundred ships and tens of thousands of fighters, the numbers were absurd. On paper, Alcoforado's little flotilla should have been swallowed whole, the way the Qing provincial fleets had been — overwhelmed by sheer mass, boarded, captured, and stripped. But Alcoforado carried something the pirates did not possess, something that would alter the calculus of every engagement that followed.
The Portuguese ships mounted cannons capable of firing explosive shells at ranges far exceeding anything in the pirate arsenal.
A Chinese junk, even a large war junk bristling with smoothbore guns, could fire solid iron shot at relatively short range. The ball would punch a hole in a hull or kill a man where he stood. But the effective range was limited, the accuracy poor, and the damage localized. A Portuguese brig could stand off at a distance where the pirate guns could not reach and fire shells that exploded on impact, scattering shrapnel and setting fire to the wooden junks whose decks were crowded with gunpowder, straw matting, and human bodies. As the Portuguese naval historian Saturnino Monteiro documented in his eight-volume Portuguese Sea Battles, the asymmetry was not one of courage or numbers. It was a gap between centuries of military technology compressed into the distance between two fleets on a stretch of open water.
Glasspoole, aboard the Red Flag Fleet, experienced this asymmetry from the receiving end. His account does not describe the Portuguese ships as distant abstractions; he describes them as sounds and consequences. The boom of the European guns reached across the water before the damage arrived — a reversal of the close-quarters fighting the pirates understood. Then came the explosions: shells bursting against hulls, fires erupting across decks where men had been eating rice an hour before, the sudden transformation of a war junk from a weapon into a coffin. Glasspoole describes crewmen frantically hauling buckets of water, plugging holes with wadded cloth, dragging wounded men below decks where the surgeons — such as they were — worked by lamplight.
José Ignácio de Andrade, whose 1835 memoir Memória dos Feitos Macaenses Contra os Piratas da China remains the most detailed Portuguese primary source on the campaign, describes the same engagements from the other direction, with the clinical satisfaction of a man who understood his advantage. The Portuguese ships were purpose-built for ocean warfare — deeper drafted, more heavily armed, and designed to absorb punishment that would splinter a junk. They were also, crucially, more maneuverable in open water, able to tack against the wind in ways the flat-bottomed junks could not match.
In the initial clashes of September and October 1809, the results were devastating. Consider the Leão: the smallest vessel in Alcoforado's squadron, a lorcha carrying just five guns and thirty men. On one occasion, sixteen pirate junks attacked it simultaneously. The Leão survived. The Portuguese gunnery tore through the attacking fleet, exploiting the very density of the pirate formation — the junks were so numerous and so tightly packed that nearly every shell found a target. Andrade's account records burning ships, shattered masts, bodies in the water. The pirates fought with extraordinary courage — boarding attempts were frequent and fierce — but courage alone cannot close a gap of several hundred yards against explosive ordnance.
For the confederation, this was something genuinely new. In the two years since Zheng Yi Sao had taken command, her fleets had defeated every Chinese force sent against them. They had raided with impunity from Hainan to the gates of Canton. They had developed tactics — flanking maneuvers, pincer movements, the strategic use of shallow-water channels — that consistently overwhelmed the Qing navy's sluggish, poorly maintained warships. But the Qing navy fought with essentially the same technology the pirates used: junks armed with smoothbore cannon, crewed by men whose training and morale were often inferior to the pirates' own. The Portuguese brought something from outside the system entirely — a different order of destructive power that could not be countered by numbers alone.
By November 1809, the Portuguese force had grown. Alcoforado now commanded a frigate and five brigs, crewed by 760 men and carrying 120 artillery pieces. On paper, the Qing government had also contributed to the campaign: a fleet of sixty junks carrying 1,200 cannon and manned by 18,000 soldiers sailed alongside the Portuguese. But as the records compiled by Luís Gonzaga Gomes in the Review of Culture make clear, these Qing vessels were present in name only. The imperial sailors hung back at the edges of the battle, watching the Europeans do the fighting, unwilling or unable to close with the pirate junks that had humiliated them so many times before.
On November 29, 1809, the Portuguese alone fought two hundred pirate junks in a nine-hour engagement near the Bocca Tigris — the narrow strait the West called the Tiger's Mouth, through which all traffic passed to reach Canton. The nine hours deserve attention. Imagine the sustained percussion of that day: Alcoforado's gunners loading, firing, swabbing, reloading — the rhythm repeated hundreds of times across the course of the engagement while the pirate junks pressed forward in wave after wave, each repulsed, each replaced by another. Smoke would have hung across the water so thickly that gunners aimed by sound and muzzle flash. And at the end of nine hours, fifteen pirate vessels had been sunk or burned. The Portuguese had not lost a single ship.
Glasspoole, still captive, saw the aftermath of this and other engagements from the pirate side. He confirms what the Portuguese sources describe from the other direction: the terrifying range of the European guns, the fires that ripped through the wooden junks, the chaos of a fleet that had never before faced an enemy it could not overwhelm. He describes the wounded being carried below, the dead rolled overboard, the frantic efforts to repair hulls and replace shattered masts — all with the grim specificity of a captive who understood that his survival depended on the survival of a fleet that was losing.
What Glasspoole did not fully grasp was how quickly his captors were learning.
Zhang Bao was a fisherman's son, a kidnapping victim, a pirate admiral, a lover and adopted heir of the man whose fleet he now commanded — and he was not slow. The Portuguese victories had demonstrated a simple, brutal fact: the confederation's armament was inadequate to fight a European-style naval force in open water. The solution Zhang Bao arrived at was not to avoid the enemy's weapons but to acquire them.
The Portuguese archives, as compiled by Gomes, record what happened next with evident unease. Zhang Bao had, among his thousands of captives, a number of British and American sailors — men taken from merchant vessels and held for ransom. These men understood European gunnery. They knew how to load, aim, and fire the kind of cannons that were tearing the pirate fleet apart. Zhang Bao, with the pragmatic ruthlessness that defined his command, forced these captive gunners to train his own crews. It was a crash course in military modernization, conducted under duress aboard the rolling decks of war junks, taught by men who had every reason to hope their lessons would fail.
Glasspoole — himself a potential instructor in this arrangement — witnessed the training sessions. European sailors stood beside pirate gunners, demonstrating loading sequences, correcting aim, explaining the mechanics of elevation and windage to men who had spent their lives firing at ranges where such calculations were irrelevant. The captives taught well enough to stay alive, poorly enough to preserve some margin of error. It was an impossible balance, and Glasspoole does not say whether the instruction made a material difference in subsequent engagements. But the attempt itself reveals something important about the confederation's command: it was adaptive. It did not simply absorb punishment. It studied the source of that punishment and tried to replicate it.
At the same time, Zhang Bao adjusted his tactics. He understood that the Portuguese advantage lay in open water, where their ships could maneuver freely and their long-range guns could find their targets. He began attempting to lure the heavier Portuguese vessels into the shallow channels and narrow inlets of the Pearl River Delta — waters where the Europeans' deep-drafted brigs would run aground, where the flat-bottomed junks could move freely and close to boarding range. It was the ancient strategy of the weaker naval power: deny the enemy the battle they want, and fight the one you can win.
These were the tactics of a resourceful commander operating under extreme pressure. But they also revealed the confederation's deeper vulnerability. The protection racket, the tax system, the carefully administered bureaucracy of plunder that Zheng Yi Sao had built — all of it depended on the fleet's ability to control the sea lanes. If the Portuguese could deny them open water, the economic model collapsed. Coastal towns would stop paying tribute. Merchant ships would stop buying protection passes. Power at sea, like power on land, rested ultimately on the credible threat of violence. And the Portuguese were demonstrating, engagement by engagement, that the confederation's violence could be met and overcome.
Somewhere behind these engagements, Zheng Yi Sao was watching the arithmetic change. No source records her response to the Portuguese campaign in specific terms — no order survives, no memorandum, no reported conversation. But the system under threat was hers. She had designed and administered the bureaucratic machinery described in the previous chapter — the written applications, the registered plunder, the systematic taxation. When the Portuguese guns began to shatter the fleet that enforced her economic order, she did not need a report to understand what was happening. She needed a new calculation.
It was in this atmosphere of mounting pressure that Zhang Bao made his most extraordinary gesture. On December 26, 1809, with his fleet battered and cornered, the young commander sat down and composed a letter to the man who was destroying him.
The letter was addressed to Captain José Pinto Alcoforado de Azevedo e Sousa. It was preserved in the Portuguese colonial archive, published by the scholar Biker in 1878, and it is the single most important document that survives in Zhang Bao's own voice. If Zheng Yi Sao is the great silence of this story — the commander whose words no primary source records — then Zhang Bao's letter is the great shout: a declaration of ambition so vast, so wildly disproportionate to his circumstances at the moment of writing, that it reads like the manifesto of a man who has confused his dreams with his reality.
"I reign from the seas just as from the centre of a kingdom," Zhang Bao wrote, "wielding the sceptre of power and governing all those who obey me."
Here was a former fisherman's son — a man who had been kidnapped at fifteen, brutalized by his captor, adopted into a pirate dynasty, and elevated through a combination of talent, violence, and the strategic bond with his commander's widow — writing to a European naval captain as though he were addressing a fellow sovereign. The tone was not that of a pirate requesting terms. It was the tone of a man who had come to believe his own authority was legitimate.
"My sole aim is to regain control of this territory," he continued, "and I shall not rest until I have accomplished it... While I am in command of this red flag fleet I shall do my utmost to gain the Imperial Throne. I have already ordered my fleet to sail to Boca do Tigre and defeat the usurper's army."
The "usurper" was the Jiaqing Emperor, the Son of Heaven, the ruler of the largest empire on earth. Zhang Bao was not merely refusing to surrender. He was declaring his intention to overthrow the Qing dynasty itself.
Richard Glasspoole, still aboard the fleet at this time, would later confirm the scope of these ambitions in his published narrative. Glasspoole reported that Zhang Bao "openly spoke of 'his intention of displacing the Tartar family from the throne of China.'" The "Tartar family" was the Manchu ruling house — the Aisin Gioro clan whose conquest of China in 1644 had established the Qing dynasty and imposed the queue, the humiliating forced hairstyle that marked every Han Chinese man as a subject of foreign rule. Zhang Bao's letter to Alcoforado was not mere bluster. It was an appeal, however desperate, for a European alliance against a dynasty he considered illegitimate.
The letter invites a question to sit with. Did Zheng Yi Sao know what her young commander-husband had written? The archives offer no answer, and speculation is not evidence. But consider what is known: she administered the fleet's correspondence, reviewed its accounts, and permitted nothing of consequence to proceed without her authorization. Zhang Bao's letter was not a casual note; it was a diplomatic communication to a foreign military commander, proposing an alliance that would have redrawn the political map of southern China. It is difficult to imagine such a letter leaving the fleet without her knowledge. Whether she endorsed its grandiose ambitions or merely permitted Zhang Bao the gesture is another matter entirely. Her own vision may have been more pragmatic — the sustainable extraction of wealth, the perpetuation of the system she had built — or it may have reached as far as his. The silence of the sources makes the question unanswerable. But it is a silence worth naming, because the relationship between these two people — the administrator and the warrior, the strategist and the dreamer — was the engine that drove the confederation, and the letter to Alcoforado is the one moment where the tension between their possible visions of the future becomes visible.
Alcoforado refused. One suspects the refusal required few words. But the letter's existence illuminates the dynamic at the heart of the confederation's leadership in a way that no other document can. Zhang Bao was not merely Zheng Yi Sao's military arm. He was a man with his own vision of the future, and that vision was not a well-managed protection racket in the Pearl River Delta. It was a throne.
And here, in the space between Zhang Bao's imperial fantasy and Zheng Yi Sao's administrative reality, lay the fault line that had always run beneath the confederation's surface. The partnership that powered the fleet — the woman who designed the system and the man who enforced it — was also a partnership of competing visions. She had built a machine for extracting wealth from the sea. He wanted to ride that machine to the dragon throne. Both visions depended on the same thing: a fleet that could not be defeated. And by the last days of December 1809, with Alcoforado's guns having demonstrated what explosive ordnance could do to wooden hulls at ranges the pirates could not answer, that foundation was cracking.
The Portuguese had changed the military equation in ways that no amount of tactical adaptation could fully reverse. The question facing the confederation was no longer whether it could defeat its enemies. It was whether it could survive them. The protection racket that funded the fleet depended on controlling the sea lanes; the sea lanes were now contested by weapons the confederation could not match. The bureaucracy of plunder that Zheng Yi Sao had so carefully constructed required the credible threat of overwhelming force, and that credibility was bleeding out through the shattered hulls of war junks burning on the water.
But the Portuguese, for all their firepower, commanded six ships. They could punish the confederation. They could not destroy it. The blow that would truly break the six-flag alliance — the one Zheng Yi Sao could not absorb the way she absorbed cannon fire, by repairing hulls and replacing the dead — would come not from the barbarian's long guns but from inside the confederation itself.
Chapter 6: "The Breaking of the Black Flag"
Guo Podai surrendered his entire fleet to the Qing government in January 1810, and the largest pirate confederation in history cracked down its spine.
The defection had been months in the making. The friction between Guo Podai's Black Flag Fleet and Zhang Bao's Red Flag Fleet was not a sudden rupture but a structural fault line that ran back to the confederation's founding — a weakness that Zheng Yi Sao had spent two years trying to contain and that finally, under the combined pressure of Portuguese gunnery, Qing resurgence, and the corrosive chemistry of personal resentment, broke open beyond repair.
To understand the break, one must first understand the man who made it.
Guo Podai had not chosen piracy any more than Zhang Bao had. Like Zhang Bao, he had been abducted — seized from his former life and pressed into service aboard pirate vessels. The parallel between the two men was almost exact in its origins and entirely divergent in its outcome. Both had been taken against their will. Both had proved themselves capable, ruthless, and possessed of the kind of charisma that makes armed men willing to follow orders into contested waters. Both had risen through the ranks of the pirate world to command fleets of their own.
But only one of them had been adopted into the family.
Zhang Bao's abduction had led to something extraordinary: Zheng Yi had taken the captive boy into his household, made him an adopted son, a lover, an heir. When Zheng Yi died in November 1807, Zhang Bao's position inside the family gave him a claim to succession that no outsider could match — and when Zheng Yi Sao elevated him to supreme operational command of the Red Flag Fleet and took him as her own partner, that claim became unassailable. Zhang Bao's trajectory from kidnapped fisherman's son to the most powerful pirate commander in the South China Sea had run through the intimate center of the Zheng household. His authority was personal, familial, sanctioned by the woman who held ultimate power.
Guo Podai had followed no such path. He had earned his position through years of brutal service — tactical intelligence, physical ruthlessness, and the kind of personal magnetism that attracted loyalty. He commanded the Black Flag Fleet, the confederation's second-largest force, roughly one hundred warships crewed by thousands. He had signed the 1805 agreement that bound the six colored fleets together under Zheng Yi's banner. He had fought alongside the Red Flag Fleet, shared anchorages and intelligence, divided the spoils of a hundred engagements.
But he had never been invited into the family. And the family was where the power lived.
The distinction was not merely professional. Richard Glasspoole, the East India Company officer held captive aboard the Red Flag Fleet for eleven weeks in late 1809, observed the dynamics between the two commanders with the sharpened attention of a man whose survival depended on reading the power structure around him. Drawing on Glasspoole's published account, historians have noted that there was deep animosity between the two men — that Guo Podai had long envied Zhang Bao for his rapid rise and for winning the affections of Zheng Yi Sao. The jealousy was not merely about rank. It was about proximity — proximity to the woman who held the ultimate authority. Guo Podai had watched a younger man, a man whose origins mirrored his own, become the supreme commander's lover and operational chief, while he remained a subordinate taking orders from a woman who had once worked on a flower boat. The knowledge that he and Zhang Bao had started from the same place — both abducted, both unwilling recruits — and that only Zhang Bao had been chosen, adopted, elevated into the inner circle, must have been corrosive. Every order that came down from the Red Flag Fleet's command junk was a reminder that the difference between their fates had been decided not by merit but by the accident of which captor had looked at which captive and seen a son.
Whether Guo Podai harbored designs of his own on Zheng Yi Sao, or whether his grievance was purely one of status and command, the sources do not say. What Dian Murray documents in Pirates of the South China Coast, 1790–1810 is that the friction between the Black and Red Flag Fleets had been embedded in the confederation's architecture from its inception. The 1805 agreement held together through three adhesives: Zheng Yi's personal authority, the shared profits of the protection racket system, and the implicit threat that any fleet that broke ranks would face the combined wrath of the others. By the autumn of 1809, all three adhesives had weakened. Zheng Yi was dead. The protection rackets were under pressure from a newly aggressive Qing government. And the implicit threat had lost much of its force — because the confederation was no longer fighting coastal villages and merchant junks. It was fighting the Portuguese Empire.
The Portuguese campaign had changed everything. The explosive shells that had torn through the pirate fleet in the autumn engagements — weapons the confederation's smooth-bore guns could not answer — had shattered the aura of invincibility that had protected the Red Flag Fleet since its destruction of the Qing provincial navy in September 1808. Every junk sunk, every engagement lost, made the alternative — surrender, amnesty, a return to fishing — marginally more attractive.
Guo Podai's calculations shifted accordingly. It was into this atmosphere of mounting pressure that the crisis between the fleets erupted. The immediate trigger, according to Murray and the Chinese-language sources she draws upon, was a refusal. In late 1809, with the Portuguese tightening their blockade and the Qing navy emboldened by the presence of European warships, Zhang Bao called upon Guo Podai for assistance. The request was not extraordinary — the confederation's entire purpose was mutual defense, and the 1805 agreement explicitly bound the fleets to support one another. Guo Podai refused. He would not commit his hundred ships to a battle against European guns. He would not risk his fleet to save Zhang Bao.
The reasons were layered. Part tactical calculation: the Portuguese had demonstrated that they could sink Chinese junks with relative impunity, and Guo Podai may have concluded that joining the fight was simply poor strategy. Part personal resentment: the accumulated years of watching Zhang Bao gather power, the knowledge that his rival shared not merely a command structure but a bed with the supreme commander — that the younger man had been handed the family bond Guo Podai had never been offered. And part, almost certainly, an assessment that the wind had shifted. The confederation's best days were behind it. The question was no longer whether it would survive, but what terms its leaders could secure for themselves when it fell apart.
Zhang Bao's response was not diplomatic. He attacked.
The sources are imprecise about the exact date and location — the fighting appears to have taken place in the waters around Lantau Island and the Pearl River estuary in December 1809 — but the consequence was unambiguous. The confederation's two largest fleets were killing each other in the same waters where they had once sailed in formation against the Qing.
For Zheng Yi Sao, this was the scenario she had spent two years working to prevent. Her command strategy since Zheng Yi's death in November 1807 had been built on maintaining the alliance between the fleets — calibrating rivalries without allowing any single one to escalate beyond recovery. She had cultivated Guo Podai's acquiescence even as she elevated Zhang Bao above him. She had used the bonds of the Zheng lineage — the loyalty of Zheng Yi's nephew Zheng Baoyang and other family members — to create a web of obligations that held the center. And she had enforced, through the bureaucratic apparatus she had constructed, a system of shared profit designed to make cooperation more lucrative than defection.
But systems cannot survive indefinitely when the men inside them calculate better odds outside. Guo Podai had calculated. The man who had been abducted into piracy just as Zhang Bao had, who had watched his fellow captive rise to supreme command through the intimacy of adoption and partnership while he remained outside the family circle — that man had finally concluded that his resentment and his self-interest pointed in the same direction.
The defection, when it came, was total. In January 1810, he led his entire Black Flag Fleet — all hundred ships, all their men, all their weapons — out of the confederation and surrendered to the Qing authorities. It was not a capitulation. It was a transaction. The Qing government, desperate for any advantage against the pirates who had humiliated its navy for years, welcomed Guo Podai and promptly commissioned him as a pirate-hunter. The man who had ravaged Shunde only months earlier now sailed under the imperial dragon flag, authorized to turn his guns on his former comrades.
Zheng Yi Sao had spent her entire career navigating systems of power responsive only to leverage. She had survived the flower boats of Canton, the factional politics of the confederation, the death of her husband, and the technological shock of Portuguese gunnery. But she could not survive the arithmetic. With the Black Flag Fleet gone, she had lost roughly a quarter of her total force at a stroke. Worse, she had gained an enemy who knew the confederation's tactics, its signals, its anchorages, its vulnerabilities — an enemy now sailing in combined formation with the Qing navy and the Portuguese flotilla.
The blockade that had been tightening for months suddenly had teeth. And Zheng Yi Sao, surveying the diminished fleet from whatever command junk she occupied in those bleak January days, would have understood — perhaps sooner than anyone around her — that the confederation she had built and held together was entering its final chapter. The question was no longer how to win. The question was how to end this without losing everything.
It was Zhang Bao who answered that question first — and he answered it with fire.
On January 21, 1810, he launched an all-out attack on the Portuguese fleet. The engagement would come to be known as part of the Battle of the Tiger's Mouth — the Western name for the Boca do Tigre, the narrow passage where the Pearl River empties into the South China Sea — though the fighting on this day took place in the waters near Lantau Island, some distance from the Tigre's mouth itself. The Portuguese primary sources, preserved in José Ignácio de Andrade's Memória dos Feitos Macaenses Contra os Piratas da China and compiled by the historian Luís Gonzaga Gomes in a 1987 article for the Review of Culture, provide the most detailed tactical account of what happened. Cross-referenced with Siu and Puk's 2007 annotated edition of Yuan Yonglun's chronicle, they allow a reconstruction that is unusually vivid for events two centuries old.
Zhang Bao marshaled everything he had. Three hundred war junks. Fifteen thousand cannon of varying caliber, some crewed by foreign gunners he had compelled to serve — according to Portuguese records, he had "forced captive American and British gunners to teach his crew how to properly use cannon" after the early defeats. Twenty thousand men. On paper, it should have been overwhelming. The Portuguese and Qing forces arrayed against him remained the same coalition that had been tightening the noose for months, but their numbers were a fraction of his own.
Zhang Bao knew what he was facing. He had seen the Portuguese shells tear through the timber hulls of his junks at distances his own guns could not reach. He had watched men die from shrapnel and fire in engagements where they could not even close the range to board. He was not ignorant of the odds. But he was a man who had recently sent a letter to Alcoforado declaring his intention to seize the Imperial Throne itself — that extraordinary document, dated December 26, 1809, in which he cast himself not as a bandit but as a rival sovereign. The man who wrote those words was not calculating a retirement. He was gambling everything on a single engagement.
Whether Zheng Yi Sao knew about the letter, whether she endorsed its sentiment or regarded it as the dangerous fantasy of a man she needed to manage, no source records. But she knew Zhang Bao — knew his ambitions, his recklessness, the furnace of self-belief that burned behind his tactical intelligence. If she read or heard the words he sent to Alcoforado, she would have recognized them for what they were: not merely a boast, but a declaration that made negotiation with the Qing almost impossible. A man who has announced his intention to seize the throne cannot easily be offered amnesty. She may well have calculated, in those January days, that Zhang Bao's letter had narrowed her options before she had finished mapping them.
A man who dreamed of toppling the dynasty was not inclined to accept the slow strangulation of a blockade. He would fight. And so, on January 21, he threw his entire fleet at the Portuguese line.
Three hundred junks came on at once.
The problem was not courage — Zhang Bao's men had that in excess. The problem was physics, geometry, and the brutal logic of modern naval gunnery. Three hundred vessels, no matter how bravely crewed, could not maneuver simultaneously against a small, disciplined formation of European warships without fouling each other's fields of fire, tangling their rigging, and presenting a dense, massed target to the enemy's guns. The Portuguese ships held their positions and fired methodically. Their explosive shells detonated inside the wooden hulls with devastating effect — each hit producing a cascade of splinters that killed and maimed more men than the shell itself. The lorcha Leão, whose shallow draft allowed it to operate in waters the bigger brigs could not enter, proved particularly lethal: a small, agile predator darting among the larger junks, firing, wheeling, firing again.
And then the moment that broke the fleet.
Somewhere in the center of Zhang Bao's formation rode a vessel unlike any other. Larger, more elaborately decorated — gilded, carved, hung with pennants and banners that marked it as the spiritual heart of the fleet. The Portuguese records describe it as a "floating pagoda." It appears to have served a dual purpose: part command platform, part mobile temple, a sacred vessel whose presence among the warships lent the battle a ceremonial weight that went beyond tactics. Chinese maritime warfare had always carried a religious dimension; sailors burned incense to Mazu, the sea goddess, before battle, and the great pagoda-junk was the physical embodiment of that spiritual armor. To every captain in the fleet, it was the visible center — the fixed point around which the formation oriented itself, the flag that said: the center holds.
Pilot José Gonçalves Carocha of the Leão saw it. The Portuguese accounts preserved by Gomes record the moment with the specificity of an official report: Carocha "ordered his artillery to fire on a great floating pagoda in the center of the pirate fleet."
The shells found their mark.
The pagoda-ship — with its carvings and its banners and whatever prayers had been spoken over its keel — lurched. Water poured through the shattered hull. The vessel listed, settled, and went down. Around it, the sea filled with debris: splintered wood, torn silk, the small carved figures of protective deities tumbling into the gray water.
"Upon seeing the pagoda-ship sink, the pirate fleet scattered."
It would be easy to attribute this collapse to superstition — the primitive terror of men who took the destruction of a temple ship as a sign of divine disfavor. But that reading is too simple. What sank with the pagoda-ship was not merely spiritual protection but organizational coherence. It was the visible center. The point around which every captain in that vast, chaotic fleet oriented himself. Three hundred ships, each crewed by men who had already endured weeks of defeat and the trauma of the Black Flag Fleet's betrayal, looked toward the center and found it gone. Nothing held them together. And so they ran.
The retreat was not orderly. Zhang Bao's fleet broke and fled toward the only refuge available — the shallow coastal waters of Tung Chung Bay, on the north side of Lantau Island, where the deeper-drafted Portuguese warships could not follow. It was a natural harbor of sorts, protected by headlands and sandbars, and the pirate junks — many of them flat-bottomed vessels designed for the rivers and estuaries of the Pearl River Delta — could navigate its shallows where European keels would run aground.
It was also a trap.
The Portuguese could not enter Tung Chung Bay, but they did not need to. They sat outside its mouth, guns trained on the narrow entrance, and waited. No pirate junk could leave without running the gauntlet of explosive shells. The Qing fleet, emboldened by the Portuguese victory and now reinforced by Guo Podai's turncoat Black Flag squadron, sealed the remaining exits. The blockade that had been loosely enforced for weeks became absolute. Inside the bay, Zhang Bao's surviving fleet — still numbering in the hundreds of ships, still crewed by thousands of armed men — was cornered.
Zheng Yi Sao was there. She had personally anchored at Tung Chung in the days before the battle — Murray and Siu and Puk's annotated edition of Yuan Yonglun place her in the area with a smaller detachment of the fleet, undertaking repairs. Whether she witnessed the January 21 engagement from a command junk or received reports of its outcome from the waterline, the situation she now confronted would have admitted no ambiguity.
Inside the bay, the calculus was stark. Food and water for a limited time, no means of resupply. Ammunition dwindling. Ships damaged in the January 21 engagement needed repairs that could not be adequately performed in the cramped anchorage. And the morale that had carried the Red Flag Fleet through years of dominance — the confidence of men who had humiliated the Qing navy and taxed the coastal trade at will — was crumbling under two successive shocks: the Black Flag's betrayal and the destruction of the pagoda-ship. Zheng Yi Sao could see it — in the way men gathered in knots on the decks, in the whispered conversations that stopped when she passed, in the faces of captains who no longer met her eyes with the same certainty. She had managed men's loyalties her entire career; she would have recognized the precise temperature at which loyalty begins to evaporate.
The confederation was finished. Not weakened, not damaged — finished. The Black Flag Fleet was gone, turned instrument of the Qing. The Portuguese had proved that their handful of modern warships could defeat any number of pirate junks in open water. The Qing navy, which had been devastated after Zhang Bao's victories of September 1808, was now reinforced by both European technology and a former pirate commander who knew every trick in the Red Flag Fleet's repertoire. The other fleets — Blue, White, Yellow, Green — had scattered, surrendered, or retreated to distant waters. No reinforcements were coming.
She had, in Robert Antony's framing from Like Froth Floating on the Sea, a force composed largely of "poor fishermen and sailors who could not depend solely on honest work to sustain their lives" — men who had been coerced or recruited into piracy and who owed their loyalty not to an abstraction but to the commander who fed them and kept them alive. If that commander could no longer feed them, could no longer keep them alive, the loyalty would dissolve.
She had perhaps two weeks, maybe three, before the blockade broke her fleet's will entirely.
What she did next was the most characteristic act of her career. Not because it was violent, or dramatic, or even visible — but because it revealed the quality that had distinguished her from every other pirate commander in the South China Sea.
She did not despair. She did not order a suicidal charge against the Portuguese guns, as a lesser commander drunk on Zhang Bao's imperial fantasies might have. She began to think about leverage.
Because even now, she had some. She had thousands of armed men and hundreds of ships — too strong to destroy without a bloody, protracted assault that would cost the Qing and Portuguese dearly. She had hostages: foreign prisoners of war, including the British and American sailors captured in preceding months. She had the threat of chaos: if her fleet dissolved into small, desperate raiding parties rather than surrendering en masse, the piracy problem would not end but metastasize — thousands of armed men scattered across the coast in a convulsion of uncoordinated violence far harder to suppress than a single concentrated force.
And she had something else — something that no one outside the bay understood as well as she did. The Qing government needed this to be over. Not in six months, not after a grinding campaign of attrition, but now. The Guangdong coast was hemorrhaging revenue. Trade was paralyzed. The imperial bureaucracy in Beijing was demanding results. Viceroy Bai Ling, the senior Qing official responsible for the region, was under enormous pressure, and resolution meant negotiation — because annihilation, as the Portuguese had proved possible for a few hundred ships, was logistically impossible for the entire fleet without a siege that could last months and cost lives the dynasty was not prepared to spend.
She understood that she was defeated but not powerless. And that distinction — between defeat and powerlessness — was the narrow channel through which she would now navigate.
One imagines her in those days aboard a junk in the crowded anchorage, the gray winter light coming through the latticed windows of the stern cabin, the sound of water against the hull and the distant murmur of twenty thousand anxious men. She had been in confined spaces before — the flower boats of Canton were confined spaces, and she had learned to read power in those too. The walls of Tung Chung Bay were wider than any flower boat, but the logic was the same: when you cannot leave, you must make the people who hold the door want to open it.
The sources suggest that Zhang Bao exploited a heavy fog — the kind that settles over Tung Chung Bay in late winter, erasing the boundary between water and sky — to break elements of the fleet through the blockade at Chek Lap Kok at some point during the weeks-long standoff. The precise date is not recorded in any English-language source; it may have occurred before or after the January 21 battle, during one of the periods when the combined Qing and Portuguese cordon was at its tightest. What Murray documents is that Zhang Bao "broke through the blockage set up in Chek Lap Kok by joint force of Ching and Portuguese navies" under cover of reduced visibility. The specific tactics are not described, but the result is clear: Zhang Bao, or at least a portion of his fleet, escaped the tightest ring and gained enough freedom of movement to negotiate from something other than complete encirclement.
But escape was not victory. He had broken through one cordon only to find himself in a sea increasingly hostile — patrolled by Portuguese warships, policed by Guo Podai's turncoat squadron, watched by a Qing navy that was, for the first time in years, emboldened enough to sortie. The Red Flag Fleet remained the most powerful single pirate force afloat, but it was a force without allies, without resupply, and without the confederation that had made it unassailable.
The question was no longer whether to surrender, but how. And it was here that the partnership between Zheng Yi Sao and Zhang Bao revealed its deepest architecture. Zhang Bao was the warrior — he had fought the battles, written the defiant letter to Alcoforado, dreamed of the Dragon Throne. Zheng Yi Sao was the strategist, the woman who had built the bureaucratic apparatus that turned a mob of armed sailors into something resembling a state. Zhang Bao could break through blockades. Zheng Yi Sao could negotiate the terms that would let them survive the other side.
The initial overtures to the Qing went nowhere. Zheng Yi Sao demanded amnesty for all her followers, retention of a substantial private fleet, and official positions for herself and Zhang Bao. Viceroy Bai Ling refused — unconditional surrender or nothing. But Bai Ling was bluffing, and Zheng Yi Sao knew it. He needed a resolution at least as urgently as she did. The stalemate held.
Meanwhile, an unexpected intermediary emerged. Zhang Bao, drawing on the grudging respect he had earned from the Portuguese through months of combat, sent word to Alcoforado on February 21, 1810, agreeing to consider surrender — but only on the condition that the ouvidor of Macau, Miguel José de Arriaga Brum da Silveira, serve as mediator and guarantor. The demand was calculated: by insisting on a European mediator, Zhang Bao was telling the Qing that he did not trust them, and that any agreement would require the guarantee of a foreign power. An extraordinary assertion of dignity from a man who was, by any conventional measure, cornered.
It was also, almost certainly, a move coordinated with Zheng Yi Sao. The woman who had walked into a flower boat negotiation at twenty-six, who had navigated the succession crisis of 1807 through a web of family alliances and personal relationships, who had built a shadow state on written applications and registered plunder — she understood the power of choosing your own mediator, of setting the terms of the conversation before the conversation began.
The Portuguese were receptive. Alcoforado, in a moment of extraordinary personal courage documented in Andrade's account and compiled by Gomes, agreed to a face-to-face meeting. Against the explicit warnings of his officers, who feared a trap, the Portuguese captain boarded a small dinghy and rowed alone into the pirate fleet to meet Zhang Bao aboard his flagship. The lone European officer, unarmed, pulling his oars through the gray water toward a forest of masts and cannon. Arriving alongside a war junk from which thousands of hostile eyes stared down. And then — the crash of cymbals. A gun salute. Zhang Bao, the pirate who had declared his intention to seize the Imperial Throne, receiving the man who had defeated him with the ceremonial honors of a sovereign welcoming a foreign dignitary.
Zhang Bao, according to the Portuguese accounts, "was deeply impressed and flattered at the level of confidence that Alcoforado displayed towards him, and as a gesture of appreciation released the British and American POWs in his power." The prisoners were the first concession. They would not be the last.
But the negotiations were only beginning, and they would require months more of maneuvering, bluffing, and the kind of political judo at which Zheng Yi Sao had no equal. The immediate military crisis had stabilized into a standoff — the pirates too strong to destroy quickly, too weak to break free. The question of surrender terms remained open, and it was a question she intended to answer on her own terms.
Inside the bay, the damaged junks rode at anchor. The men waited. Fog came and went. And the woman who had held the largest pirate confederation in history together through two years of political will — who had been born Shi Yang, perhaps, a stone in the sun — was preparing for the last and most audacious gambit of her career.
She would not send emissaries. She would not negotiate through intermediaries.
She would go herself, in person, into the heart of the enemy's power — walk into the Viceroy's office with nothing but a handful of women and children at her back, and demand the impossible.
And she would get it.
Chapter 7: "Seventeen Women and Children"
The blockade held. And in the cramped anchorage where her fleet sat cornered, Zheng Yi Sao began the most audacious calculation of her career.
The sources do not record the moment of decision. No memoir, no official report, no captured letter preserves the instant when Zheng Yi Sao looked at the wreckage of the confederation's military position and concluded that the path forward ran not through another battle but through a courtyard in Guangzhou. What survives is the logic of the situation — and the logic, once laid bare, has the cold clarity of a blade.
She would have known it all with the precision of a woman who had spent three years managing the logistics of a floating state — counting ships, calculating rice stores, tracking the mood of commanders whose loyalty depended on the flow of plunder. And she would have known what the Qing knew too: that a direct assault on Tung Chung Bay would be enormously costly, and that the provincial navy's track record made success far from certain. Both sides were trapped — the pirates by the blockade, the government by its own military inadequacy.
The Qing's weakness ran deeper than the navy. The Portuguese, who had done most of the actual fighting, were growing impatient with what they regarded as Chinese incompetence and ingratitude. The British East India Company, whose interests in the region were served less by ending piracy than by undermining Portuguese influence, had complicated matters in the ways already discussed — the idle frigate Mercury, the covert arms sales. The Pearl River Delta was not merely a theater of piracy — it was a staging ground for imperial rivalries, and every major power was running its own calculations.
Initial surrender negotiations had gone nowhere. Zheng Yi Sao and Zhang Bao demanded terms that the Viceroy found unacceptable: full amnesty for all pirates, the retention of a substantial private fleet, and military commissions that would give Zhang Bao legitimate authority within the Qing system. Bai Ling, a newly appointed official sent specifically to resolve the pirate crisis, refused. From his position, granting such terms to pirates who had spent years humiliating the imperial navy would constitute an intolerable loss of face — not merely for himself but for the dynasty. The Confucian bureaucratic system ran on the careful calibration of honor and submission; you could not reward men who had openly defied the Emperor and expect the architecture to hold.
Alcoforado's audacious personal visit to Zhang Bao's flagship — the dinghy, the cymbals, the gun salute, the released prisoners — had already complicated matters by establishing a diplomatic channel that bypassed the Qing entirely. The pirates were beginning to deal with European officers as sovereign equals — and the Qing could not permit that dynamic to harden into precedent.
So: a government that could not win a battle. A pirate fleet that could not break a blockade. A European alliance fracturing along its own fault lines. And at the center, a woman calculating which of the narrow remaining doors might still open.
The door she chose was the one no one expected.
On the morning of April 17, 1810, Zheng Yi Sao walked calmly toward the Yamen of Bai Ling, the Viceroy of Liangguang, accompanied by sixteen other women and children from the fleet.
She brought no weapons. She brought no warships, no cannon, no armed escort of battle-hardened pirates bearing cutlasses and matchlock muskets. She did not arrive under the red banner that had terrorized every fishing village, salt warehouse, and merchant convoy on the South China coast for the better part of a decade.
Seventeen people. Unarmed. Walking into the administrative heart of the Qing Empire's southern coastal authority — the very government that had spent years and fortunes trying to destroy them.
It was, by any measure, the most audacious act of her career. And it was the one that would save everything.
The risk of walking into the Yamen was not abstract. If Bai Ling chose to interpret the visit as a surrender rather than a negotiation — if he arrested her, or worse — the Red Flag Fleet would lose its supreme commander and its chief negotiator in a single stroke. Zhang Bao might fight on, but without the political intelligence that had held the confederation together through three years of escalating pressure, he would be a tactician without a strategist. She was gambling that Bai Ling needed her walking out of that Yamen as much as she needed him to let her walk in.
The decision to arrive as an unarmed woman accompanied only by other women and children was, on its surface, an act of surrender. It looked like submission. It was dressed in the language of submission. A widow, a mother, approaching the representative of the Son of Heaven to plead for clemency — the Confucian system understood this posture, had rehearsed it for centuries. Women were weak. Women were to be pitied. Women could be forgiven, because women had never truly been the threat.
Everyone in the Yamen that morning knew this was untrue. The woman crossing the threshold was the supreme commander of the most powerful pirate confederation in Chinese history, a woman who had personally directed fleet movements of five hundred warships, who had ordered the destruction of her own home region, who had built a bureaucratic empire of plunder that operated as a shadow state along the entire Guangdong coast. The Qing government knew who held the real authority — the deference that the Qing government's own records had documented left no doubt about the chain of command within the Red Flag Fleet. They understood exactly who she was and what she had done. The question was whether they could afford to say so.
Charlie Harris, writing in 2021 for the Oxford Centre for Global History, identifies this moment as the most vivid illustration of how Zheng Yi Sao "converted power gained through interpersonal, gendered relationships into formal control." By arriving as a widow and mother, she handed Bai Ling something he desperately needed: a face-saving narrative. He was not capitulating to a pirate commander. He was showing mercy to a woman. He was not negotiating with an enemy general. He was extending the benevolence of the imperial system to women and children swept up in their husbands' and fathers' crimes. The amnesty could be framed not as a defeat but as an act of Confucian virtue — the sovereign power being magnanimous, the widow being grateful.
It was a fiction. But it was a fiction both sides could inhabit.
Recent scholars drawing on Murray's work have described this maneuver as a "calculated performance of gender" — a phrase that captures both its deliberateness and its precision. Zheng Yi Sao understood that in the rigid hierarchy of Qing official culture, the appearance of a thing mattered as much as its substance. If she could give the Viceroy the appearance of victory, he could give her the substance of what she wanted.
What she wanted was everything.
The negotiations that followed are not documented in the kind of granular detail that would allow us to reconstruct the room. No transcript survives. No observer recorded how Bai Ling received the small delegation, what his expression was when the former pirate commander stood before his desk, or what words passed between them in those first minutes. Dian Murray's reconstruction in Pirates of the South China Coast, drawing on the Jing hai fen ji and Wen Chengzhi's official account, provides the political architecture of what happened, but the human texture — the pauses, the gestures, the negotiations within the negotiation — is lost.
What we know is that the deadlock broke. Within days, terms that had seemed impossible were suddenly on the table. The critical intermediary was not Bai Ling himself but the Portuguese magistrate Miguel José de Arriaga Brum da Silveira, the ouvidor — head judge — of Macau, whose role in the proceedings had been specifically demanded by Zhang Bao. The demand itself reveals the sophistication of the pirate leadership's diplomatic strategy. Zhang Bao had insisted on Arriaga not because he trusted the Portuguese more than the Chinese — he trusted no one, as his letter to Alcoforado had made plain — but because the involvement of a European mediator gave the negotiations an international character that elevated the pirates' status. They were not criminals petitioning for mercy. They were a sovereign-like power negotiating a treaty.
The fact that Arriaga's official term as ouvidor had already expired added a layer of almost farcical bureaucratic complication. His designated replacement, João Baptista de Guimarães Peixoto, had what the Portuguese records euphemistically describe as "a bad reputation." Peixoto attempted to insert himself into the proceedings, but the people of Macau opposed him, and — as Gomes records — "the Qing and Cheung Po Tsai would accept nobody else" besides Arriaga. Even the Governor of Macau complicated matters by refusing to allow the formal signing ceremony to take place within the city walls, forcing Arriaga to conduct the final negotiations at the Mong Ha Pagoda — the Kun Iam Temple — outside the city gates. It was the same temple where, thirty-four years later, the Sino-American Treaty of Wanghia would be signed. The location was acquiring a habit of hosting uncomfortable truces between powers that did not quite know how to regard each other.
Zhang Bao's own posture during the negotiations reveals the extent to which the political strategy was coordinated between him and Zheng Yi Sao. He arrived not as a supplicant but as a defeated general who refused to concede the point. According to Portuguese primary sources — the accounts of Andrade, Gomes, and Monteiro — he made a specific, humiliating demand of the Qing negotiators: he insisted on being "treated as a free man by the Qing since he had only been defeated by the Portuguese." The statement was devastating in its implications. The Qing provincial navy, which had spent years and enormous resources attempting to destroy the confederation, was being told — in front of European witnesses — that it had never actually won. Only the foreigners had achieved that. If Bai Ling wanted Zhang Bao's fleet off his coast, he would have to swallow this truth and offer terms generous enough to make surrender more attractive than continued resistance.
This was the knife's edge: the Qing needed the pirates to surrender, the pirates needed the Qing to make it worthwhile, and each side needed to construct a version of events that allowed the other to save face. Zheng Yi Sao's walk into the Yamen had provided the frame. Now it was a matter of filling in the details.
On April 20, 1810, near Furongsha, an anchorage on the Pearl River, the surrender was formalized. The terms were extraordinary — not merely in what they granted but in what they revealed about the balance of power that still obtained between the pirate confederation and the Qing state, even at the moment of the confederation's dissolution.
The inventory, compiled by the Qing authorities and preserved in the annotations of Siu Kwok-kin and Puk Wing-kin's 2007 scholarly edition of Yuan Yonglun's Jing hai fen ji, provides numbers that stagger the imagination. The Red Flag Fleet turned over 280 ships, 2,000 guns, 7,000 swords and spears, and 1,200 cannon of various sizes. Over 16,000 men laid down their arms.
And then there is the number that stops you: 5,000 women.
Five thousand women. It is the only surviving enumeration of the non-combatant female population of the confederation, and it reveals a world far more complex than the romantic image of a pirate fleet allows. These were not all fighters. Many were wives, mothers, daughters — women who had been born on the water or brought aboard through marriage, capture, or the simple absence of anywhere else to go. Some had lived under the code's regulations regarding captive women — the requirement that any relationship be formalized as marriage, on pain of severe punishment. Others had spent their entire lives within the floating society of the fleet, raising children on warships, cooking meals in the holds of junks thick with the smell of gunpowder and fish oil, nursing the wounded after battles they could hear but could not flee. They were the invisible infrastructure of the pirate state, the human fabric that held together a military machine of tens of thousands.
And on April 17, seventeen of them had walked through the gates of a Yamen to negotiate for the lives of all the rest.
The formal terms of amnesty, as documented by Murray and by Wen Chengzhi's official account, were a testament to Zheng Yi Sao's negotiating precision. The vast majority of the 17,318 surrendered individuals — a figure that included the 5,000 women and children — were pardoned outright. They received provisions: pork, wine, and cash to ease the transition to civilian life. Only a fraction faced punishment: fourteen were deemed the worst offenders and were beheaded; 126 more were executed by other means; 151 were banished; sixty were exiled for two years. In a force that had terrorized an entire coast for nearly a decade, the casualties of the judicial process amounted to less than two percent. The remaining ninety-eight percent walked free.
For Zhang Bao, the terms were not merely lenient — they were lavish. He was awarded the rank of lieutenant in the Qing navy, the equivalent of a qianzong, and was permitted to retain a private fleet of between twenty and thirty ships. He was, in effect, being hired. The man who had declared his intention to "gain the Imperial Throne" was now being asked to serve the throne instead — to turn his tactical skills against the pirates who had not yet surrendered, to become the state's instrument against its own former enemies. Zhang Bao, whatever his private feelings about the accommodation, accepted.
For Zheng Yi Sao herself, the terms were even more remarkable. She received a full pardon — not merely for herself but for her entire family, including her children by both Zheng Yi and Zhang Bao. She was granted formal permission to marry Zhang Bao, legitimizing their union in the eyes of the Qing state and securing the legal status of their children. She received more than a pardon. The Qing court granted her the title of 二品誥命夫人 — Second-Rank Noblewoman by Imperial Decree, the aristocratic status of a senior official's wife. The woman who had been born on a flower boat, who had no family name the archive recorded, was now formally enrolled in the Qing nobility. The question of ships is muddled in the sources: some accounts, including details preserved in Murray's research, indicate that she personally retained command of twenty-four ships and over 1,400 men, while Zhang Bao's commission came with twenty to thirty vessels. Whether these were separate allotments or overlapping designations — her ships folded into his official command, or his authority nominal over what she actually controlled — the sources do not resolve. What is clear is that the couple left the negotiating table with a combined fleet, substantial assets, and a future that no other pirate commander in the region had been offered.
The contrast between what the confederation had been and what it became on that April day deserves a moment's weight. At its peak, less than a year earlier, the pirate alliance that Zheng Yi had forged and Zheng Yi Sao had commanded encompassed six fleets, hundreds of warships, tens of thousands of fighting men, a protection racket that taxed virtually every vessel on the Guangdong coast, and a code of conduct enforced by capital punishment. As late as September 1809, Zheng Yi Sao had personally commanded five hundred ships near Tanzhou. The confederation had defeated the Qing provincial navy in every major engagement, controlled the entrance to the Pearl River, and forced three empires — Chinese, Portuguese, and British — to devote significant military and diplomatic resources to its destruction.
Now it was gone. Not destroyed — dissolved, on terms that its leader had dictated.
This is the fact that separates Zheng Yi Sao from virtually every other pirate commander in recorded history. Edward Teach — Blackbeard — died with his head hanging from the bowsprit of a Royal Navy sloop. Henry Every vanished into obscurity, hunted until his death. Bartholomew Roberts was killed by grapeshot off the coast of Africa. Anne Bonny disappeared from the historical record after her conviction, her fate unknown. The annals of piracy are a catalog of violent ends, ignominious captures, and last stands. The profession did not offer retirements.
Zheng Yi Sao retired. She retired with ships, with wealth, with legitimate social status, with her children's futures secured, and with the man she had chosen as her partner elevated to official honor. She had achieved what Dian Murray, in a judgment that has become the scholarly consensus, described as the defining fact of her career: she was "one of the most successful pirates, male or female, to have ever lived." The success was measured not only in battles won but in the war ended — on her terms, at a table she had chosen, in a language the system recognized.
And the key to all of it had been the walk. Seventeen women and children, crossing a courtyard in Guangzhou, unarmed, under the gaze of imperial officials who knew exactly who they were dealing with and chose — because they had to, because she had made it possible for them — to pretend they didn't.
Zheng Yi Sao was not a proto-feminist in any meaningful sense. The codes governing conduct aboard the fleet — including the regulations on captive women — were instruments of organizational discipline, not expressions of women's rights, as discussed in the analysis of the code in Chapter 4. But what she did at the Yamen was something more layered than tactical cynicism. She understood that power is not always force. Sometimes power is narrative: who tells the story, and in what terms. By walking into the Yamen as a widow and mother, she was not pretending to be something she was not. She was a widow. She was a mother. The performance was not false — it was selective, a curated version of the truth that foregrounded certain facts while leaving others decorously unspoken. She did not choose the world that made such performances necessary. But within that world, she chose every tool available to her, and she used them with a precision that the historical record, fragmentary as it is, cannot obscure.
We do not know what Bai Ling thought when the woman crossed his threshold. We do not know what the sixteen women and children walking behind her felt — whether they were terrified, hopeful, numb with exhaustion, or carrying all of these at once. Their inner lives are lost, as the inner lives of the unrecorded are always lost — not because they did not exist but because no one with ink and authority thought them worth preserving. What survives is the outcome: the document, the numbers, the terms. And the terms tell us who held the real power in that room.
In the days that followed, the machinery of amnesty ground into motion. Pirates who had spent years living by plunder were given pork and wine and told to find honest work. Warships that had terrorized merchant fleets were stripped of their cannon and repurposed — or burned. The protection certificates that had served as the confederation's customs regime became worthless paper. The coastal villages that had paid tribute for years discovered, with a mixture of relief and unease, that the men who had extorted them were now their neighbors.
For the Qing state, absorbing the pirate fleet was a logistical burden but also a windfall. Zhang Bao was immediately put to work. Within weeks of the formal surrender — by May 24, 1810, according to the Cheung Po Tsai biographical sources — he was already participating in joint Chinese-Vietnamese naval expeditions to suppress the pirate remnants who had not yet come in. The outlaw carried an imperial commission now. The net that had once caught him he now cast for others. Whether this struck him as ironic, pragmatic, or simply the cost of survival, no document records. The transformation was swift and final. The red flag came down. A new one went up.
For Zheng Yi Sao, the transition was quieter but no less profound. She had spent the previous decade building and commanding an organization that, at its height, functioned as a parallel state — complete with taxation, courts, codes of conduct, and a bureaucracy that demanded documentation for every transaction. Now that state was gone, absorbed into the government it had defied. She was no longer the commander of six fleets. She was an officer's wife.
But she was alive. She was free. She was wealthy. And she was — for the first time in her adult life — legitimate.
The formal marriage to Zhang Bao, solemnized with Bai Ling standing as witness, was the final element of the settlement. It bound together the personal and political dimensions of a relationship that had begun in strategic calculation — she had, after all, initiated the relationship only after installing him as commander of the Red Flag Fleet — and evolved into something more durable, though its emotional character remains beyond recovery. Now that relationship was being consecrated by the state. By presiding over the ceremony, Bai Ling was performing the ritual absorption of chaos into order, of piracy into legitimacy, of the ungovernable sea into the bureaucratic state.
What Zheng Yi Sao accomplished in April 1810 was not merely a negotiation. It was a translation — a rendering of one kind of power into another. The pirate commander became a wife. The outlaw became a citizen. Each transformation was real, and each was also a performance — a calculated adoption of the identities that the Confucian state recognized as legitimate channels for female influence. She had spent her career stretching those channels to their limits — wife of Zheng Yi, widow of Zheng Yi, mother of Zheng Yi's sons — and now she stretched them one final time, walking through the gates of the Viceroy's compound as the most dangerous woman in the South China Sea dressed in the posture of the most harmless.
The gates closed behind her. The red flag came down. And the question that would define the rest of her life began to take shape: what becomes of a pirate queen on dry land?
Chapter 8: "The House of Tranquil Sea"
No record describes the interior of her establishment, but we can assemble the world she inhabited from what we know of Canton's gambling houses in the 1830s and 1840s.
The smoke hung in layers, thickening near the ceiling where the lamp oil burned in shallow dishes and thinning near the floor where the draft from the open doorway stirred the haze into slow, ghostly currents. The gambling house was loud at this hour — it was always loud at this hour, the hour after sunset when the fishermen had come ashore and the traders had closed their ledgers and the men of uncertain occupation who populated every port city in southern China drifted through the doors looking for something sharper than the evening. The clatter of dice against wooden bowls, the slap of cards on lacquered tables, the low murmur of wagers offered and accepted — these sounds washed over the room like tide over flat rock, constant and rhythmic and indifferent to the particular fortunes being made or lost at any given table.
She sat in the back. She always sat in the back. The woman who had once commanded five hundred warships and held the entire Pearl River Delta in a chokehold of extortion and violence now presided over a different kind of operation — governed by the same architecture of control, built now on a scale that required no cannon. She was in her mid-sixties, her hair gray, her face weathered by decades of salt wind and southern sun, and she watched her establishment with the same flat, calculating attention she had once brought to the disposition of fleets. Nothing moved through the gambling house without her knowledge. No debt was forgiven without her permission. The money flowed in, was counted, was recorded. The same insistence on written documentation and registered inventories that had governed the pirate confederation now governed the tables and the till. The ledger had replaced the logbook. The principle had not changed.
She was Zheng Yi Sao. She had been Shi Xianggu on the flower boats, Shi Yang before that — if the modern Chinese scholar Ye Lingfeng was correct about her birth name. She had been the wife of Zheng Yi and then the widow of Zheng Yi and then the commander of the largest pirate confederation in recorded history and then the wife of Zhang Bao and then the wife of a Qing naval officer and then a widow again and now this: a businesswoman in the waterfront districts of Guangdong, running a gambling house that was, by most accounts, flagrantly illegal and enormously profitable. She had survived everything the world had thrown at her — poverty, the sex trade, marriage to a pirate lord, his drowning, a succession crisis, naval warfare against three empires, a negotiated surrender, a second marriage, a second widowhood — and she had arrived at the one destination that almost no pirate in history ever reached: old age.
The years between the surrender and the gambling house had not been quiet ones, though the historical record treats them as though they were. After the amnesty of April 1810 — an event covered extensively in the previous chapter — Zheng Yi Sao and Zhang Bao had entered a new life that would have seemed absurd to anyone who had known them during the years of blood and cannon smoke. Zhang Bao, the former fisherman's son who had been abducted at fifteen, who had risen to command the most powerful pirate fleet in the South China Sea, was now a colonel in the very navy he had spent a decade humiliating.
The Qing government, in its pragmatic wisdom, had decided that the most effective pirate hunter was a former pirate. Zhang Bao was given the rank of qianzong — roughly equivalent to a lieutenant or junior colonel — and command of thirty ships. According to the Siu and Puk annotated edition of Yuan Yonglun's chronicle, he eventually rose to the position of fujiang, or deputy commander, of the naval garrison at Penghu, the windswept archipelago in the Taiwan Strait known to Europeans as the Pescadores. His former adversaries in the Qing officer corps had to salute him.
Their marriage was formalized with a ceremony at which Viceroy Bai Ling himself — the same official who had spent months trying to destroy them — served as witness. Dian Murray, in her foundational study Pirates of the South China Coast, notes the marriage as a key term of the amnesty agreement, one that Zheng Yi Sao had specifically demanded. The insistence was not sentimental. It was structural. A legal marriage meant legal children, legal inheritance, legal standing in a society that granted women almost no independent status except through their relationships to men. She had walked unarmed into the Viceroy's compound and dictated terms; now she walked out with a marriage certificate, the most practical document she had ever obtained.
And so the former pirate commander became, for a time, an officer's wife. She accompanied Zhang Bao to his postings in Fujian province, where the pace of life bore no resemblance to the campaigns of terror and extortion she had orchestrated across the Pearl River Delta. In 1813, while stationed at Min'an in Fujian, she gave birth to their son, Zhang Yulin. A daughter followed at an unknown date — the sources preserve nothing of this child beyond the bare fact of her existence, not her name, not when she was born, not what became of her. This erasure, among all the silences in Zheng Yi Sao's record, is perhaps the most intimate: a daughter born to a woman whose own girlhood had gone unrecorded, now herself rendered invisible by the same indifference that had swallowed her mother's origins. The children would have grown up in the compound of a mid-ranking naval officer — a world of routine, hierarchy, and the peculiar respectability that attaches to military service even when the soldier's previous career involved mass piracy.
Zhang Bao, for his part, threw himself into his new role with the same ferocious energy he had brought to everything else. Within weeks of the surrender — by May 24, 1810, according to records cited in secondary sources — he was already participating in joint Chinese-Vietnamese naval expeditions to suppress the remnants of the pirate fleets he had once commanded. The outlaw now carried an imperial badge. He knew the sea routes, the hiding places, the tactics. He knew which coves offered shelter in a typhoon and which channels were too shallow for a deep-drafted war junk. He knew these things because he had used them himself, and his former confederates, the men who had once fought under his red flag, now found themselves hunted by a man who understood their every move before they made it.
But the confederation's dissolution did not simply absorb tens of thousands of pirates into the Qing naval apparatus or the fishing villages from which many had come. Those who refused amnesty — nearly one hundred thousand people by Chinese estimates — fled south, scattering across the Philippines, North Borneo, and Malaya. Chinese sources describe this as the largest wave of Chinese emigration before the contract labor era, an entire shadow society dispersed across Southeast Asia, carrying with them the skills, the grudges, and the networks of a world that had ceased to exist.
No records survive of what Zheng Yi Sao thought about this transformation. No diary, no letter, no recorded conversation captures her inner life during these years. This silence is not inherent to who she was — a woman of her intelligence and force of will must have had much to say about the strange trajectory from pirate queen to officer's wife. The silence belongs to the archive, not to the woman. The sources that documented her commands and her battles simply ceased to consider her worth recording once she no longer held a fleet. Did she find the officer's life stifling after the vast autonomy of command at sea? Did she and Zhang Bao discuss the old days — the battles, the negotiations, the night the floating pagoda sank under Portuguese shellfire? These questions are not unanswerable because she had no thoughts. They are unanswerable because no one thought to write them down.
What we do know is that it ended. On some day in 1822, near the Penghu Islands where he had served as deputy garrison commander, Zhang Bao died at sea. He was approximately thirty-six years old — though his birth year, like so much in this story, depends on which source one trusts. The cause of death is unrecorded — whether illness, accident, or combat during one of his anti-piracy patrols, no source specifies. The Siu and Puk annotations state simply that he died "at sea." The boy who had been plucked from his father's fishing boat at fifteen, who had been the lover and adopted son of one pirate lord and the husband of another, who had dreamed of overthrowing the Qing dynasty and placing himself on the Dragon Throne, died in the service of that same dynasty, in waters far from the Pearl River where his legend had been made.
No source records her response. This is not unusual — no source records her response to anything during these years — but the weight of what is missing here deserves acknowledgment. Zhang Bao was the instrument she had chosen: the young commander she had elevated over older rivals, the man she had shaped into both a weapon and a husband, whose ambitions she had channeled and whose audacity she had directed. He had written to the Portuguese captain Alcoforado claiming the Imperial Throne. He had carried her designs across the South China Sea for a decade. And now the sea had taken him, as it had taken Zheng Yi fifteen years before. She had been widowed by the water twice — first on the Pearl River in 1807, now in the Taiwan Strait — and whatever she felt as the news reached her, whether grief or exhaustion or the cold recognition that the sea collects all debts eventually, she felt it in silence, or at least in a silence that no surviving document breaks.
Zheng Yi Sao was a widow for the second time. She was approximately forty-seven years old, with at least three living children — her two sons by Zheng Yi, Zheng Yingshi and Zheng Xiongshi, and her son by Zhang Bao, the nine-year-old Zhang Yulin. The daughter's whereabouts go unmentioned. She was also, by this point, a woman of considerable means. The amnesty terms had been generous, and Zhang Bao's years of naval service had brought salary, status, and opportunity. In 1824, she gathered her family and returned to her home province of Guangdong. She would not leave again.
Zhang Yulin never served in the military; he received his official rank through his father's accumulated merit, and he died of tuberculosis in Macau.
The gambling house she established — whether in Macau proper, as some accounts suggest, or in the Canton area, as others indicate — became the center of her later life. The precise location remains contested in the secondary literature; legal documents from 1840 place her in Nanhai, a district adjacent to Canton, which suggests she may have relocated from Macau at some point or maintained operations in both places. What is clear is that she ran the establishment herself, that it was large and profitable, and that it operated on the far side of legality.
This should surprise no one. The Qing government's regulation of gambling was as inconsistent as its regulation of maritime trade — officially prohibited, practically tolerated, and selectively enforced according to the whims and corruption of local officials. For a woman who had spent her career navigating the gray spaces between law and custom, between state authority and the realities of power on the water, running an illicit gambling house was the application of old skills to new circumstances. Some sources, including Chinese popular histories, also connect her to the salt trade — a business that, in Qing China, was one of the most tightly regulated and most frequently smuggled commodities in the empire. The salt monopoly was a cornerstone of imperial revenue, and illicit salt trading was a capital offense in theory, though in practice it was so widespread that the government could not suppress it. That Zheng Yi Sao may have been involved in it is entirely consistent with the pattern of her career: operating within systems of ostensible prohibition while maintaining relationships with the officials who were supposed to enforce them.
The people who frequented her gambling house would have known who she was. In the close quarters of Cantonese society, where reputation traveled faster than ships and memory was long, the story of Zheng Yi Sao — the flower-boat woman who married a pirate lord, seized his fleet when he drowned, and forced the Qing government to surrender to her — would have been part of the ambient knowledge of the waterfront. But no Cantonese memoirist recorded an encounter with her in her later years. No visiting European traveler noted the existence of a famous former pirate queen running a gambling den in the Canton suburbs. The silence is striking, and it speaks to something important about the way memory works in the absence of deliberate preservation. She was not forgotten — not yet — but she was also not being remembered in any form that would survive her.
Then, in February 1840, she made one last appearance in the documentary record, and she made it in the most characteristic way possible: by walking into a yamen.
It was the second time she had done it. Thirty years earlier, she had walked unarmed into the Viceroy's compound in Canton and dictated the terms of her own amnesty — a performance of calculated vulnerability that had won her a marriage, a title, and her life. Now she was sixty-five years old, living in Nanhai, and she walked into the Governor-General's Yamen with the same deliberate stride, the same refusal to be turned away, the same understanding that the imperial bureaucracy was a system, and systems had entry points if you knew where to push. The first walk had won her a future. This second walk was an attempt to reclaim a piece of the past.
Her petition, preserved in paraphrase in the memorial that Governor-General Lin Zexu subsequently filed with the throne — the text of which survives in the Lin Zexu Ji (2002 edition, pages 830–831) — reveals her voice breaking through the bureaucratic record with startling clarity. She called herself mingfu — noblewoman — asserting the title she had held since her marriage to Zhang Bao, the title that marked her as the legal wife of a Qing officer and entitled her to formal standing before the court. She stated that in 1810, at the time of the surrender, Zhang Bao had entrusted twenty-eight thousand taels of silver to a man named Wu Yaonan for the purpose of property investment. She stated that letters and receipts documenting the transaction existed. She stated that her husband had died in 1822, that she had returned from Fujian to Guangdong in 1824, and that in all the years since, neither the property nor the money had materialized. She stated that she had pursued the matter through the county court and that it had not been resolved. She demanded repayment.
Twenty-eight thousand taels. The sum alone tells a story — it was the kind of money that could purchase a substantial estate, enough to secure a family for generations. That Zhang Bao had possessed such a sum at the moment of surrender, and that he had entrusted it to a specific individual with documented receipts, speaks to the meticulous financial management that had characterized the confederation under Zheng Yi Sao's administration. The ledgers she had kept at sea were not abstractions. They recorded real wealth, and that wealth had been channeled, at the moment of transition from pirate to officer, into the most conventional investment imaginable: land. That the investment had been stolen — or simply never executed — was a betrayal not merely of trust but of the entire architecture of careful documentation she had built her career upon.
The case was assigned for investigation. Magistrate Liu Shilu examined the evidence. Wu Yaonan was summoned. No corroborating witness could be produced to verify the original transaction — thirty years had passed, and the men who might have testified were dead or scattered. Then came the test that would determine the case's fate: Wu Yaonan was ordered to write in court, so that his handwriting could be compared against the letters and receipts Zheng Yi Sao had submitted. He wrote. The handwriting was completely different.
The magistrate's finding was damning — not for Wu Yaonan, but for the petition. Without a corroborating witness and with handwriting that did not match, the documentary evidence she had preserved for three decades was ruled inconclusive at best, fraudulent at worst. The woman who had built an empire on written records — who had insisted that every captured cargo be inventoried, every ransom be receipted, every transaction be documented — found her own documents turned against her.
But it was not the magistrate who destroyed her case. It was the Governor-General.
Lin Zexu's memorial to the Daoguang Emperor, filed on June 14, 1840 — the very day that British warships appeared off the coast of Guangdong, marking the opening of the First Opium War — went far beyond the narrow question of whether Wu Yaonan owed the money. Lin claimed no personal feud with the petitioner. He was careful about that. But the memorial betrayed a deeper animosity, one rooted in history that Lin himself may not have fully acknowledged. His very first memorial to the throne, written twenty years earlier as a young official, had concerned Zhang Bao — the pirate-turned-officer whose irregular career had offended Lin's Confucian sensibilities even then. The woman now standing in his yamen was the widow of the man who had been the subject of Lin Zexu's earliest act of bureaucratic ambition. Whether this constituted a grudge in the formal sense is unknowable. That it constituted a pattern is undeniable.
Lin's memorial did not merely recommend dismissing the lawsuit. It attacked Zheng Yi Sao's identity itself. He argued that she had no right to the title mingfu — that she was Zhang Bao's second wife, a remarried woman, and that her claim to the noblewoman's rank was therefore fraudulent. The argument was legalistic, technical, and devastating. Under Qing law, the conditions governing the transmission of a husband's status to a wife were precise, and Lin exploited every available ambiguity. He was not simply denying her claim to twenty-eight thousand taels. He was denying her claim to be who she said she was.
The Emperor agreed. The lawsuit vanished into the vast archive of Qing bureaucratic proceedings, and with it went something more than money. Lin Zexu's memorial — filed on the first day of a war that would consume his career and end in his own disgrace and exile — became the instrument through which the state would eventually complete its accounting with Zheng Yi Sao. Five years later, in the fifth month of 1845, approximately one year after her death, the Daoguang Emperor issued an edict posthumously stripping the deceased woman surnamed Shi of her mingfu title. The legal architecture for that final erasure had been laid in Lin's 1840 memorial. He had given the bureaucracy the argument it needed, and the bureaucracy, with its inexorable patience, had used it — waiting until she was safely dead to act.
Decades later, an editor of the Shunde County Gazetteer added a note to the local record. The note was brief, and it carried the weight of something that had not diminished with time: Forty years on, speaking of it still makes one's hair stand on end. The editor did not specify what "it" was — whether the piracy itself, the audacity of the surrender, the lawsuit, or the sheer improbability of the woman's entire career. The ambiguity is the point. Whatever "it" referred to, forty years had not been enough to domesticate it.
The interaction with Lin Zexu's administration also spawned one of the most persistent myths in Zheng Yi Sao's biography: the claim that she served as a military advisor to the Qing government during the Opium War. The story's logic is seductive — she was alive, she was in Canton, she was in documented contact with Lin Zexu's office, and she possessed perhaps the most extensive knowledge of South China Sea naval warfare of anyone living. The problem is that no credible scholarly source confirms the advisory role. Murray makes no mention of it. Robert Antony, whose Like Froth Floating on the Sea and subsequent Golden Age of Piracy in China represent the second pillar of serious scholarship on the subject, does not mention it either. Charlie Harris, in his 2021 analytical essay for the Oxford Centre for Global History, does not include it. The claim appears to originate from geographical and temporal coincidence rather than from any documented evidence of consultation. The lawsuit is real. The interaction with Lin Zexu's administration is documented. Everything beyond that is speculation.
There is a temptation, when writing about Zheng Yi Sao, to make her into something she was not. For some, she becomes a feminist icon who shattered patriarchal norms. For others, a romantic figure commanding her fleet from the prow of a war junk. For still others, a morality tale about redemption through respectability.
None of these framings survive contact with the evidence. As discussed in Chapter 4, the codes were instruments of discipline, not liberation — their prohibitions on rape existed alongside death sentences for consensual extramarital sex, revealing a system designed to maintain order among forty thousand armed men, not to protect women's autonomy. She was not fighting for women's rights. She was managing a volatile population whose internal conflicts, if uncontrolled, would destroy the organization from within.
The romantic reading collapses against the testimony of those who experienced her power firsthand. Richard Glasspoole's captivity narrative describes a world of routine brutality — men nailed to decks, prisoners beaten, villages burned. Western captivity accounts depict highly theatrical violence, including disembowelment and the consumption of human hearts. This was coercive terror, deployed systematically to maintain discipline and extract compliance from coastal populations.
And the morality tale collapses against the simple fact that she was never punished. She did not seek redemption. She sought retirement on the best possible terms, and she got it. The gambling house was not evidence of moral transformation; it was evidence of the same strategic intelligence applied to new circumstances. She had always understood that power lay not in violence itself but in the systems that organized and directed violence toward profitable ends. When the violence became untenable, she abandoned it and found other systems to organize.
What remains, when the myths are stripped away, is harder to romanticize but far more significant: a woman who mastered every system she encountered. The flower boats taught her the economics of human desire and the political value of information. The pirate confederation taught her the logistics of managing a massive, coercive organization through bureaucratic discipline. The surrender negotiations taught her the art of leveraging weakness into strength through calculated performance. And the gambling house confirmed what she had always known — that the person who keeps accurate books outlasts the person who wields the sword.
What actually happened is both simpler and more remarkable.
Zheng Yi Sao died in 1844, at approximately sixty-nine years of age. No source gives a cause of death, a precise location beyond Guangdong or Nanhai, or any description of her burial. There is no obituary, no mourning notice, no gravestone that scholars have been able to identify. The silence at the end of her life mirrors the silence at its beginning — a woman who rose from total obscurity to command one of the largest naval forces in history, who returned to obscurity so completely that the exact circumstances of her death are unknown.
She died a grandmother. She died wealthy, free, unpunished — never imprisoned, never brought to any accounting for the years of violence and extortion that had made her name synonymous with fear across the South China coast. She had negotiated her way out of everything.
And then she was forgotten.
The forgetting happened in stages, and it happened differently in the Chinese world and the Western world.
In Chinese popular memory, the folk hero of the Pearl River Delta was not Zheng Yi Sao but Zhang Bao. His name attached itself to caves and temples across Hong Kong and the surrounding islands — the Cheung Po Tsai Cave on Cheung Chau, sites on Lamma Island, Tap Mun, and half a dozen other locations. He has been the subject of Hong Kong television dramas and tourist attractions; a replica junk bearing his name still sails in Victoria Harbour for visitors. For Zheng Yi Sao — the woman who had placed Zhang Bao in command, who had devised the confederation's bureaucratic structure, who had personally led fleets of five hundred ships, who had walked unarmed into the Viceroy's compound and dictated terms — there is nothing comparable. No cave. No temple. No tourist attraction. The commander was erased; the subordinate was mythologized. The woman who held ultimate authority disappeared from collective memory; the man who, as the government official Wen Chengzhi had documented, deferred to her judgment in all matters became the legend.
The imbalance was baked into the sources from the beginning. As Wang Ke's quantitative analysis demonstrated in Chapter 4, the foundational chronicle already treated her as secondary to Zhang Bao — a disproportion that everything built on that foundation would only magnify. A woman who commanded men at sea, who wielded authority over tens of thousands of armed fighters, who negotiated with viceroys and foreign naval commanders — this was not a figure that fit within the Confucian framework governing how stories were told and remembered in nineteenth-century China. Zhang Bao, by contrast, was a comprehensible hero: a poor boy who rose through daring and martial skill, served his country in the end, and died young. His story had the shape of a folk ballad. Hers had the shape of something the culture had no template for.
In the Western world, she was remembered — but as someone she never was. The chain of distortion traced in Chapter 4 — from Neumann's 1831 translation through Gosse's misattributions to Borges's literary reimagining — transformed the historical organizational genius into a swashbuckling fictional pirate queen. Through Borges, "Madame Ching" — a name with no basis in Chinese nomenclature — entered the Western lexicon. By the time she appeared as "Mistress Ching" in the 2007 film Pirates of the Caribbean: At World's End, the figure on screen bore almost no relationship to the historical woman.
The result was a peculiar double erasure. In the Chinese world, she was forgotten in favor of her subordinate. In the Western world, she was remembered as a fictional character whose most famous attributes were either misattributed, invented, or linguistically nonsensical. The real woman — the bureaucratic administrator, the political tactician who navigated a succession crisis in a patriarchal society, the negotiator who dictated the terms of her own amnesty — disappeared behind the legend.
She did not transcend the gender norms of her time. She operated within them — as wife, as widow, as mother — and she used each role as a platform from which to exercise authority that the roles themselves were not designed to contain. She did not choose the flower boats. She chose Zhang Bao. She did not choose the world that made the terms of surrender necessary. She chose the terms. The distinction between the agency she exercised and the constraints within which she exercised it is the key to understanding her — not as a generic symbol of female power, but as this specific woman, in this specific time, making these specific calculations. She stretched every available channel of female power to its absolute limit, and then she stretched it further, and then she retired and ran a gambling house until she died.
In the end, what we know about Zheng Yi Sao's death amounts to four words: 1844, Guangdong, China, peacefully. There is no deathbed scene to reconstruct, no final words to quote, no weeping family gathered around a silk-curtained bed. There is only the bare fact of her survival — the improbable, stubborn, magnificent fact that she outlived every enemy, every ally, every system that tried to contain or destroy her.
She had been born into nothing. No record preserves her parents' names or her childhood or the circumstances that brought her to the flower boats of Canton. She had been sold or trafficked into the sex trade, most likely, though even this is inference rather than established fact. And yet she chose, with every tool the world had failed to deny her, to become something. She married a pirate, seized his fleet, built an empire, fought three navies, dictated terms to a viceroy, married her admiral, raised children, buried her second husband, opened a gambling house, filed a lawsuit, and died in her own bed at sixty-nine. She was not a legend. She was something rarer and more formidable: a woman who won.
The gambling house is gone. Its location is uncertain, its name unrecorded, its customers anonymous. The woman who ran it left no diary, no memoir, no letter that any scholar has been able to locate. She exists in the documentary record as a series of actions — marriages, commands, battles, negotiations, a lawsuit — surrounded by immense silences. But the actions speak. They have spoken for more than two centuries, in languages she never knew, to audiences she could never have imagined, and they will go on speaking long after the myths that distort them have been corrected and forgotten.
Zheng Yi Sao died in 1844. The South China Sea continued without her, as it had before her and as it would after. The tides rose and fell in the Pearl River Delta, and the fishing boats went out at dawn, and the salt merchants counted their profits, and the flower boats rocked gently on the water in the lamplight. The world she had terrorized went on. But it was never quite the same.