Guided reading
Cai Qian's raids on Luermen were the repeated incursions of the pirate Cai Qian into Luermen, Taiwan, in the Jiaqing reign; the official records note at least three: an attack on the Beishan wooden stockade in the fourth month of 1804, a brief approach to Luermen in the intercalary sixth month of 1805, and, from winter 1805 to 1806, the blocking of Luermen with sunken ships and the siege of the prefectural city, after which he seized Luermen on a rising tide and escaped.R001Source《清實錄・仁宗睿皇帝實錄》[Veritable Records of the Qing: Veritable Records of the Renzong (Jiaqing) Emperor] 卷一百三十 [juan 130](嘉慶九年 [Jiaqing 9]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清實錄/仁宗睿皇帝實錄/卷一百三十Retrieved2026-11-09Snapshot timestamp(None, or not applicable)
- Evidence mix
Where to start reading
Full recordBelow is the item-by-item record; every item cites its source.
Relationship map
Cai Qian's raids on Luermen were the repeated incursions of the pirate Cai Qian (蔡牽) into Luermen (鹿耳門), Taiwan, during the Jiaqing reign; the Qing official records note at least three: an attack on the Beishan wooden stockade in the fourth month of Jiaqing 9 (1804), a brief approach to Luermen in the intercalary sixth month of Jiaqing 10 (1805), and, from winter 1805 to 1806, the blocking of Luermen with sunken ships and the siege of the prefectural city, after which, defeated by Li Changgeng (李長庚) and others, he seized Luermen on a rising tide and escaped R001Source《清實錄・仁宗睿皇帝實錄》[Veritable Records of the Qing: Veritable Records of the Renzong (Jiaqing) Emperor] 卷一百三十 [juan 130](嘉慶九年 [Jiaqing 9]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清實錄/仁宗睿皇帝實錄/卷一百三十Retrieved2026-11-09Snapshot timestamp—R002Source《清實錄・仁宗睿皇帝實錄》[Veritable Records of the Qing: Veritable Records of the Renzong (Jiaqing) Emperor] 卷一百四十六 [juan 146](嘉慶十年閏六月八日己丑 [Jiaqing 10, intercalary sixth month, 8th day, jichou]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清實錄/仁宗睿皇帝實錄/卷一百四十六Retrieved2026-11-09Snapshot timestamp—R004Source《清史稿》[Draft History of the Qing] 卷三百五十 [juan 350](李長庚、王得祿、邱良功、許松年傳 [biographies of Li Changgeng, Wang Delu, Qiu Lianggong and Xu Songnian]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清史稿/卷350Retrieved2026-11-09Snapshot timestamp—SourceFrom 《Draft History of Qing (清史稿)》. Official record An official deliberation of 1824 used this to question Luermen's "natural barrier" (天險): by Jiaqing 10 the shuttle boats (梭船) assigned solely to guarding Luermen had been increased to thirty, 「然十一年蔡逆猶進鹿耳門,直薄郡城,則所謂天險者果何如也?」 ("yet in the eleventh year the rebel Cai still entered Luermen and pressed right up to the prefectural city; what then is this so-called natural barrier worth?") R005SourceYao Ying (姚瑩)《東槎紀略》[A Brief Account of the Eastern Raft] 卷一 [juan 1]〈籌建鹿耳門砲臺〉[Planning the Construction of the Luermen Battery],維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/東槎紀略/卷一Retrieved2026-11-09Snapshot timestamp—. Official record For the Beishan stockade see Beishan Stockade.
Course of events
First items: First raid: the fourth month of 1804, BeishanSecond raid: the intercalary sixth month of 1805Third raid: winter 1805 to 1806, blocking the harbor mouth with sunken ships and besieging the prefectural cityMoreLess
First raid: the fourth month of 1804, Beishan
- Zheng Jiancai (鄭兼才), 《六亭文集》 (Collected Writings of Liuting) R006SourceLu Hsin-tzu (陸昕慈),〈「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究〉[The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple"],國立臺南大學臺灣文化碩士班 [Master's Program in Taiwan Culture, National University of Tainan] 碩士論文 [master's thesis],2021,實頁 [physical pp.] 38、41–43Original URL—Retrieved2026-11-03Snapshot timestamp—SourceFrom 《The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple" (「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究)》p. 38、41–43Cites Zheng Jiancai (鄭兼才), 《六亭文集》 (Collected Writings of Liuting), and Chen Tsai-cheng (陳在正), 《臺灣海疆史》 (A History of Taiwan's Maritime Frontier). The thesis takes the position of the Tucheng side.:
「嘉慶九年四月十又五日,海賊蔡牽泊鹿港。未幾,自鹿港入鹿耳門,乘雨攻北線;兵潰,游擊武克瓊、守備王維光俱死之。傷把總劉煥、外委陳培,兵丁死者一十有四人。燔木城、毀炮臺,搶鐵炮大小計五十有零。」
("On the fifteenth day of the fourth month of Jiaqing 9, the sea bandit Cai Qian anchored at Lukang. Before long he entered Luermen from Lukang and attacked Beixian under cover of rain; the troops broke, and the major Wu Keqiong and the second captain Wang Weiguang both died. The sublieutenant Liu Huan and the warrant officer Chen Pei were wounded, and fourteen soldiers were killed. He burned the wooden fort, destroyed the battery, and seized iron cannon, large and small, more than fifty in all.")
——Zheng Jiancai, as quoted in Lu Hsin-tzu 2021 R006SourceLu Hsin-tzu (陸昕慈),〈「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究〉[The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple"],國立臺南大學臺灣文化碩士班 [Master's Program in Taiwan Culture, National University of Tainan] 碩士論文 [master's thesis],2021,實頁 [physical pp.] 38、41–43Original URL—Retrieved2026-11-03Snapshot timestamp—SourceFrom 《The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple" (「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究)》p. 38、41–43Cites Zheng Jiancai (鄭兼才), 《六亭文集》 (Collected Writings of Liuting), and Chen Tsai-cheng (陳在正), 《臺灣海疆史》 (A History of Taiwan's Maritime Frontier). The thesis takes the position of the Tucheng side. Official record
- The same work: 「燒鹿耳門文館,武館以逼近天后宮得存。」 ("He burned the civil office at Luermen; the military office survived because it stood close to the Tianhou temple.") R006SourceLu Hsin-tzu (陸昕慈),〈「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究〉[The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple"],國立臺南大學臺灣文化碩士班 [Master's Program in Taiwan Culture, National University of Tainan] 碩士論文 [master's thesis],2021,實頁 [physical pp.] 38、41–43Original URL—Retrieved2026-11-03Snapshot timestamp—SourceFrom 《The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple" (「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究)》p. 38、41–43Cites Zheng Jiancai (鄭兼才), 《六亭文集》 (Collected Writings of Liuting), and Chen Tsai-cheng (陳在正), 《臺灣海疆史》 (A History of Taiwan's Maritime Frontier). The thesis takes the position of the Tucheng side. See Luermen Garrison Post.Official record
- Veritable Records of the Renzong Emperor (《仁宗實錄》): Cai Qian 「駛至鹿耳門海口,突入北汕木寨滋擾,以致戕害官兵」 ("sailed to the mouth of Luermen harbor, broke into the Beishan wooden stockade and caused havoc, so that officers and soldiers were killed"); Wu Keqin (武克勤) and Wang Weiguang (王維光) had been sent to hold the Beishan Stockade R001Source《清實錄・仁宗睿皇帝實錄》[Veritable Records of the Qing: Veritable Records of the Renzong (Jiaqing) Emperor] 卷一百三十 [juan 130](嘉慶九年 [Jiaqing 9]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清實錄/仁宗睿皇帝實錄/卷一百三十Retrieved2026-11-09Snapshot timestamp—.Official record
- Brief Account of the Eastern Sea (《東瀛識略》): 「九年夏四月,竄入鹿耳門,乘雨登岸,戕遊擊武克勤,奪商船所有而去。」 ("In the summer, the fourth month of the ninth year, he slipped into Luermen, landed under cover of rain, killed the major Wu Keqin, seized everything on the merchant ships and left.") R003SourceDing Shaoyi (丁紹儀)《東瀛識略》[Brief Account of the Eastern Sea](同治十二年 [Tongzhi 12],1873)卷七 [juan 7],維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/東瀛識略/卷7Retrieved2026-11-09Snapshot timestamp— Official record
Second raid: the intercalary sixth month of 1805
Veritable Records of the Renzong Emperor, 8th day of the intercalary sixth month of Jiaqing 10: Yude (玉德) and others reported that 「蔡逆匪船四十餘隻,自澎湖竄至鹿耳門。因聞李長庚統領大幫舟師已抵澎湖,即由東大洋竄回水澳一帶洋面」 ("more than forty of the rebel Cai's bandit ships slipped from Penghu up to Luermen. On hearing that Li Changgeng, commanding the main fleet, had already reached Penghu, they fled back by the eastern open sea to the waters around Shui'ao") R002Source《清實錄・仁宗睿皇帝實錄》[Veritable Records of the Qing: Veritable Records of the Renzong (Jiaqing) Emperor] 卷一百四十六 [juan 146](嘉慶十年閏六月八日己丑 [Jiaqing 10, intercalary sixth month, 8th day, jichou]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清實錄/仁宗睿皇帝實錄/卷一百四十六Retrieved2026-11-09Snapshot timestamp—.Official record
Third raid: winter 1805 to 1806, blocking the harbor mouth with sunken ships and besieging the prefectural city
- In the eleventh month, winter of 1805, Cai Qian sent his followers with the Cantonese pirate Zhu Fen (朱濆) to harass Fengshan (鳳山) in the south, while he himself went north to Hobe (滬尾, Tamsui) and plundered the Mengjia (艋舺) granary; when the prefect Ma Kuisheng (馬夔升) led troops to the rescue, 「牽即南下,進泊鹿耳門,攻郡城」 ("Qian at once went south, anchored inside Luermen and attacked the prefectural city") R003SourceDing Shaoyi (丁紹儀)《東瀛識略》[Brief Account of the Eastern Sea](同治十二年 [Tongzhi 12],1873)卷七 [juan 7],維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/東瀛識略/卷7Retrieved2026-11-09Snapshot timestamp—.Official record
- Draft History of the Qing (《清史稿》), Biography of Li Changgeng (李長庚) R004Source《清史稿》[Draft History of the Qing] 卷三百五十 [juan 350](李長庚、王得祿、邱良功、許松年傳 [biographies of Li Changgeng, Wang Delu, Qiu Lianggong and Xu Songnian]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清史稿/卷350Retrieved2026-11-09Snapshot timestamp—SourceFrom 《Draft History of Qing (清史稿)》:
「十一年正月,牽合百餘艘犯台灣,結土匪萬餘攻府城,自號鎮海王,沉舟鹿耳門阻援兵。長庚至,不得入,諜知南汕、北汕、大港門可通小舟,遣總兵許松年、副將王得祿繞道入,攻洲仔尾,連敗之。二月,松年登洲仔尾,焚其藔,牽反救,長庚遣兵出南汕,與松年夾擊,大敗之。牽無去路,困守北汕。會風潮驟漲,沉舟漂起,乃奪鹿耳門逸去。」
("In the first month of the eleventh year, Qian gathered more than a hundred vessels to attack Taiwan, allied with over ten thousand local bandits to attack the prefectural city, styled himself King Who Pacifies the Sea (鎮海王), and sank ships at Luermen to block reinforcements. Changgeng arrived but could not get in; learning from spies that Nanshan, Beishan and Dagangmen were passable by small boats, he sent the regional commander Xu Songnian and the deputy general Wang Delu by a roundabout route to attack Zhouziwei, defeating the enemy repeatedly. In the second month, Songnian landed at Zhouziwei and burned their huts; Qian turned back to relieve it, and Changgeng sent troops out by Nanshan to attack him from both sides with Songnian, inflicting a great defeat. Qian had no way out and held out, trapped, at Beishan. Then the wind and tide suddenly rose, the sunken boats floated up, and he seized Luermen and escaped.")
——Draft History of the Qing, juan 350 R004Source《清史稿》[Draft History of the Qing] 卷三百五十 [juan 350](李長庚、王得祿、邱良功、許松年傳 [biographies of Li Changgeng, Wang Delu, Qiu Lianggong and Xu Songnian]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清史稿/卷350Retrieved2026-11-09Snapshot timestamp—SourceFrom 《Draft History of Qing (清史稿)》 Official record
- The biography of Wang Delu (王得祿) records the same action: Wang Delu and Xu Songnian (許松年) 「駕小舟自安平港入偵之,帆檣彌望,夜縱火焚賊舟,遂入屯柴頭港」 ("took small boats in through Anping Harbor to reconnoiter; masts and sails filled the view; at night they set fire to the bandits' boats, then went in and camped at Chaitougang"); the next day, Cai Qian's men attacking the north gate of the prefectural city from Zhouziwei (洲仔尾) were caught between forces inside and outside and defeated R004Source《清史稿》[Draft History of the Qing] 卷三百五十 [juan 350](李長庚、王得祿、邱良功、許松年傳 [biographies of Li Changgeng, Wang Delu, Qiu Lianggong and Xu Songnian]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清史稿/卷350Retrieved2026-11-09Snapshot timestamp—SourceFrom 《Draft History of Qing (清史稿)》.Official record
- Brief Account of the Eastern Sea: the Taiwan circuit intendant Qingbao (慶保) and the regional commander Aixintai (愛新泰) divided their troops and held firm, while the provincial commander-in-chief Li Changgeng blocked the harbor mouth from outside, attacking by land and sea together; in the second month of the eleventh year dozens of the bandits' boats were destroyed, Wang Delu led a surprise force that defeated the bandits at Zhouziwei, and 「牽餘數十舟,奪路而逸」 ("Qian, with his remaining few dozen boats, fought his way out and escaped"); in the third month the general Saichong'a (賽沖阿) arrived in Taiwan R003SourceDing Shaoyi (丁紹儀)《東瀛識略》[Brief Account of the Eastern Sea](同治十二年 [Tongzhi 12],1873)卷七 [juan 7],維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/東瀛識略/卷7Retrieved2026-11-09Snapshot timestamp—.Official record
- Because he let Cai Qian escape, Li Changgeng was, 「詔奪花翎、頂戴」 ("by edict, stripped of his peacock feather and hat button") R004Source《清史稿》[Draft History of the Qing] 卷三百五十 [juan 350](李長庚、王得祿、邱良功、許松年傳 [biographies of Li Changgeng, Wang Delu, Qiu Lianggong and Xu Songnian]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清史稿/卷350Retrieved2026-11-09Snapshot timestamp—SourceFrom 《Draft History of Qing (清史稿)》. See Li Changgeng.Official record
- In the fifth month of the same year Cai Qian slipped into Luermen again; Wang Delu 「首先沖擊,獲船十,沈船十一」 ("was first to charge, capturing ten ships and sinking eleven"), and Qiu Lianggong (邱良功) 「破牽於鹿耳門,賜花翎」 ("defeated Qian at Luermen and was granted the peacock feather") R004Source《清史稿》[Draft History of the Qing] 卷三百五十 [juan 350](李長庚、王得祿、邱良功、許松年傳 [biographies of Li Changgeng, Wang Delu, Qiu Lianggong and Xu Songnian]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清史稿/卷350Retrieved2026-11-09Snapshot timestamp—SourceFrom 《Draft History of Qing (清史稿)》.Official record
Impact
First items: Huang Wen-po (黃文博) writes that when the …Tucheng Xiang (《土城香》): in the Jiaqing re…After peace was restored, the Mazu templ…MoreLess
- Huang Wen-po (黃文博) writes that when the Lin Shuangwen Incident and the "Cai Qian Incident" (1803–1809) occurred, 「都得靠府城郊商、義民出錢出力,始得以平息亂事」 ("in both cases it was only with money and manpower from the guild merchants and loyal volunteers of Fucheng that the disorders could be put down"), and that the Sanjiao of Fucheng (府城三郊) thereby gradually took over functions of the government R007SourceHuang Wen-po (黃文博)《鹿耳門天后宮送迎神儀典》[Deity Send-off and Welcoming Rites of the Luermen Tianhou Temple],臺南市政府文化局 [Cultural Affairs Bureau, Tainan City Government](大臺南文化資產叢書第三輯 [Greater Tainan Cultural Heritage Series, third set]),2016,頁 [p.] 45Original URL—Retrieved2026-11-09Snapshot timestamp—SourceFrom 《Deity Send-off and Welcoming Rites of the Luermen Tianhou Temple (鹿耳門天后宮送迎神儀典)》p. 45Published by the Cultural Affairs Bureau, Tainan City Government; an official publication..Official record
- Tucheng Xiang (《土城香》): in the Jiaqing reign, the Three Guilds formed a volunteer banner, the "Sanjiao Banner" (三郊旗), and helped the authorities drive off the pirate Cai Qian R008SourceHsieh Chi-feng (謝奇峰), Wu Ming-hsun (吳明勳),《正統鹿耳門聖母廟土城香:鹿耳門媽香・五府千歲醮》[Orthodox Luermen Shengmu Temple, Tucheng Xiang: Luermen Mazu Incense, Wufu Qiansui Jiao Rites],晨星出版 [Morning Star Publishing],2024,頁 [pp.] 25–26(謝奇峰撰 [by Hsieh Chi-feng])Original URL—Retrieved2026-11-09Snapshot timestamp—SourceFrom 《Orthodox Luermen Shengmu Temple, Tucheng Xiang: Luermen Mazu Incense, Wufu Qiansui Jiao Rites (正統鹿耳門聖母廟 土城香:鹿耳門媽香・五府千歲醮)》p. 25–26A series planned by the temple.. See Sanjiao of Fucheng.Account by an involved party
- After peace was restored, the Mazu temple at Luermen received the plaque 「神潮助順」 ("Divine Tides Aid Fair Sailing"); as to who presented it, the thesis says it was bestowed by the court with a colophon written by Zheng Jiancai, while the Shengmu Temple's 〈沿革誌要〉 (Summary History) says it was respectfully presented by Saichong'a R006SourceLu Hsin-tzu (陸昕慈),〈「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究〉[The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple"],國立臺南大學臺灣文化碩士班 [Master's Program in Taiwan Culture, National University of Tainan] 碩士論文 [master's thesis],2021,實頁 [physical pp.] 38、41–43Original URL—Retrieved2026-11-03Snapshot timestamp—SourceFrom 《The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple" (「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究)》p. 38、41–43Cites Zheng Jiancai (鄭兼才), 《六亭文集》 (Collected Writings of Liuting), and Chen Tsai-cheng (陳在正), 《臺灣海疆史》 (A History of Taiwan's Maritime Frontier). The thesis takes the position of the Tucheng side.. See Cai Qian, Saichong'a and Zheng Jiancai.Account by an involved party
- The author of the thesis reasons that the Mazu temple 「甚至曾嚇阻海寇蔡牽的進犯」 ("even once deterred the incursions of the sea raider Cai Qian"), and cites Chen Tsai-cheng (陳在正) for the view that both Cai Qian's band and the Qing navy worshipped Mazu R006SourceLu Hsin-tzu (陸昕慈),〈「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究〉[The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple"],國立臺南大學臺灣文化碩士班 [Master's Program in Taiwan Culture, National University of Tainan] 碩士論文 [master's thesis],2021,實頁 [physical pp.] 38、41–43Original URL—Retrieved2026-11-03Snapshot timestamp—SourceFrom 《The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple" (「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究)》p. 38、41–43Cites Zheng Jiancai (鄭兼才), 《六亭文集》 (Collected Writings of Liuting), and Chen Tsai-cheng (陳在正), 《臺灣海疆史》 (A History of Taiwan's Maritime Frontier). The thesis takes the position of the Tucheng side.. This is the thesis author's inference.Account by an involved party
In the documents, 「沉舟漂起」 ("the sunken boats floated up") belongs to the same motif as the 「水漲數尺」 ("the water rose several feet") and 「潮水漲高八尺」 ("the tide rose eight feet") recorded when Koxinga (鄭成功) entered Luermen in 1661 and the Qing army in 1721: the tides of Luermen decide who can get in and who can get out. This time the tide helped the side that was trying to escape.
Differing accounts
- The span of the "Cai Qian Incident": Huang Wen-po gives 1803–1809 R007SourceHuang Wen-po (黃文博)《鹿耳門天后宮送迎神儀典》[Deity Send-off and Welcoming Rites of the Luermen Tianhou Temple],臺南市政府文化局 [Cultural Affairs Bureau, Tainan City Government](大臺南文化資產叢書第三輯 [Greater Tainan Cultural Heritage Series, third set]),2016,頁 [p.] 45Original URL—Retrieved2026-11-09Snapshot timestamp—SourceFrom 《Deity Send-off and Welcoming Rites of the Luermen Tianhou Temple (鹿耳門天后宮送迎神儀典)》p. 45Published by the Cultural Affairs Bureau, Tainan City Government; an official publication.; Wikipedia records that Cai Qian was defeated and died in 1809 in the open sea off Yushan, Zhejiang R009Source維基百科中文版 [Chinese Wikipedia]:蔡牽 [Cai Qian]Original URLhttps://zh.wikipedia.org/wiki/蔡牵Retrieved2026-11-09Snapshot timestamp—Outline of his life; secondhand account..
Records in academic theses
- The number of raids — the two theses count them differently:
- Wu Chien-sheng, 2010: 「蔡牽率眾入鹿耳門,始嘉慶五年,兵將退守安平,商船悉為賊有」 ("Cai Qian first led his men into Luermen in Jiaqing 5; the troops withdrew to hold Anping, and the merchant ships all fell to the pirates"); in the 4th month of Jiaqing 9 (1804) he attacked Luermen under cover of rain, seizing more than fifty cannon and over ten warships, and 「船戶知無所恃,各赴牽議價自贖。十三日,東南風發,乃擁重貲悠悠而去」 ("the ship owners, knowing they had no protection, each went to Cai Qian to negotiate a ransom. On the thirteenth the southeast wind rose, and he sailed off at leisure with his rich haul"); in the 11th month of Jiaqing 10 (1805) he entered Luermen and landed to hold Zhouzaiwei as his northern base, while on the southern route Chen Bang and others set up a base at Tongpanzhan R010SourceWu Chien-sheng (吳建昇),《道光三年以前台江內海及周圍地區歷史變遷之研究》[The History Vicissitudes of Taijiang Inner Sea and Its Surrounding Areas Before 1823],國立成功大學歷史學系 [Department of History, National Cheng Kung University] 博士論文 [doctoral dissertation],2010,頁 232、258、262、359 [pp. 232、258、262、359]Original URL—Retrieved2026-11-12Snapshot timestamp—SourceFrom 《The History Vicissitudes of Taijiang Inner Sea and Its Surrounding Areas Before 1823 (道光三年以前台江內海及周圍地區歷史變遷之研究)》p. 232、258、262、359.
- Yang Hsiu-lan, 2004: Cai Qian raided Luermen four times — Jiaqing 5 (1800), the 4th month of Jiaqing 9, the 11th month of Jiaqing 9, and the 11th month of Jiaqing 10 R011SourceYang Hsiu-lan (楊秀蘭),《清代台南府城五條港區的經濟與社會》[The Economy and Society of the Five Canals District of Tainan Prefectural City in the Qing Dynasty],國立臺灣師範大學歷史學系 [Department of History, National Taiwan Normal University] 碩士論文 [master's thesis],2004,頁 99–100、118 [pp. 99–100、118]Original URL—Retrieved2026-11-12Snapshot timestamp—SourceFrom 《The Economy and Society of the Five Canals District of Tainan Prefectural City in the Qing Dynasty (清代台南府城五條港區的經濟與社會)》p. 99–100、118.
- Defenses in 1806: in the 5th month of Jiaqing 11, when Cai Qian again slipped into the Luermen area, Saichong'a sent brigade commander Aixintai, second-rank guard Wulong'a, deputy general Zhang Lianghuai and others 「赴四草、南汕一帶劄營」 ("to encamp around Sicao and Nanshan"), with further defenses along the Hanxi Harbor, Zhouzaiwei and Anping routes R010SourceWu Chien-sheng (吳建昇),《道光三年以前台江內海及周圍地區歷史變遷之研究》[The History Vicissitudes of Taijiang Inner Sea and Its Surrounding Areas Before 1823],國立成功大學歷史學系 [Department of History, National Cheng Kung University] 博士論文 [doctoral dissertation],2010,頁 232、258、262、359 [pp. 232、258、262、359]Original URL—Retrieved2026-11-12Snapshot timestamp—SourceFrom 《The History Vicissitudes of Taijiang Inner Sea and Its Surrounding Areas Before 1823 (道光三年以前台江內海及周圍地區歷史變遷之研究)》p. 232、258、262、359.
- The militia of the prefectural city: during the raid of Jiaqing 10, county magistrate Xue Zhiliang (薛志亮) recruited militia and the Three Guilds recruited dock workers of the Five Canals district into a five-colored-banner militia; after some three months Cai Qian was driven out of Luermen by a pincer attack of the militia and the troops of Penghu deputy general Wang Delu (王得祿) (the thesis writes 「王得錄」); the Jiaqing 11 〈重建義民祠碑記〉 records the Three Guilds enshrining the fallen militiamen in the Yimin Shrine R011SourceYang Hsiu-lan (楊秀蘭),《清代台南府城五條港區的經濟與社會》[The Economy and Society of the Five Canals District of Tainan Prefectural City in the Qing Dynasty],國立臺灣師範大學歷史學系 [Department of History, National Taiwan Normal University] 碩士論文 [master's thesis],2004,頁 99–100、118 [pp. 99–100、118]Original URL—Retrieved2026-11-12Snapshot timestamp—SourceFrom 《The Economy and Society of the Five Canals District of Tainan Prefectural City in the Qing Dynasty (清代台南府城五條港區的經濟與社會)》p. 99–100、118.
- Chen Qiliang (陳啟良), chief of the Three Guilds' militia, raised funds to build the "outer wall" west of the prefectural city: 「計千二百丈,成以三日夜,費白金六千有奇」 ("1,200 zhang in all, completed in three days and nights, at a cost of over six thousand taels of silver") R010SourceWu Chien-sheng (吳建昇),《道光三年以前台江內海及周圍地區歷史變遷之研究》[The History Vicissitudes of Taijiang Inner Sea and Its Surrounding Areas Before 1823],國立成功大學歷史學系 [Department of History, National Cheng Kung University] 博士論文 [doctoral dissertation],2010,頁 232、258、262、359 [pp. 232、258、262、359]Original URL—Retrieved2026-11-12Snapshot timestamp—SourceFrom 《The History Vicissitudes of Taijiang Inner Sea and Its Surrounding Areas Before 1823 (道光三年以前台江內海及周圍地區歷史變遷之研究)》p. 232、258、262、359.
Records in the Taiwan Caifang Ce and the Dongcha Jilue
- Number and years of the incursions, Taiwan Caifang Ce (臺灣采訪冊), 〈兵燹〉 ("War and Devastation"): 「其來臺灣,入鹿耳門,始嘉慶五年,越九年四月,又至。乘雨登岸。北汕砲不得發。戕遊擊武克勤,仍罄商船所有而去。是年十一月繼至。十年二月去。四月再至。」 ("His coming to Taiwan and entering Luermen began in Jiaqing 5; in the fourth month of year 9 he came again. He landed under cover of rain, and the Beishan guns could not be fired. He killed the brigade commander Wu Keqin, and again left after taking everything the merchant ships had. In the eleventh month of that year he came once more, and left in the second month of year 10. In the fourth month he came again.") R012Source《臺灣采訪冊》[Taiwan Caifang Ce (Records of Inquiries in Taiwan)]〈兵燹〉["War and Devastation"](臺灣省文獻委員會 [Taiwan Historica] 1993 reprint),pp. 46–51Original URL—Retrieved2026-11-20Snapshot timestamp—SourceFrom 《Taiwan Caifang Ce (Records of Inquiries in Taiwan)》p. 46–51Checked against images of the printed pages. 〈兵燹〉 records inquiries made between Daoguang 9 and 10 (1829–1830).. Official record
- The Caifang Ce lists Jiaqing 5 (1800), the fourth month of year 9 (1804), the eleventh month of year 9 to the second month of year 10 (1804–1805), the fourth month of year 10 (1805), and, further on, the eleventh month of year 10; this matches neither the four raids of Yang Hsiu-lan 2004 nor the three of the Qing official records exactly.
- For the brigade commander killed in 1804, the printed Caifang Ce reads 「武克勤」 (Wu Keqin), the same as the Veritable Records of the Renzong Emperor and the Brief Account of the Eastern Sea (東瀛識略).
- The day-by-day record of 1805–1806 in 〈兵燹〉 R012Source《臺灣采訪冊》[Taiwan Caifang Ce (Records of Inquiries in Taiwan)]〈兵燹〉["War and Devastation"](臺灣省文獻委員會 [Taiwan Historica] 1993 reprint),pp. 46–51Original URL—Retrieved2026-11-20Snapshot timestamp—SourceFrom 《Taiwan Caifang Ce (Records of Inquiries in Taiwan)》p. 46–51Checked against images of the printed pages. 〈兵燹〉 records inquiries made between Daoguang 9 and 10 (1829–1830).: Official record
- On the 17th day of the eleventh month of Jiaqing 10 the prefectural city received the report; on the 24th Cai Qian entered Luermen; on the 1st day of the twelfth month government troops met the bandits at Muzha (木柵), and 「賊進據洲仔尾。自是南北路聲息不通」 ("the bandits advanced and occupied Zhouziwei. From then on there was no communication between the northern and southern routes").
- On the 24th day of the twelfth month Li Changgeng, provincial naval commander of Zhejiang and Fujian, arrived with the fleet and hemmed Cai Qian in at Luermen.
- On the 5th day of the first month of year 11, Xu Songnian (許松年) of the Jinmen garrison and Wang Delu (王得祿) of the Penghu brigade entered by the Anping Great Harbor (安平大港) and attacked the bandit ships at Zhouziwei; the bandit ships 「退保洲仔尾」 ("fell back to hold Zhouziwei"); on the 21st word spread for a time that the great army from the mainland had arrived and recovered Zhouziwei.
- Early in the second month, the guild members (郊眾, the merchants of the trade guilds) asked to attack Zhouziwei; Regional Commander Aixintai (愛新泰) ordered the guild members to go first, the government troops and militia came on suddenly, the fleet in the inner harbor landed, and the bandit lair at Zhouziwei fell. On the 6th Cai Qian secretly planned his escape, at night sent men in sampans (杉板船) to scout the way, and at first light fled hastily by the route he had come, 「計三十有八號」 ("thirty-eight vessels in all"); on the 16th Cai Qian anchored again at Luermen, then left to avoid Li Changgeng.
- On the 1st day of the third month the imperial commissioner and general Saichong'a (賽沖阿) entered the city; on the 17th day of the fifth month Cai Qian attacked merchant ships again, Zhang Jiansheng (張見陞) of the Funing garrison and Wang Delu of the Penghu brigade led their forces straight at him, and the fighting ended on the 1st day of the sixth month: 「自是,蔡牽不復來」 ("from then on, Cai Qian came no more").
- The summary at the head of 〈兵燹〉 in the same book reads: 「十一年丙寅二月,蔡牽逸去。三月初一日,廣州將軍賽沖阿自江西道中奉旨剿賊,入城。五月,蔡牽再來,復逸。」 ("In the second month of year 11, bingyin, Cai Qian escaped. On the 1st day of the third month the Guangzhou general Saichong'a, ordered by imperial edict while on the road from Jiangxi to suppress the bandits, entered the city. In the fifth month Cai Qian came again, and again escaped.")
- Yao Ying's (姚瑩) summary in 〈臺灣班兵議〉 ("On the rotating garrison troops of Taiwan"): the Cai Qian uprising 「始入艋舺、新莊,既陷鳳山,據洲仔尾,郡城受攻者三月」 ("first entered Mengjia and Xinzhuang, then took Fengshan and occupied Zhouziwei, and the prefectural city was under attack for three months") R013SourceYao Ying (姚瑩),《東槎紀略》[A Brief Account of the Eastern Raft] 卷四 [juan 4]〈臺灣班兵議〉下 ["On the rotating garrison troops of Taiwan," part 2](臺灣省文獻委員會 [Taiwan Historica] 1996 reprint),p. 97Original URL—Retrieved2026-11-20Snapshot timestamp—SourceFrom 《A Brief Account of the Eastern Raft (東槎紀略)》p. 97Checked against images of the printed pages.. Official record
Where the sources disagree
The name of the major killed in 1804Handling on this site: Unverified
- Account 1Veritable Records of the Renzong Emperor and Brief Account of the Eastern Sea: Wu Keqin (武克勤)R001Source《清實錄・仁宗睿皇帝實錄》[Veritable Records of the Qing: Veritable Records of the Renzong (Jiaqing) Emperor] 卷一百三十 [juan 130](嘉慶九年 [Jiaqing 9]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清實錄/仁宗睿皇帝實錄/卷一百三十Retrieved2026-11-09Snapshot timestamp—
- Account 2Zheng Jiancai, Collected Writings of Liuting: Wu Keqiong (武克瓊)R006SourceLu Hsin-tzu (陸昕慈),〈「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究〉[The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple"],國立臺南大學臺灣文化碩士班 [Master's Program in Taiwan Culture, National University of Tainan] 碩士論文 [master's thesis],2021,實頁 [physical pp.] 38、41–43Original URL—Retrieved2026-11-03Snapshot timestamp—Cites Zheng Jiancai (鄭兼才), 《六亭文集》 (Collected Writings of Liuting), and Chen Tsai-cheng (陳在正), 《臺灣海疆史》 (A History of Taiwan's Maritime Frontier). The thesis takes the position of the Tucheng side.
Who presented the "Divine Tides Aid Fair Sailing" (神潮助順) plaque
- Account 1The thesis: the plaque was bestowed by the court, and Zheng Jiancai wrote the colophon on its behalf; the colophon contains the words 「予既奉命東征,即馳赴鹿耳門」 ("having received orders for the eastern expedition, I hastened at once to Luermen")R006SourceLu Hsin-tzu (陸昕慈),〈「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究〉[The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple"],國立臺南大學臺灣文化碩士班 [Master's Program in Taiwan Culture, National University of Tainan] 碩士論文 [master's thesis],2021,實頁 [physical pp.] 38、41–43Original URL—Retrieved2026-11-03Snapshot timestamp—Cites Zheng Jiancai (鄭兼才), 《六亭文集》 (Collected Writings of Liuting), and Chen Tsai-cheng (陳在正), 《臺灣海疆史》 (A History of Taiwan's Maritime Frontier). The thesis takes the position of the Tucheng side.
- Account 2The Shengmu Temple's 〈沿革誌要〉 (Summary History): respectfully presented by the imperial commissioner Saichong'a, General of Fuzhou (see the entry on Cai Qian)R006SourceLu Hsin-tzu (陸昕慈),〈「古鹿耳門媽祖宮」至「正統鹿耳門聖母廟」媽祖信仰脈絡研究〉[The research of relative context rgarding "Ancient Luermen Mazu Palace" to the current transformation of "Orthodox Luermen Shang Mu Temple"],國立臺南大學臺灣文化碩士班 [Master's Program in Taiwan Culture, National University of Tainan] 碩士論文 [master's thesis],2021,實頁 [physical pp.] 38、41–43Original URL—Retrieved2026-11-03Snapshot timestamp—Cites Zheng Jiancai (鄭兼才), 《六亭文集》 (Collected Writings of Liuting), and Chen Tsai-cheng (陳在正), 《臺灣海疆史》 (A History of Taiwan's Maritime Frontier). The thesis takes the position of the Tucheng side.
How Cai Qian got out of Luermen in 1806
- Account 1Draft History of the Qing, Biography of Li Changgeng: trapped at Beishan, the wind and tide suddenly rose, the sunken boats floated up, and he seized Luermen and escapedR004Source《清史稿》[Draft History of the Qing] 卷三百五十 [juan 350](李長庚、王得祿、邱良功、許松年傳 [biographies of Li Changgeng, Wang Delu, Qiu Lianggong and Xu Songnian]),維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/清史稿/卷350Retrieved2026-11-09Snapshot timestamp—
- Account 2Brief Account of the Eastern Sea: in the second month dozens of the bandits' boats were destroyed, and Qian, with his remaining few dozen boats, fought his way out and escapedR003SourceDing Shaoyi (丁紹儀)《東瀛識略》[Brief Account of the Eastern Sea](同治十二年 [Tongzhi 12],1873)卷七 [juan 7],維基文庫 [Wikisource]Original URLhttps://zh.wikisource.org/wiki/東瀛識略/卷7Retrieved2026-11-09Snapshot timestamp—
See also
- Qing era・Military figuresCai Qian⚖︎Pirate leader of the Jiaqing era
- Beishan Stockade⚖︎Qing-era wooden stockade north of Luermen
- Luermen garrison post⚖︎Qing coastal-defense inspection post at Luermen Harbor
- Luermen Battery⚖︎Qing battery at the mouth of Luermen harbor
- Ancient Luermen Mazu Temple⚖︎A Qing-era Mazu temple beside Luermen HarborContains 1 items
- Taiwan Naval Brigade⚖︎The navy that guarded Luermen
- Qing era・Qing and Japanese-era officialsLi ChanggengThe commander who blockaded Cai Qian outside Luermen
- Qing era・Qing and Japanese-era officialsWu Keqin⚖︎The Youji killed at the North Shoal Stockade in Jiaqing 9
- Qing era・Qing and Japanese-era officialsWu KeqiongQing-dynasty youji (major)
- Qing era・Qing and Japanese-era officialsWang WeiguangQing shoubei (garrison commander)
- Qing era・Qing and Japanese-era officialsAixintaiAixintai was brigade general (zongzhen) of Taiwan in the Jiaqing reign of the Qing who rebuilt the Ancient Luermen Mazu Temple in Jiaqing 5 (1800).
- Qing era・Qing and Japanese-era officialsSaichong'aQing imperial commissioner
- Qing era・Qing and Japanese-era officialsZheng Jiancai⚖︎Qing-dynasty director of studies of Taiwan County; Zheng Jiancai's Liuting Wenji (六亭文集) records Cai Qian's attack on Luermen and that "the military office survived because it stood close to the Tianhou Temple," and Zheng ghostwrote the colophon of the "Divine Tides Aid Fair Sailing" plaque.
- Sanjiao of Fucheng (Three Merchant Guilds of Tainan)The merchant guilds of Qing-era Tainan
- Orthodox Luermen Shengmu Temple⚖︎Mazu temple of Tuchengzi, host of the Tuchengzi Incense ProcessionContains 18 items
- ZhouziweiQing-era coastal settlement on the east shore of the Taijiang, north of the prefectural city
- Chen Zhouquan IncidentThe popular uprising at Changhua and Lukang in Qianlong 60 (1795)
- Lin Shuangwen Incident⚖︎One of the three great uprisings of Qing-era Taiwan
- Luermen⚖︎An old harbor channel and sandbar at the northern mouth of the Taijiang Inland SeaContains 6 items
- History of LuermenLuermen from the Dutch period to the Qing dynasty
- Taijiang in the Qing periodTaijiang under Qing rule, 1684–1895
- Zhu Yigui Incident⚖︎The 1721 uprising in Taiwan
Reports that mention it
Hall of Time2.1Settlement / Place names and jiaotou
The Rise and Fall of Luermen
In the Dutch period, Luermen was only a secondary channel north of the Tayouan harbor channel. In 1661 Koxinga's fleet entered Taijiang through it, and from 1684 it became the sole official port for crossings between Taiwan and Xiamen: officials, migrants, troops and merchant ships all passed through this gate. A century later Lukang and Baliben opened in turn; in 1823 silt from the Zengwen River filled Taijiang into land; in 1840 the Qing court blocked the abandoned channel with stones; and in 1871 floodwaters swept even the Mazu temple beside the gate into the riverbed. The gate closed, but its name and its incense lineage remained on the new land.
Continue from here
- Luermen (Mazugong): other EventsCPDC Anshun Plant Compensation and Care Program⚖︎Compensation and care program for the three villages around the Anshun Plant
- Took place atLuermen⚖︎An old harbor channel and sandbar at the northern mouth of the Taijiang Inland SeaContains 6 items
- Entries in the same hallOrthodox Luermen Shengmu Temple⚖︎Mazu temple of Tuchengzi, host of the Tuchengzi Incense ProcessionContains 18 items