The Huang Chao rebellion was the great peasant rising of 875-884 led by Huang Chao, the blow that proved mortal to the Tang. Under Emperors Yizong and Xizong taxes bit deep and famine followed famine, with drifters rising everywhere; in 875 Wang Xianzhi rose at Changyuan and Huang Chao gathered a host at Yuanju in answer. The rebels fought across the central plains and the Jiang-Huai; when Wang Xianzhi fell in battle in 878 the men made Huang Chao their chief, styling himself 'General Smiting the Sky', crossed the Yangtze south through Jiangxi into Fujian, took Guangzhou in 879, then swung north — Luoyang and Tongguan fell in train at the end of 880, and in early 881 the rebels entered Chang'an. Emperor Xizong fled to Chengdu; Huang Chao ascended as emperor, his state called Great Qi. The court ordered the military governors to close the ring, the Shatuo chief Li Keyong brought his cavalry in, and the rebels, penned in Chang'an until the grain failed, were forced out in 883; in 884 Huang Chao died in defeat at the Wolf-Tiger Valley. Near ten years of war had swept most of China: the Tang court, fragile even after the An Lushan rebellion, dissolved for good, the governors grown great in the suppressing obeyed no one, the Tang ruled in name only — and within a few years the Five Dynasties and Ten Kingdoms took its place.