Chang Yŏn-u was the son of Chang Yu (장유; 張儒), of the Heungdeok Chang clan. Chang Yu worked in the Department of Visiting Guests (객성; 客省; kaeksŏng), during the reign of King Gwangjong.[1] Chang Yŏn-u is thought to have been born around the time of the reign of Gwangjong.[2]
In 1010, Chang Yŏn-u was serving as the deputy minister of War (병부시랑; 兵部侍郞; pyŏngbu sirang) when he was appointed as the haengyŏng tot'ongbusa (행영도통부사; 行營都統副使) of the 300 thousand strong Goryeo army led by Kang Cho sent to defend against the invading Khitans. The Goryeo army was defeated near Tongju by the Khitans, with Kang being captured and later killed.[3] Chang survived the battle and fled southwards with King Hyeonjong to Naju in 1011. He was appointed as the superintendent of the Censorate (판어사대사; 判御史臺事; p'an ŏsadae sa) for his service to the king.[1]
In 1014, due to a lack of government funds, Chang and Hwangbo Yu-ŭi, both civil officials, proposed to reduce the salary of the military officials to make up for the lack of funds. This decision angered the military officials, with Supreme Generals Ch'oe Chil and Kim Hun launching a military rebellion and seizing control of the government.[1][4] Both Chang and Hwangbo were exiled from the court. However, in 1015, both Ch'oe and Kim were killed and power was restored to the civilian court. Chang and Hwangbo were allowed to return. Chang was appointed as the Minister of Revenue (호부상서; 戶部尙書; hobu sangsŏ), but died shortly later on January 5, 1016 [nb 1].[5] He was posthumously honoured as the Vice Director of the Right in the Department of State Affairs (상서우복야; 尙書右僕射; sangsŏ u pogya) and given the posthumous name of An'gyŏng.[1] Chang's poem, "Song of Cold Pine Pavilion" (한송정곡; 寒松亭曲), would later be included in the Joseon-era collection of writings called Tongmunsŏn (Selections of Refined Literature of Korea).[6][7]
Notes
^In the lunar calendar, he died in the 23th day of the 11th month of 1015.