Madame Ching or Ching Shih, also known as Cheng I Sao, was a prominent pirate in middle Qing China, who terrorized the China Sea in the early 19th century. She personally commanded over 300 junks manned by 20,000 to 40,000 pirates: men, women, and even children. She entered into conflict with the existing empires of the time, such as the British Empire, the Portuguese Empire, and the Qing dynasty. She was one of the few pirate captains to retire from piracy and is considered to be the most successful pirate in history. Ching Shih has been featured in numerous books, novels, video games, and films in Asia and other parts of the Earth. On 16 November 1807, Cheng I died in Vietnam. Ching Shih immediately began maneuvering her way into his leadership position. She started to cultivate personal relationships to get rivals to recognize her status and solidify her authority. In order to stop her rivals before open conflict erupted, she sought the support of the most powerful members of her husband's family: his nephew Cheng Pao-yang and his cousin's son Cheng Ch'i. Then she drew on the coalition formed by her husband by building upon some of the fleet captains' existing loyalties to her husband and making herself essential to the remaining captains.
Since Ching Shih would have such a large force at her command, she knew she needed someone to assist her in managing the Red Flag Fleet's day-to-day operations, but remain loyal to her and be accepted by the low-level pirates.
She believed there was only one man for the job, Cheung Po Tsai. Once she held the fleet's leadership position, Ching Shih started the task of uniting the fleet by issuing a code of laws. The Neumann translation of The History of Pirates Who Infested the China Sea claims that it was Cheung Po Tsai that issued the code. Yuan Yung-lun says that Cheung issued his own code of three regulations, called san-t'iao, for his own fleet, but these are not known to exist in a written form. The code was very strict and according to Richard Glasspoole, strictly enforced. First, anyone giving their own orders (ones that did not come down from Ching Shih) or disobeying those of a superior was beheaded on the spot. Second, no one was to steal from the public fund or any villagers that supplied the pirates. Third, all goods taken as booty had to be presented for group inspection. The booty was registered by a purser and then distributed by the fleet leader. The original seizer received twenty percent and the rest was placed into the public fund. Fourth, actual money was turned over to the squadron leader, who only gave a small amount back to the seizer, so the rest could be used to purchase supplies for unsuccessful ships. According to Philip Maughan, the punishment for a first-time offense of withholding booty was severe whipping of the back. Large amounts of withheld treasure or subsequent offenses carried the death penalty. Ching Shih's code had special rules for female captives. Standard practice was to release women, but J.L. Turner witnessed differently. Usually the pirates made their most beautiful captives their concubines or wives. If a pirate took a wife he had to be faithful to her. The ones deemed unattractive were released and any remaining were ransomed. Pirates that raped female captives were put to death, but if pirates had consensual sex with captives, the pirate was beheaded and the woman he was with had cannonballs attached to her legs and was thrown over the side of the boat. Violations of other parts of the code were punished with flogging, clapping in irons, or quartering. Deserters or those who had left without official permission had their ears chopped off, and then were paraded around their squadron. Glasspoole concluded that the code "gave rise to a force that was intrepid in attack, desperate in defense, and unyielding even when outnumbered." The fleet under her command established hegemony over many coastal villages, in some cases even imposing levies and taxes on settlements. According to Robert Antony, Ching Shih "robbed towns, markets, and villages, from Macau to Canton." The Red Flag Fleet under Ching Shih's rule could not be defeated by neither Qing dynasty Chinese officials nor Portuguese and British bounty hunters. She even captured Richard Glasspoole, an officer of the East India Company ship The Marquis of Ely, and seven British sailors in 1809. Finally, in late 1809 and early 1810, her fleet suffered a series of defeats inflicted by the Portuguese Navy at the Battle of the Tiger's Mouth, upon which she accepted an amnesty offered by the Chinese government to all pirates who agreed to surrender, ending her career that same year. She kept her loot and opened a gambling house. She died in 1844, at the age of 69.
She believed there was only one man for the job, Cheung Po Tsai. Once she held the fleet's leadership position, Ching Shih started the task of uniting the fleet by issuing a code of laws. The Neumann translation of The History of Pirates Who Infested the China Sea claims that it was Cheung Po Tsai that issued the code. Yuan Yung-lun says that Cheung issued his own code of three regulations, called san-t'iao, for his own fleet, but these are not known to exist in a written form. The code was very strict and according to Richard Glasspoole, strictly enforced. First, anyone giving their own orders (ones that did not come down from Ching Shih) or disobeying those of a superior was beheaded on the spot. Second, no one was to steal from the public fund or any villagers that supplied the pirates. Third, all goods taken as booty had to be presented for group inspection. The booty was registered by a purser and then distributed by the fleet leader. The original seizer received twenty percent and the rest was placed into the public fund. Fourth, actual money was turned over to the squadron leader, who only gave a small amount back to the seizer, so the rest could be used to purchase supplies for unsuccessful ships. According to Philip Maughan, the punishment for a first-time offense of withholding booty was severe whipping of the back. Large amounts of withheld treasure or subsequent offenses carried the death penalty. Ching Shih's code had special rules for female captives. Standard practice was to release women, but J.L. Turner witnessed differently. Usually the pirates made their most beautiful captives their concubines or wives. If a pirate took a wife he had to be faithful to her. The ones deemed unattractive were released and any remaining were ransomed. Pirates that raped female captives were put to death, but if pirates had consensual sex with captives, the pirate was beheaded and the woman he was with had cannonballs attached to her legs and was thrown over the side of the boat. Violations of other parts of the code were punished with flogging, clapping in irons, or quartering. Deserters or those who had left without official permission had their ears chopped off, and then were paraded around their squadron. Glasspoole concluded that the code "gave rise to a force that was intrepid in attack, desperate in defense, and unyielding even when outnumbered." The fleet under her command established hegemony over many coastal villages, in some cases even imposing levies and taxes on settlements. According to Robert Antony, Ching Shih "robbed towns, markets, and villages, from Macau to Canton." The Red Flag Fleet under Ching Shih's rule could not be defeated by neither Qing dynasty Chinese officials nor Portuguese and British bounty hunters. She even captured Richard Glasspoole, an officer of the East India Company ship The Marquis of Ely, and seven British sailors in 1809. Finally, in late 1809 and early 1810, her fleet suffered a series of defeats inflicted by the Portuguese Navy at the Battle of the Tiger's Mouth, upon which she accepted an amnesty offered by the Chinese government to all pirates who agreed to surrender, ending her career that same year. She kept her loot and opened a gambling house. She died in 1844, at the age of 69.