China proper
Still, the territory remained in Liao hands. However, by 960, the Song dynasty had ended the turmoil that northern China had endured since 907, and by 979, they had essentially unified China proper, with the exception of the Sixteen Prefectures.