This paper is about a rebellion in southern China in the first half of the tenth century and its depiction in historical sources from the tenth to the seventeenth centuries. At the core of this study is Zhang Yuxian, the rebel leader, and his allegiance to a spirit. The latter suggested moving from Guangdong, the territory of the Southern Han empire (917–971), and the original area of the rebellion, to Jiangxi, the territory of the Southern Tang empire (937–976). The approach of the paper is twofold: first, it examines the historical setting and context; and second, through a close reading of some of the major features of the sources, such as the labelling of Zhang as a yaozei, the adoption of red clothes by the rebels, and so forth, the essay makes evident the close relationship and dependency between successive historical texts.