← People Worth Knowing
Volume XXVII

Ching Shih

She started in a Canton brothel and ended up commanding the largest pirate fleet in history bigger than most national navies of her day. Then, unlike nearly every pirate before or since, she negotiated her own retirement and died peacefully in old age.

Listen to the intro

Ching Shih born Shi Yang around 1775, likely to a marginalized Tanka boat-dwelling family in Guangdong worked a Canton floating brothel before marrying pirate captain Zheng Yi in 1801 as a full partner, not a subordinate wife. When he died in 1807, she seized command of his Red Flag Fleet and, with her lieutenant (and later second husband) Zhang Bao, built the largest pirate confederation in recorded history: by contemporary Qing estimates, up to 1,800 ships and 50,000–80,000 people, run under a written code punishing disobedience, theft, and assault of captives with death. After defeating Qing and Portuguese naval forces across 1808–1810, she negotiated a mass amnesty on her own terms, kept her fortune, and retired to run a gambling house dying peacefully in her late sixties in 1844, one of the few major pirate commanders in history to escape the sea, the gallows, or the battlefield.

The Floating World
Chapter 1 ·

The Floating World

Listen to this chapter
Born into obscurity, she vanished into Canton's flower boats before reappearing as history's most successful pirate.

Ching Shih was born around 1775 in Guangdong province, likely to a Tanka boat-dwelling family the region's marginalized "water people," barred by custom from living on land or marrying into shore society. Her birth name is recorded variously as Shi Yang or Shi Xianggu, and almost nothing certain survives about her childhood. By her twenties she was working aboard a floating brothel, or "flower boat," in the Cantonese port of Guangzhou one of thousands of women who serviced merchants, officials, and sailors on the Pearl River's crowded waterways, a trade Tanka women were funneled into by exclusion from almost every other livelihood.

How it worked

Canton's flower boats were not just brothels but information exchanges merchants, smugglers, and naval officers gossiped freely aboard them, believing the women posed no threat. That access made a sharp, socially invisible woman like Shi Yang uniquely positioned to learn the trade routes, bribery networks, and rivalries she would later exploit as a pirate commander.

A Marriage of Equals
Chapter 2 ·

A Marriage of Equals

Listen to this chapter
She didn't marry into piracy — she negotiated her way into co-ownership of it.

In 1801, pirate captain Zheng Yi head of the Red Flag Fleet and heir to a family piracy business stretching back generations set his sights on the 26-year-old brothel worker known as Shi Yang. Accounts differ on how they met: some say his men raided the flower boat and delivered her to him; others suggest a more deliberate courtship. What multiple sources agree on is the marriage's terms: she would not simply become his wife but his full partner, reportedly securing an equal share of plunder and equal authority over fleet affairs as a condition of the union. She took the name history remembers her by Zheng Yi Sao, "Zheng Yi's wife" and immediately began exercising real command alongside her new husband.

How it worked

Piracy in the Pearl River Delta ran on kinship and patronage, not central command captains answered to family heads, not titles. By marrying in as a full partner rather than a subordinate wife, Shi Yang inserted herself directly into that kinship hierarchy, giving her a legitimate claim to authority no outsider, male or female, could otherwise have obtained.

Six Flags, One Fleet
Chapter 3 ·

Six Flags, One Fleet

Listen to this chapter
Zheng Yi's wife helped stitch rival pirate bands into the deadliest navy in the Pacific.

Through the early 1800s, Zheng Yi worked to unite the fractious pirate gangs of the South China coast into a single confederation, and by July 1805 the alliance was formalized: six fleets, each flying a different colored flag red, black, white, blue, yellow, green with the Zhengs commanding the largest, the Red Flag Fleet. Zheng Yi also adopted a fifteen-year-old fisherman's son, Zhang Bao, abducted by pirates in 1798, grooming him into a skilled lieutenant. Ching Shih, meanwhile, was building the administrative machinery plunder registries, supply networks, alliances that let the confederation function as something closer to a floating state than a loose gang, a role that positioned her to inherit real command when her husband was gone.

How it worked

A pirate confederation this size couldn't survive on raiding alone it needed food, gunpowder, intelligence, and a way to stop six semi-independent fleets from robbing each other. By building the bookkeeping and provisioning systems that kept the confederation solvent, Ching Shih made herself operationally indispensable years before she ever took formal command.

Taking the Flag
Chapter 4 ·

Taking the Flag

Listen to this chapter
Her husband drowned in a storm. Within weeks, she had made herself impossible to remove.

Zheng Yi died in 1807 accounts differ on the exact circumstances, with most describing a storm at sea off Vietnam leaving the Red Flag Fleet without an obvious heir. Ching Shih moved fast. With the backing of Zhang Bao, now a battle-tested captain in his twenties, and other senior kinsmen, she claimed command of the fleet herself. A Qing official's report on the confederation later noted flatly that Zhang Bao "obeyed Zheng Yi Sao's orders, and consulted her on all things before acting" a rare piece of contemporary written testimony confirming her authority wasn't ceremonial. She also began a relationship with Zhang Bao, her late husband's adopted son, that blurred the lines between family, command structure, and romance.

How it worked

Succession by a widow was almost unheard of in Qing-era piracy, so Ching Shih secured her position the way any warlord would by binding the fleet's most capable fighter to her personally. Making Zhang Bao her consort fused military loyalty and family obligation into a single relationship no rival captain could easily contest.

Code of the Red Flag
Chapter 5 ·

Code of the Red Flag

Listen to this chapter
A registry, a treasury, and a death sentence for disobedience — piracy run like a state.

Under Ching Shih and Zhang Bao, the confederation operated by a written code, preserved in the Qing scholar Yuan Yonglun's 1830 account: plunder had to be registered before distribution, with captors keeping only a fifth and the rest going to a general fund; going ashore without permission meant mutilation and execution; disobeying an order meant beheading on the spot. Captured women were to be registered, housed separately, and left unharmed rape was a capital offense for both parties if consensual sex with a captive was discovered. The code turned a loose alliance of raiders into a disciplined, self-financing organization capable of coordinating tens of thousands of fighters across hundreds of ships without collapsing into infighting.

How it worked

Historians increasingly credit Zhang Bao, not Ching Shih, with authoring the code, a distinction blurred by a sensationalized 1932 English pirate history that attributed it to her directly. But as supreme commander she held final authority over its enforcement meaning its brutal logic, protect the profit engine and punish anything that threatens it, still ran through her chain of command.

War on Two Navies
Chapter 6 ·

War on Two Navies

Listen to this chapter
In eighteen months she out-fought the Qing provincial fleet, then a squadron of Portugal's navy.

Between 1808 and early 1810, Ching Shih's forces fought a running war against the Qing empire's provincial navy, destroying entire squadrons near Mazhou and Weiyuan and cutting the provincial fleet's strength roughly in half within weeks. When Qing forces enlisted Portuguese warships from Macau to help blockade the pirates in early 1810, the confederation faced coordinated fire from European cannon. Trapped near Lantau by a combined Qing-Portuguese blockade, Zhang Bao mobilized over 300 ships and 20,000 men on January 21, 1810; after Qing forces set fireships adrift against them on January 28, the pirates scattered the blazing hulks and broke through the blockade the next day, escaping to open water largely intact.

How it worked

The Qing navy and Portuguese fleet were formal, hierarchical, and bound by diplomatic protocol between two governments exactly what the pirate confederation's brutal-but-fast internal discipline let it out-maneuver. While the allied blockade waited on orders and sign-off, Ching Shih's captains could reposition within hours, letting hundreds of ships squeeze out of a supposedly sealed bay with minimal losses.

The Negotiated Retirement
Chapter 7 ·

The Negotiated Retirement

Listen to this chapter
She walked into the enemy's capital unarmed — and walked out with her fortune intact.

Facing a costlier war of attrition despite her battlefield successes, Ching Shih chose to negotiate rather than fight to the end. After early talks collapsed in February 1810 amid mutual suspicion, she personally led a delegation of seventeen women and children into the Viceroy of Liangguang's headquarters in Canton on April 17, 1810, to negotiate face to face. On April 20, roughly 17,000 pirates and over 200 ships formally surrendered at Furongsha. The terms were remarkably favorable: most pirates were pardoned outright, Zhang Bao was commissioned as a Qing military officer, and Ching Shih was permitted to keep her ships and wealth and to formally marry Zhang Bao. A hard core of roughly 140 pirates convicted of the worst crimes were executed or exiled.

How it worked

By 1810 her fleet was still strong enough to make a fight costly, but had lost enough ground to a two-government alliance that outright victory looked unlikely real leverage without desperation. Negotiating from that middle ground, rather than total strength or total defeat, let her keep both her money and her freedom, an outcome almost no pirate commander in history achieved.

The Last Decades
Chapter 8 ·

The Last Decades

Listen to this chapter
She outlived her second husband, sued a government official, and died in her own bed.

After the amnesty, Ching Shih settled into a startlingly ordinary second act. She married Zhang Bao formally in 1813 and bore him a son, Zhang Yulin, while he served as a Qing naval officer; he died in 1822, still in his thirties, while stationed near the Penghu Islands. Ching Shih returned to Guangdong with their son around 1824 and opened a gambling house, by most accounts a lucrative, semi-legal operation. In 1840, in her mid-sixties, she formally sued a Qing official for embezzling 28,000 taels of silver Zhang Bao had once handed over for a family estate; the case was dismissed at the emperor's order. She died in Guangdong's Nanhai district in 1844, in her late sixties.

How it worked

Most pirate commanders of her era ended up executed, imprisoned, or dead in battle dying quietly of old age was itself the anomaly. Her 1810 amnesty deal converted illicit wealth into a legally protected fortune and put a loyal military officer at the head of her household, insulating her from exactly the kind of arbitrary official abuse she still had to sue over in 1840.

The Pirate Queen's Myth
Chapter 9 ·

The Pirate Queen's Myth

Listen to this chapter
The math says she outcommanded every pirate in history. The legend says even more.

By most tallies of ships and manpower, Ching Shih commanded the largest pirate force ever assembled contemporary Qing estimates put her peak fleet near 1,800 vessels and 50,000 to 80,000 people, dwarfing contemporaries like Blackbeard by orders of magnitude. Her story went west through a garbled 1831 translation of a Qing-era account, then further through Philip Gosse's sensationalized 1932 pirate history, cementing and distorting her legend for English readers. She later inspired the fictional "Mistress Ching" in Pirates of the Caribbean: At World's End and a story by Jorge Luis Borges. Modern historians increasingly read her less as a swashbuckling outlaw and more as the administrator of a rival, floating state a woman who out-organized empires.

How it worked

The gap between the "pirate queen" of pop culture and the historical administrator is mostly a translation problem: a flawed 1831 rendering of Chinese court records introduced errors that later popular historians repeated and dramatized without returning to the original sources, letting a real bureaucratic strategist calcify into pulp legend.

Timeline

1775
c. 1775
Born Shi Yang in Guangdong
bio
1790
c. 1790s
Works aboard a Canton floating brothel
bio
1798
1798
Zhang Bao abducted into the Zheng pirate family
bio
1801
1801
Marries Zheng Yi as a full partner
personal
1803
1803
Son Zheng Yingshi born
personal
1805
July 1805
Six-fleet pirate confederation formalized
career
1807
1807
Son Zheng Xiongshi born
personal
1807
November 1807
Zheng Yi dies in a storm at sea
death
1807
Late 1807
Seizes command of the Red Flag Fleet
career
1808
September–October 1808
Qing provincial fleet cut roughly in half
career
1809
March–October 1809
Fleets rout Qing forces across the Pearl River Delta
career
1809
September 1809
Richard Glasspoole and crew taken captive
career
1809
November 1809
Guo Podai's Black Flag Fleet surrenders separately
career
1810
January 21–29, 1810
Breaks the Qing-Portuguese blockade at Lantau
career
1810
February 21, 1810
First amnesty talks collapse
career
1810
April 17, 1810
Leads unarmed delegation into the Viceroy's yamen
career
1810
April 20, 1810
Mass surrender and amnesty at Furongsha
honor
1813
1813
Formally marries Zhang Bao; son Zhang Yulin born
personal
1822
1822
Zhang Bao dies on active Qing naval duty
death
1824
c. 1824
Returns to Guangdong, opens a gambling house
career
1831
1831
Garbled Western translation spreads her legend
legacy
1840
1840
Sues a Qing official over embezzled silver
personal
1844
1844
Dies peacefully in Nanhai, Guangdong
death
1932
1932
Philip Gosse popularizes — and distorts — her legend
legacy
1935
1935
Fictionalized by Jorge Luis Borges
legacy
2007
2007
Inspires "Mistress Ching" in Pirates of the Caribbean
legacy

Quotes

“In their attacks they are intrepid, and in their defence most desperate, yielding in the latter instance to no superiority of numbers; the laws of discipline and civil government are equally enforced on board his junk.”

Ching Shihverified
Written by Richard Glasspoole, a British East India Company officer held captive by the Red Flag Fleet for about eleven weeks in late 1809, describing the pirates' organization and discipline in his published narrative.

“Zhang Bao obeyed Zheng Yi Sao's orders, and consulted her on all things before acting.”

Ching Shihreported
From a report by Qing official Wen Chengzhi on the pirate confederation's internal chain of command, cited as rare contemporary written confirmation that Ching Shih held real, not ceremonial, authority over the fleet.

“Not the least thing shall be taken privately from the stolen and plundered goods; all shall be registered ... those who steal anything out of this general fund shall be executed.”

Ching Shihdisputed
A rule from the confederation's plunder-sharing code, preserved in Yuan Yonglun's 1830 chronicle and translated into English in 1831. Historians increasingly attribute direct authorship to Zhang Bao rather than Ching Shih, though it governed the fleet she commanded.

“Under the leadership of a man you have all chosen to flee. We shall see how you prove yourselves under the hand of a woman.”

Ching Shihapocryphal
Widely repeated in popular retellings as Ching Shih's declaration to her captains after taking command in 1807, but it does not trace to a documented primary source.

Myths

She Wrote the Pirate Code Herself

The claim

Ching Shih personally authored the strict legal code — the death penalty for rape, the plunder-registry rules — that governed her fleet.

The reality

Modern scholarship traces the code to a garbled 1831 translation of a Qing chronicle and increasingly credits her lieutenant and second husband, Zhang Bao, as its actual author; the misattribution to Ching Shih was cemented by a sensationalized 1932 English-language pirate history.

medium confidence

The Brothel-to-Pirate-Queen Romance

The claim

A pirate captain fell for a beautiful prostitute, swept her off a brothel boat, and she rose to power through his affection.

The reality

No primary Chinese source confirms a romantic account of the marriage; what does survive points to a hard-negotiated, transactional partnership in which she reportedly secured equal command and an equal share of plunder as marriage conditions, not a gift from a smitten husband.

medium confidence

Exactly 1,800 Ships, 80,000 Pirates

The claim

Her fleet numbered a precise 1,800 ships and 80,000 pirates at its height, often repeated as hard fact.

The reality

These figures are the upper end of a wide range of contemporary Qing estimates; other period and scholarly sources put the peak closer to 400–600 ships and 40,000–70,000 people. The general claim that she commanded history's largest pirate force is well supported — the exact headcount is not.

high confidence

Everyone Who Surrendered Walked Free

The claim

The 1810 amnesty was a clean, consequence-free retirement for the entire pirate confederation.

The reality

While Ching Shih and Zhang Bao personally kept their wealth, rank, and freedom, the amnesty was not blanket leniency: roughly 140 pirates judged the worst offenders were executed or banished, and thousands of ordinary crew were dispersed into farming or military service rather than enriched.

medium confidence

She Commanded All 80,000 Pirates Directly

The claim

Ching Shih was sole, undisputed commander of the entire Guangdong pirate confederation.

The reality

The confederation was a coalition of six semi-autonomous fleets under different colored flags, each with its own commander — Guo Podai led the Black Flag Fleet, Wu Shi'er the Blue, and so on. These allies could and did act independently; the Black Flag Fleet's commander in fact surrendered separately, months before Ching Shih's own negotiations concluded.

medium confidence

Network

ZhengYiFirst husband and co-founder of the pirate confederationZhang Bao (CheungPo Tsai)Adopted stepson, lieutenant, and second husbandBaiLingViceroy of Liangguang; amnesty negotiatorGuoPodaiBlack Flag Fleet commander; confederation allyRichardGlasspooleBritish captive; eyewitness chroniclerMiguel Joséde ArriagaPortuguese magistrate; amnesty mediatorLinZexuLater Viceroy of LiangguangChingShih

Click a name to jump to their story below.

Zheng Yi
First husband and co-founder of the pirate confederation

A pirate captain from a multigenerational piracy family, he married Shi Yang in 1801 as a full partner and, with her, formalized the six-fleet Guangdong pirate confederation in 1805 before dying in a storm in 1807.

Zhang Bao (Cheung Po Tsai)
Adopted stepson, lieutenant, and second husband

Abducted into the Zheng family pirate operation at fifteen, he became Ching Shih's most trusted commander after Zheng Yi's death, her romantic partner, and eventually her husband under the 1810 amnesty terms; he later served as a Qing naval officer until his death in 1822.

Bai Ling
Viceroy of Liangguang; amnesty negotiator

The senior Qing official who negotiated the 1810 pirate amnesty face-to-face with Ching Shih in Canton, ultimately granting the confederation's leaders pardons, rank, and permission to keep their wealth.

Guo Podai
Black Flag Fleet commander; confederation ally

Leader of the second-largest fleet in the pirate confederation, he fought alongside Ching Shih's forces through much of 1809 but negotiated his own surrender in November 1809, months ahead of and separately from hers.

Richard Glasspoole
British captive; eyewitness chronicler

An East India Company officer held captive by the Red Flag Fleet for about eleven weeks in 1809, he published a firsthand account of the pirates' discipline and daily life that remains a key Western source on the confederation.

Miguel José de Arriaga
Portuguese magistrate; amnesty mediator

The chief magistrate of Macau who helped broker and host negotiations between the pirate confederation and Qing officials after Portuguese warships joined the blockade against Ching Shih's fleet.

Lin Zexu
Later Viceroy of Liangguang

The Qing official later famous for his role in the First Opium War who, as viceroy decades after her retirement, petitioned the emperor to dismiss the elderly Ching Shih's 1840 embezzlement lawsuit.

Character

Ruthless Negotiator

Facing a costly stalemate in 1810, she walked unarmed into the Qing viceroy's headquarters with a delegation of women and children and negotiated a pardon that let her keep her ships and fortune — an outcome almost no pirate commander in history achieved.

Administrative Mind

Long before she held formal command, she is credited with building the confederation's plunder-registry and treasury systems — the bookkeeping infrastructure that let a coalition of tens of thousands of fighters function without collapsing into internal theft.

Iron Disciplinarian

Under the fleet's code, going ashore without leave meant mutilation and execution, and disobeying a superior meant beheading on the spot — rules enforced across a force many times larger than most national navies of the era.

Battle-Tested Strategist

Her forces cut the Qing provincial fleet's strength roughly in half in 1808 and broke a combined Qing-Portuguese blockade at Lantau in January 1810, escaping a sealed bay with minimal losses against European cannon.

Self-Made

She rose from an obscure, likely Tanka boat-dwelling background and work in a Canton floating brothel to command of the era's largest maritime force — a status almost impossible to reach through any conventional path open to a Qing-era woman.

Survivor by Design

Unlike nearly every major pirate commander of her generation, she died of natural causes in old age rather than in battle, execution, or exile — a direct result of the pardon and legal wealth she negotiated in 1810.

Litigious in Old Age

In her mid-sixties, decades after retiring from piracy, she formally sued a Qing government official for embezzling 28,000 taels of silver owed to her family — working the legal system as deliberately as she'd once worked the sea.

Blurred the Personal and the Political

Her relationship with Zhang Bao — her late husband's adopted son, her own lieutenant, and eventually her second husband — fused family, command, and romance into a single bond that secured her succession but scandalized contemporary observers.

Ambient score
ASK THE ARCHIVE

Have a question this chapter didn\u2019t answer? Ask the archive \u2014 answered live, checked against the same research as the story above.