In 907 Zhu Wen toppled the Tang for his Later Liang; the Yellow River valley then saw in succession Later Liang, Later Tang, Later Jin, Later Han and Later Zhou, while the south and Shanxi held Wu, Southern Tang, Wuyue, Chu, Min, Southern Han, Former Shu, Later Shu, Jingnan and Northern Han - the Five Dynasties and Ten Kingdoms. Succession mostly came from soldiers' coups; the Sixteen Prefectures of Yan and Yun, ceded by Shi Jingtang of Later Jin to the Khitan, left a long curse. Guo Rong, emperor Shizong of Later Zhou, reformed army and administration and laid the ground for unity; in 960 Zhao Kuangyin's Chenqiao mutiny replaced Zhou with Song, and by 979 Northern Han too had fallen - the Ten Kingdoms all gathered into the Northern Song, and the realm was one again.