
Fortune · 1807 · Canton (Guangzhou), China
Zheng Yi
Zheng Yi's widow took command of his pirate fleets, married his adopted heir, and surrendered to the Qing in 1810 keeping her plunder
Zheng Yi Sao. Unknown author. Public domain, Wikimedia Commons.
Zheng Yi Sao had worked as a prostitute in Canton before she married the pirate chief Zheng Yi in 1801. His confederation had six fleets under coloured flags, and he led the Red Flag Fleet of about 200 ships. He died in November 1807, in battle or in a typhoon.
The other five captains chose his widow to succeed him. Zhang Bao had been Zheng Yi's protégé; James Carter calls him Zheng Yi's adopted heir. She took him as her lover and put him in command of the Red Flag Fleet.
Her rules required captured goods to be registered, gave the capturing ship a fifth of the cargo and set punishments from ear-cutting to death. By one estimate she led more than 70,000 people. In April 1810 she went with women and children to the office of the governor-general, Bai Ling, and offered to surrender.
The pirates kept their plunder. Zhang Bao was made a Qing naval officer and kept his own ships, and his men could join the army or navy. She married him.
They had a son. Zhang Bao died in 1822. She lived in and near Canton for two more decades, running a gambling house that fronted for smuggling, and died in 1844, aged 69.
Zheng Yi: two records that disagree
World History Encyclopedia says Zhang Bao kept 20 junks ( The China Project says he kept 80 vessels (
Guangdong waters, 1801 to 1844
Zheng Yi marries the woman later called Zheng Yi Sao; Dian Murray gives the date in Pirates of the South China Coast, and Atlas Obscura repeats it.
Zheng Yi forms a confederation of coloured-flag fleets; he commands the Red Flag Fleet.
Zheng Yi dies in a gale; the Qing-era account Jing hai fen ji, as Neumann translated it, puts the date in the tenth moon of the twentieth year of Jiaqing.
James Carter reports that pirates destroy 63 of the 135 Qing navy ships assigned to protect Guangdong.
Governor-general Bai Ling takes office and uses rewards and amnesties to draw pirates away from the fleets.
The Black Flag squadron under Guo Podai submits with 8,000 men, 126 vessels and 500 large guns, according to Neumann's translation.
Zheng Yi Sao and Zhang Bao send their wives and children to the governor-general, and the Red Flag Fleet submits. Sources give 8 April and 20 April.
Zhang Bao dies.
Zheng Yi Sao dies in Canton, aged about 69.
The three regulations of the fleet
Not the least thing shall be taken privately from the stolen and plundered goods. All shall be registered, and the pirate receive for himself, out of ten parts, only two; eight parts belong to the store-house, called the general fund
Neumann attributes the three regulations to Zhang Bao after Zheng Yi's death; later popular accounts credit the widow, and Wikipedia traces that to Philip Gosse's 1932 book.
Robbery and pardon in the Qing Code
Under Qing law, how could robbers who took goods by force keep their plunder and their lives after surrendering in 1810?
- The Code beheaded all who took part in a robbery, whether or not they shared the booty.
- A general act of grace excluded robbery and theft from its pardon.
- A particular act of grace naming the offenders carried none of those limits.
- Bai Ling's grant was made to named leaders after a petition and a surrender list.
The rule
Ta Tsing Leu Lee, the Qing Penal Code, as Staunton translated it in 1810: Section CCLXVI on robbery and Section XVI on the extent of an act of grace or general pardon.
How it applied
Section CCLXVI ordered that when a robbery was carried out, all the individuals concerned be beheaded, whether participators in the booty or not, however small the plunder. A fleet that captured vessels and villages by force fell inside that text, and Section XVI listed robbery or theft among the offences a general act of grace did not forgive.
The same section said particular acts of grace, in which the offenders are described by name, are not subject to any of the limitations. Staunton's note says general acts were passed at the accession of an emperor and on certain anniversaries. Bai Ling did not rely on one. In Neumann's text he asked for lists of vessels and possessions, said he was commanded by the humanity of the government to pardon rather than kill, and named Zhang Bao in his pardon. That reading of the Code fits what the sources describe, but the sources read do not quote the edict itself.
The succession inside the fleet rested on custom. Murray, quoted by Atlas Obscura, says adult adoption was practised in China to create a kinship basis for business, so the adoption of Zhang Bao was not unusual. The surrender then fixed the outcome in law: a named leader with a rank, a widow allowed to marry him, and crews who could enlist or return home. Wikipedia's count of 126 executions and 151 banishments shows the pardon was not for all.
What changed after
The sources read show no Qing reform of Section CCLXVI after 1810; the Code was replaced in the twentieth century.

Who kept what in 1810
Zheng Yi Sao
- Asked
- To go to Canton with the other wives and settle the submission herself; in Neumann's text she says she will take any danger on herself.
- Got
- A pardon with Zhang Bao at Foo-yung-shaou near Heang-shan; Wikipedia adds land in Canton, where she ran a gambling house.
Zhang Bao
- Asked
- To keep his fleet and a place in the salt trade, per James Carter.
- Got
- A rank in the Qing navy and his own fleet; Carter says 80 vessels and Wikipedia says 20 to 30 ships.
The Red Flag crews
- Asked
- Terms for submission; every vessel received pork and wine and every man a bill for a sum of money.
- Got
- Those who wished could join the government force against the remaining pirates; the rest dispersed into the country.
Bai Ling, governor-general
- Asked
- To clear the eastern, middle and western passages without a fleet battle.
- Got
- Wikipedia counts 17,318 pirates, 226 ships and 1,315 cannon surrendered, and fourteen of the worst pirates beheaded.
Her answer to the council
The Red Flag captains doubted the governor-general's terms and did not want to send the widow alone to be killed. She argued that Bai Ling had come to them in good faith and that the fleet should answer in kind.
Her argument carried the council and the surrender followed within weeks.
why should I a mean woman not go to the officers of government?
The wife of Ching yih, as Neumann's 1831 translation reports her
Where to read more about Zheng Yi
Archives
- History of the Pirates who Infested the China Sea, 1807 to 1810 (Neumann, 1831)English translation of Yuan Yung-lun's account: the three regulations, her speech, the submission.
- Internet Archive: Neumann's History of the Pirates, second scanA second digitised copy of the 1831 translation.
Libraries
- Internet Archive: Ta Tsing Leu Lee, Bavarian State Library copyA third digitised copy of the Penal Code translation.
Scholarship
- The China Project: China's pirate queen's final successJames Carter on the fleet's laws, the salt trade and the negotiated surrender.
- Zheng Yi SaoSurrender figures, the attribution of the regulations and a bibliography of Murray, Neumann and Glasspoole.
Press
- Atlas Obscura: the Chinese female pirate who commanded 80,000 outlawsDian Murray on adult adoption and the lack of Chinese sources for the brothel story.
Statute
- Ta Tsing Leu Lee, translated by Staunton (1810)The Qing Penal Code: robbery in Section CCLXVI, acts of grace in Section XVI.
- Internet Archive: Ta Tsing Leu Lee, India Office copyA second digitised copy of Staunton's 1810 translation.
Sources for this section
- archive.org/details/historyofpirates00yarich
- archive.org/details/TaTsingLeuLeeCode01
- thechinaproject.com/2022/04/13/chinas-pirate-queen-zheng-yi-saos-final-success-r
- atlasobscura.com/articles/the-chinese-female-pirate-who-commanded-80000-outlaws
- en.wikipedia.org/wiki/Zheng_Yi_Sao
- archive.org/details/historypiratesw01neumgoog
- archive.org/details/india.history.resource.77941
- archive.org/details/10622290bsb
Sources
| Source | Kind |
|---|---|
| worldhistory.org | Press |
| thechinaproject.com | Press |
| Wikipedia (English) | Encyclopedia |
Edited by Steve Schadt. Updated 6 December 2026.