
Intro
The Pearl River Delta, 1809. The air hung thick with smoke and the acrid smell of gunpowder. Aboard the flagship junk, a woman stood unmoved by the chaos. Around her, the allied cannons of the Portuguese Empire and the Great Qing dynasty thundered, their fire aimed at the vast armada under her command. She was not a military commander by official title, nor a noble by birth. She was Shi Yang, known to the Cantonese as Zheng Yi Sao—the widow of Zheng Yi. With a fleet that dwarfed many national navies, she had brought maritime trade in the South China Sea to its knees, humbled European powers, and forced the Chinese Emperor’s officials to the negotiating table. Her very existence defied every expectation of her gender, her station, and her era. But before we witness how this confrontation ends, we must start at the beginning, in a world where her rise was deemed impossible…
Etymology: A Name That Became a Title
To understand her legacy, one must first untangle the web of names history has given her. Born around 1775, she was given the name Shi Yang (石陽). In historical records and popular culture, she is far better known by the appellations tied to her relationships with powerful men.
Upon her marriage to the pirate commander Zheng Yi in 1801, she became Zheng Yi Sao (鄭一嫂), a Cantonese term literally meaning “Wife of Zheng Yi.” This was a common practice that effectively erased her personal identity in official discourse and subsumed it under her husband’s. Western chroniclers and later historians would transliterate this name variously as Shek Yeung, Cheng I Sao, or Ching Shih.
After her husband’s death and her subsequent union with his adopted son and protege, Zhang Bao, she was sometimes referred to as Zhang Bao Sao. In later Qing documents and modern Taiwanese contexts, the name Shi Xianggu (石香姑) also appears. The multiplicity of names reflects the complex layers of her identity: a woman navigating a patriarchal power structure, a leader leveraging familial and marital ties, and a legend being rewritten by each generation that tells her story.
Life: From Floating World to Commanding the Seas
Shi Yang’s early life is shrouded in the mists of history and often colored by later prejudice. She was born near Xinhui in Guangdong province during the reign of the Qianlong Emperor, a time of both opulence and underlying social strain. Many sources, particularly later Western accounts, suggest she was of Tanka ethnicity—a traditionally boat-dwelling community that faced significant social marginalization in Qing China. Some accounts claim she worked on a huā chuán (flower boat), a type of floating entertainment vessel, possibly as a singer, procurer, or prostitute. However, as historian Dian Murray notes, conclusive evidence for this is lacking, and such claims often sensationalized her origins and discredited her authority (Murray, 1987).
Her life was transformed in 1801 when she married Zheng Yi, a formidable pirate leader from a lineage with roots in the Ming dynasty. Zheng Yi was no ordinary brigand; he was a privateer with political patrons, having fought for the Vietnamese Tây Sơn dynasty and later for Nguyễn Ánh (the future Emperor Gia Long) in the chaotic Tây Sơn wars. This marriage at age 26 was likely a strategic alliance, merging Shi Yang’s reputed intelligence and local knowledge with Zheng Yi’s martial power.
The geopolitical landscape shifted when the Tây Sơn dynasty fell in 1802. With his political patrons gone, Zheng Yi turned his ambitions to the Chinese coast. Following the death of his cousin and rival, Zheng Qi, he consolidated power and, with Shi Yang’s adept counsel, forged a historic agreement in July 1805. This pact united rival Guangdong pirate bands into a single, unprecedented Pirate Confederation, organized into six color-coded fleets. Zheng Yi commanded the largest—the Red Flag Fleet—but the confederation’s stability relied heavily on Shi Yang’s political acumen in balancing the ambitions of its other leaders, like Guo Podai of the Black Flag Fleet.
Tragedy struck on November 16, 1807, when Zheng Yi died in a storm. In the volatile world of piracy, a power vacuum usually led to bloody fragmentation. Yet, Shi Yang, now Zheng Yi Sao, deftly navigated the crisis. With crucial support from Zheng Yi’s adopted son, Zhang Bao, who commanded the Red Flag Fleet’s loyalty, she assumed de facto control of the entire confederation. A Qing official, Wen Chengzhi, later reported that “Zhang Bao obeyed Zheng Yi Sao’s orders, and consulted her on all things before acting” (Yuan, 1830, as cited in Antony, 2003). Her authority was not merely derived from widowhood; it was earned through recognized competence. She and Zhang Bao soon became intimate partners, solidifying their rule through both personal and political union.
Battles: The Confederation’s Reign and the Coalition’s Response
Under Zheng Yi Sao and Zhang Bao’s joint command, the Pirate Confederation reached its zenith, comprising 400 to 600 junks and between 40,000 to 70,000 men—a force larger than most contemporary national navies. From 1808, they launched devastating campaigns into the Pearl River Delta, the heart of southern China’s economy.
Their tactics were brutal and effective. They imposed “protection taxes” on coastal villages and merchant shipping, systematizing extortion into a reliable source of revenue. In 1809, they executed coordinated, large-scale raids. Zhang Bao ravaged Dongguan, while Guo Podai’s campaign in Shunde was described as particularly bloody. Zheng Yi Sao herself took personal command of fleets, notably in a pivotal battle in March 1809, where she orchestrated a multi-pronged naval maneuver that routed the Qing provincial commander Sun Quanmou (Antony, 2003).
The confederation’s success was a profound embarrassment and a severe economic threat to the Qing state. Provincial fleets suffered repeated humiliations. In desperation, Qing authorities in Guangdong made an unprecedented decision: they sought help from foreign “barbarians.”
This led to the Battle of the Tiger’s Mouth (1809-1810), a protracted naval campaign where the confederation faced a coalition of Qing forces and the Portuguese Navy from Macau. The Portuguese, motivated by a desire to secure their trade and avenge pirate attacks on their ships, brought modern naval warfare to the delta. Their vessels, like the brig Belisário, were outnumbered but technologically superior, armed with carronades and coordinated broadsides.
A critical moment came in late 1809. After a series of skirmishes, a joint Portuguese-Qing fleet blockaded Zhang Bao and Zheng Yi Sao’s main force in Tung Chung Bay on Lantau Island. For weeks, the pirates were trapped. The Qing attempted a fire-ship attack, which the pirates ingeniously neutralized. Finally, on January 29, 1810, exploiting a shift in the wind, Zheng Yi Sao and Zhang Bao led a daring breakout, slicing through the blockade and escaping to open sea with their fleet largely intact (Rocha, 2011).
While tactically an escape, the blockade was strategically draining. More critically, the confederation’s unity was fracturing. Guo Podai, feeling slighted and seeing the changing tides, had already opened secret negotiations with the Qing and surrendered his Black Flag Fleet in January 1810, receiving a military commission in return. The legendary coalition that had dominated the seas was crumbling from within.
Conclusion of the Story: The Masterful Negotiation
Now, let us return to that smoke-choked bay in 1809. As the Portuguese shells burst and Qing arrows flew, Zheng Yi Sao assessed her dwindling options. The unified front against her was new, but the avarice and rivalry within it were ancient. She knew empires, like pirate confederations, were fragile things. Her power was not just in the cannons of her junks, but in her understanding of this very fragility—in governments, in men, and in the alliances that bound them.
Cornered but not defeated, and with her coalition breaking apart, Zheng Yi Sao chose a path of brilliant pragmatism. In early 1810, she initiated surrender negotiations—but on her own terms. She understood that the Qing authorities were desperate for peace and that she still held considerable leverage.
In a stunning move, she personally led a delegation of women and children to the Yamen (government office) in Guangzhou to negotiate directly with the Viceroy of Liangguang, Bai Ling. Her bravery and savvy paid off. The surrender agreement, finalized on April 20, 1810, was extraordinarily lenient. Zheng Yi Sao, Zhang Bao, and over 17,000 of their followers were pardoned. She was allowed to retain 24 ships and 1,433 men from her personal fleet. Zhang Bao received a military commission in the Qing navy. Most remarkably, the Qing state sanctioned their marriage, legitimizing their union (Murray, 1987).
The story that began on the deck of a besieged flagship did not end with a glorious last stand, but with something far more subversive: a negotiated victory where she dictated the terms. She walked away from the sea with her life, her freedom, her wealth, and her loved ones intact.
A Quiet Aftermath
This was not the end of her life, but a transformation. Zhang Bao served with distinction in the Qing navy, hunting down former pirate rivals. He died in 1822 while serving as a colonel. Zheng Yi Sao, ever resilient, returned to Guangdong. Leveraging her wealth and connections, she became the prosperous owner of a gambling house in Canton, a venture that kept her at the center of a different kind of underworld. She lived quietly but forcefully, even filing a lawsuit against a corrupt official in 1840 (a case eventually dismissed by the famous commissioner Lin Zexu). She died in 1844 at around age 68 or 69, a grandmother who had outlived empires and lived a life of peace on her own terms.
Literature & Legacy: From History to Myth
Zheng Yi Sao’s legacy extends far beyond historical archives. Her story has been shaped and reshaped by historians and storytellers, often reflecting contemporary preoccupations with gender and power.
A key element of her mythos is the famous Pirate Code. A strict set of laws—including prohibitions against raping female captives, rules for fair distribution of plunder, and harsh penalties for disobedience—was historically authored by Zhang Bao for the Red Flag Fleet, as recorded in the contemporary Qing account Jing hai fen ji (Yuan, 1830). However, since British popular historian Philip Gosse first described it in his 1932 book The History of Piracy, this code has been persistently and incorrectly attributed to Zheng Yi Sao (Gosse, 1932). This misattribution seems driven by a desire to cast her as the singular, law-giving “Pirate Queen,” an archetype that fascinated Western audiences. This version of the code was further immortalized in Jorge Luis Borges’ short story The Widow Ching, Lady Pirate (1935).
In modern fiction, her complexity is being reclaimed. Larry Feign’s historical novel The Flower Boat Girl (2021) and Rita Chang-Eppig’s Deep as the Sky, Red as the Sea (2023) center on her interior life, exploring the psychological and social pressures of her journey. She even appears in science fiction as a symbol of formidable rebellion; Edward Ashton’s 2022 novel Mickey7 names its interstellar ship the Ching Shih.

Gosse, P. (1932). The history of piracy. Longman, Green and Co.
Murray, D. H. (1987). Pirates of the South China Coast, 1790-1810. Stanford University Press.

Leave a Reply