Legend & Origin
Chen Yuanguang's life is recounted through several legends.
According to tradition, in 669 CE, southern Fujian was struck by what historical sources call the "Aboriginal Uprising" (蠻獠嘯亂) — conflicts between local indigenous peoples and incoming Han settlers. The Tang court dispatched Chen Yuanguang's father, **Chen Zheng**, to lead 58 surnamed clans of warriors south to pacify the region. After his father's death, the 21-year-old Chen Yuanguang inherited his command and continued the southern administration.
In Zhangzhou, he adopted a strategy of "**combining military preparation with civil governance**." On the military side, he established beacon towers and stationed troops to deter incursions. On the civil side, he introduced Central Plains agricultural techniques, founded schools, and pursued cultural integration. Critically, he **rejected pure military conquest**, instead pursuing intermarriage, trade, and education to gradually resolve ethnic tensions.
In 711 CE, during a battle against the rebel leader Lan Fenggao, Chen Yuanguang was killed in action at age 55. Local residents, mourning his contributions to the region's development, spontaneously built temples in his honor and elevated him to the status of regional guardian. Successive imperial dynasties bestowed posthumous honors, culminating in Emperor Huizong of the Song Dynasty granting him the title "Loyal, Resolute, Benevolent King" (忠毅文惠王). Among the people, he came to be known by the simpler title "Sacred King who Opened Zhangzhou."
During Ming and Qing migration to Taiwan, Zhangzhou settlers brought their guardian deity with them, planting Kaizhang Shengwang temples in Taipei, Yilan, and Taoyuan. In Taiwan, his story functions not only as religious belief but also as a symbol of "**migrant-pioneer spirit**" — many temple couplets invoke phrases like "Opening Zhangzhou, founding Taiwan" (開漳啟臺), explicitly linking his cult to Taiwan's own settlement history.
