Emperor Wen of Chen (陳文帝) (522–566), personal name Chen Qian (陳蒨), also called Chen Tanqian(陳曇蒨), courtesy name Zihua (子華), was the second emperor of the Chinese Chen dynasty. He was a nephew of the founding monarch, Emperor Wu (Chen Baxian), and after Emperor Wu's death in 559, the officials supported him to be emperor since Emperor Wu's only surviving son, Chen Chang, was detained by the Northern Zhou dynasty. At the time he took the throne, Chen had been devastated by war during the preceding Liang dynasty, and many provinces nominally loyal to him were under control of relatively independent warlords. During his reign, he consolidated the state against warlords, and he also seized territory belonging to claimants to the Liang throne, Xiao Zhuang and the Emperor Xuan of Western Liang, greatly expanding Chen's territory and strength. During Liang Dynasty Chen Qian was born in 522, as the oldest son of Chen Daotan (陳道譚), a commander of the Liang Dynasty palace guards. His mother's name is not recorded in history. When the rebel general Hou Jing attacked the capital Jiankang in 548 and put it under siege, Chen Daotan participated in the defense of Jiankang against Hou's siege, commanding archers, and he was killed by a stray arrow during the siege. (As the palace did not fall to Hou until 549, it is not clear whether Chen Daotan died in 548 or 549.) It appeared that during the disturbance, in order to avoid the banditry that was common in the countryside, Chen Qian went to the Chens' home commandery of Wuxing (吳興, roughly modern Huzhou, Zhejiang). After his uncle Chen Baxian joined the campaign of Xiao Yi the Prince of Xiangdong (later Emperor Yuan) against Hou, Hou arrested both Chen Qian and Chen Baxian's son Chen Chang and imprisoned them. Only after the victory of Emperor Yuan's forces (commanded by Wang Sengbian with Chen Baxian as Wang's lieutenant) over Hou were Chen Qian and Chen Chang freed, and Chen Qian joined Chen Baxian's army. He quickly distinguished himself in minor campaigns against local bandits, and he became one of Chen Baxian's trusted generals. In 554, Western Wei forces attacked Emperor Yuan's new capital Jiangling (江陵, in modern Jingzhou, Hubei) and captured it, putting Emperor Yuan to death around new year 555. Western Wei declared Emperor Yuan's nephew Xiao Cha emperor (as Emperor Xuan), but Wang and Chen Baxian refused to