Between 907 and 960 there was a mess of Dynasties; some lasting as little as 3 years but none longer than 17 years. In fairly rapid succession the Later Liang Dynasty (907 to 923), Later Tang Dynasty (Shatuo Turk 923 to 936), Later Jin Dynasty (936 to 946), Later Han Dynasty (947 to 950) and Later Zhou Dynasty (951 to 960). As Tang power ebbed by the center of the eighth century CE Domestic economic instability and military defeat in 751 by Arabs at Talas, in Central Asia, marked the beginning of five centuries of steady military decline for the Chinese empire. Misrule, court intrigues, economic exploitation, and popular rebellions weakened the empire, making it possible for northern invaders to terminate the dynasty in 907. The next half-century saw the fragmentation of China into five northern dynasties and ten southern kingdoms. The dispersal of political and economic power that marked the collapse of the Tang dynasty resulted in a brief period of disunion known as the Five Dynasties period (AD 907-960). Not only did five short-lived dynasties follow one another in the Huang He (yellow River), valley of North China, but ten independent states were established (AD 906-979), most of them in South China. Although foreign invaders did not overrun China during this period, the Liao dynasty (AD 916-1125) of the Khitan Mongols, based in Manchuria and Mongolia, was able to extend its influence over parts of northern Hebei and Shanxi provinces. Beijing became the southern capital of their joint Sino-Khitan Empire.