ignored his warnings, so Wu Yan instead personally built iron chains as a barrier to prevent an eastward advance through the Yangtze. In September 272, the Commander of Xiling (西陵; present-day Xiling District, Yichang, Hubei), Bu Chan, rebelled against Wu and surrendered his city to Jin. Upon hearing this, Wu Yan, along with Zuo Yi (左奕) and others, were ordered by Lu Kang to campaign against the rebel. In December, Lu Kang and his generals repelled Jin forces led by Yang Hu and quelled Bu Chan's rebellion. At the end of 279, Jin initiated their conquest of Wu. The chains that Wu Yan had built caused some inconvenience for the Jin navy at first, but they were dealt with by Wang Jun, who melted them by sending rafts full of dummies soaked in oil and burning them. By 280, all of Wu's territories on the upper Yangtze River were conquered by Jin except Jianping, where Wu Yan continued to resist. Jin sent a large army to subdue Jianping, but Wu Yan managed to hold out in the city. Eventually, the Jin army gave up and retreated to a respectful distance from Jianping. Wu Yan only submitted after Sun Hao surrendered in Jiankang, thus ending the Three Kingdoms. Service in the Jin dynasty After the fall of Wu, surviving officials of Wu were sent to the Jin capital at Luoyang. At Luoyang, Wu Yan was appointed by Emperor Wu of Jin as Administrator of Jincheng. Shortly after, Emperor Wu asked another former Wu official, Xue Ying on why Sun Hao failed, to which Xue spoke negatively of his former emperor. Later that day, Emperor Wu asked the same question to Wu Yan, and Wu replied, "The lord of Wu was a brilliant man. His vassals were virtuous and wise." Emperor Wu laughed and said, "If so, then why did Wu perish?" Wu Yan responded, "Only Heaven can decide if one will endure or perish. That was why Your Majesty was able to subdue us. Since this is all Heaven's work, why must mortal doings be to blame?" The minister, Zhang Hua, was nearby when this happened and told Wu Yan, "Sir, you had been a general of Wu for years, yet I had never heard about you. How odd." Wu Yan replied, "Even His Majesty knows about me, so how could you not have?" Emperor Wu was impressed by Wu Yan's