He was a Jiedushi (military governor) and warlord who in 907 overthrew the Tang dynasty and established the Later Liang dynasty, ruling as its first emperor, ushering in the era of the Five Dynasties and Ten Kingdoms. Zhu Wen initially served as a general under the rebel Huang Chao, but defected to the weakened Tang dynasty in 882. Taking advantage of the total chaos in the wake of Huang Chao defeat, Zhu Wen was able to conquer parts of central China after destroying warlords such as Qin Zongquan, Shi Pu, Zhu Xuan, and Zhu Jin, although most of Shaanxi, Shanxi, and Hebei remained outside his reach, controlled by rival states Qi, Jin, and Yan respectively. Zhu Wen used a combination of strict enforcement, ruthless violence and solicitation to ensure his officers stayed loyal to him.