For 10 points, name this dynasty that followed the Sui dynasty, and suffered the An Lushan rebellion.
This dynasty was the first to require all able-bodied peasants to sign up for the fu-bing militia system. After the fall of this dynasty, the Battle of Bach Dang River granted Vietnam its independence. This dynasty fought three successive wars with the Goguryeo, Baekje, and Silla dynasties of Korea. Bo Juyi wrote the poem "The Song of Everlasting Regret" after the death of Yang Guifei during this dynasty, one of China's Four Beauties. The period following this dynasty is referred to as the Five Dynasties and Ten Kingdoms period. A breakaway state during this dynasty began when Luoyang was seized by an army led by a Sogdian-Turkish general. For 10 points, name this dynasty that followed the Sui dynasty, and suffered the An Lushan rebellion.
This dynasty was the first to require all able-bodied peasants to sign up for the fu-bing militia system.
Tang dynasty