He Xiwen


He Xiwen, or Hỷ Văn in Vietnamese, was a Chinese pirate throughout the South China Sea in the late 1700s.
His early life was unknown. He joined the White Lotus in Sichuan Province, China. Later, he migrated to Fujian Province, where he joint a pirate band that belonged to Tiandihui. His pirate fleet attacked the coast of Fujian and Guangdong. For reasons unknown he came to Southern Vietnam, perhaps because his fleet was attacked by Qing navy. He was thought to be the same person Qǐwén, whom was a Chinese pirate mentioned in Veritable Records of Qing dynasty.
In 1786, his fleet was in Pulo Condor. He came into contact with Nguyễn Ánh. In the next year, Nguyễn Ánh came from Siam back to Southern Vietnam. When Ánh arrived in Ko Kut, He swore allegiance to Nguyễn Ánh. In return, he received the title tuần hải đô dinh.
Đại Nam chính biên liệt truyện stated that he had talent in naval battle. He died in 1801.