---
title: "Zheng Yi Sao, China's pirate queen, ran a 400-ship alliance and then retired with a pardon and her loot"
url: https://badiyaa.com/zheng-yi-sao-pirate-queen-pardon/
published: 2026-11-26T05:40:00+00:00
modified: 2026-11-26T02:36:54+00:00
section: History
publisher: Badiyaa
---

# Zheng Yi Sao, China's pirate queen, ran a 400-ship alliance and then retired with a pardon and her loot

Zheng Yi Sao led a Chinese pirate alliance of about 400 junks, then negotiated a pardon in 1810 and ran a gambling house in Canton until 1844.

Image: Nam-Sing (Royal Museums Greenwich), Public domain via Wikimedia Commons
She commanded a pirate alliance of roughly 400 junks and tens of thousands of sailors, beat the Qing navy more than once, took her late husband's right-hand man as her lover, and then talked an imperial governor into letting her walk away with a pardon. Zheng Yi Sao, also known in the West as Ching Shih, never lost her head. Plenty of pirates around her did.

Born Shi Yang around 1775 near Xinhui in Guangdong, she married the pirate Zheng Yi in 1801, according to [her Wikipedia biography](https://en.wikipedia.org/wiki/Ching_Shih). The name she is remembered by simply means "wife of Zheng Yi."

## From pirate's wife to fleet boss

In July 1805 Zheng Yi stitched rival gangs into a confederation of six fleets, each flying its own colour: red, black, blue, white, yellow and purple. He ran the biggest, the Red Flag Fleet, with around 200 ships. At its peak the alliance counted some 400 junks and between 40,000 and 70,000 pirates.

Then, on November 16, 1807, Zheng Yi went overboard in a gale and died. His widow did not step aside. She took control, keeping the factions in line with the help of Zhang Bao, the young man her husband had abducted at 15 and later adopted as his heir. A Qing official who negotiated with the pair wrote that Zhang Bao "obeyed Zheng Yi Sao's orders, and consulted her on all things before acting."

The partnership did not stay strictly professional. The two became lovers after Zheng Yi's death, by which time Zhang Bao was in his mid-20s, and they later married, as [Zhang Bao's own Wikipedia entry](https://en.wikipedia.org/wiki/Cheung_Po_Tsai), under the name Cheung Po Tsai, records.

## The fight with Portugal

Her fleets were not gentle. Raids along the Pearl River in 1809 left thousands dead and towns in ruins. Desperate Chinese officials turned to Macau's Portuguese for help. Between September 1809 and January 1810, a small Portuguese flotilla of brigs and one frigate battered the Red Flag Fleet in a series of clashes known as [the Battle of the Tiger's Mouth](https://en.wikipedia.org/wiki/Battle_of_the_Tiger%27s_Mouth).

Even cornered, the pirates had swagger. In a December 1809 letter to the Portuguese commander, Zhang Bao wrote: "I reign from the seas just as from the centre of a kingdom." He offered two or three Chinese provinces in exchange for four ships. The Portuguese said no.

## The deal of a lifetime

By spring 1810 the confederation was cracking. So Zheng Yi Sao went to the authorities herself. On April 17 she led a delegation of 17 women and children into the government office at Guangzhou and negotiated face to face with the viceroy, Bai Ling. He gave in to her terms.

Three days later, on April 20, 1810, she and Zhang Bao surrendered 17,318 pirates, 226 ships and 1,315 cannons. She was pardoned. He got a naval commission and a private fleet. The viceroy even blessed their marriage. Not everyone was so lucky: 14 of the worst offenders were beheaded, and 126 more were executed.

She kept her money, too. Zheng Yi Sao spent her later years running a gambling house in Canton and died in 1844, aged about 68 or 69, a rare pirate who retired rich and in bed.

## A legend that keeps sailing

Her story has been retold, and stretched, for nearly two centuries. Jorge Luis Borges made her "The Widow Ching, Lady Pirate" in his 1935 collection [A Universal History of Infamy](https://en.wikipedia.org/wiki/A_Universal_History_of_Infamy). The famous pirate code often credited to her was actually Zhang Bao's. Hollywood drew on the real pirate confederation for [Pirates of the Caribbean: At World's End](https://en.wikipedia.org/wiki/Pirates_of_the_Caribbean:_At_World%27s_End), where Takayo Fischer plays Mistress Ching and Chow Yun-fat plays Sao Feng, a character based on Zhang Bao.

That franchise is still chasing a sequel, as Badiyaa reported in [Johnny Depp's one condition for a Jack Sparrow return](https://badiyaa.com/johnny-depp-jack-sparrow-condition-pirates-6/). For a pirate who did not get a happy ending, read how [Blackbeard was killed at Ocracoke Inlet in 1718](https://badiyaa.com/blackbeard-ocracoke-inlet-last-battle/).

## Sources
- [Zheng Yi Sao](https://en.wikipedia.org/wiki/Ching_Shih), Wikipedia, 2026
- [Cheung Po Tsai](https://en.wikipedia.org/wiki/Cheung_Po_Tsai), Wikipedia, 2026
- [Battle of the Tiger's Mouth](https://en.wikipedia.org/wiki/Battle_of_the_Tiger%27s_Mouth), Wikipedia, 2026
- [A Universal History of Infamy](https://en.wikipedia.org/wiki/A_Universal_History_of_Infamy), Wikipedia, 2026
- [Pirates of the Caribbean: At World's End](https://en.wikipedia.org/wiki/Pirates_of_the_Caribbean:_At_World%27s_End), Wikipedia, 2026

*Image: Nam-Sing (Royal Museums Greenwich), Public domain via Wikimedia Commons*

*This article was produced with AI assistance and reviewed by our Editorial Desk. [How we work](https://badiyaa.com/editorial-policy/).*
