The Tang Dynasty rule in China collapsed in 907 AD due to an inability to curb corruption and internal rebellions, which weakened the nation and led to foreign invasions. This ended the Tang Dynasty and plunged China into a new civil war, out of which the Song Dynasty would eventually rise to power.