Overview
Liu Yan (; 889 – 10 June 942), né Liu Yan (劉巖), also named Liu Zhi (劉陟) (from c. 896 to 911) and briefly as Liu Gong (劉龔), also known by his temple name as the Emperor Gaozu of Southern Han (南漢高祖), was the first emperor of the Chinese Southern Han dynasty, one of the Ten Kingdoms during the Five Dynasties and Ten Kingdoms period.
Background
Liu Yan was born in 889, during the reign of Emperor Zhaozong of Tang. His father Liu Zhiqian (also known as Liu Qian) was then the prefect of Feng Prefecture (封州, in modern Zhaoqing, Guangdong) and was married to a Lady Wei, the niece of Wei Zhou (韋宙), a prior military governor (Jiedushi) of Lingnan East Circuit (嶺南東道, headquartered in modern Guangzhou, Guangdong), which Feng Prefecture belonged to. However, he also secretly had a concubine outside the home, a Lady Duan, and it was to Lady Duan that Liu Yan was born. When Lady Wei found out, she killed Lady Duan, but could not bear to kill the infant Liu Yan, and she took him back home to be raised as her own, as a younger brother to her own sons Liu Yin and Liu Tai (劉台).
As Liu Yan grew up, it was said that he was tall and capable in both horsemanship and archery. After Liu Yin became the commander of the army of the circuit (which had been renamed Qinghai (清海)) by that point under the military governor Li Zhirou the Prince of Xue in 896, Liu Yan was also given the title of military advisor to Li Zhirou as the Prince of Xue, and his name was changed from Liu Yan to Liu Zhi.
Service under Liu Yin
In 901, Li Zhirou's successor Xu Yanruo died, leaving a recommendation to Emperor Zhaozong that Liu Yin be made acting military governor, and Liu Yin subsequently took that title. Liu Zhi continued serving under his brother, and was first recorded to have participated in a campaign in 902, when Lu Guangchou, who controlled the Qian Prefecture (虔州, in modern Ganzhou, Jiangxi) region as Qian's prefect, attacked Qinghai, capturing Shao Prefecture (韶州, in modern Shaoguan, Guangdong) and giving it to his son Lu Yanchang, and then putting Chao Prefecture (潮州, in modern Chaozhou, Guangdong) under siege. Liu Yin personally led an army and repelled Lu Guangchou from Chao, and then prepared to attack Shao.
From Wikipedia (CC BY-SA 4.0).