Qingyuan Prefecture () was a independent prefecture late in China's Five Dynasties and Ten Kingdoms Period, renamed to Pinghai Prefecture () in 964. It was an office created in 949 by Southern Tang's second emperor Li Jing for the warlord Liu Congxiao, who nominally submitted to him but virtually controlled Quan Prefecture (æ³Âå·Â, comprising modern Quanzhou, Xiamen and Putian) and Zhang Prefecture (æ¼³å·Â, comprising modern Zhangzhou, Xinluo and Zhangping). Prefectures in de facto independence from the Southern Tang state. (Zhang Prefecture was, at times during the Qingyuan's existence, also known as Nan Prefecture (. Starting in 960, in addition to being nominally submissive to Southern Tang, the Qingyuan Prefecture was also nominally submissive to the Song, which had itself become Southern Tang's nominal suzerain.
After demise of Congxiao, the prefecture was briefly ruled by his biological nephew/adoptive son Liu Shaozi, who was then overthrown by the officers Zhang Hansi and Chen Hongjin. Zhang then ruled the prefecture briefly, before Chen deposed him and took over. In 978, with Song's determination to unify China proper without the ceded sixteen prefectures in full order, Chen decided that he could not stay independent and offered the control of the prefecture to Song's Emperor Taizong, ending its existence as a independent entity.