 All of them had the control of the Central Plain as their ultimate goal as that would have granted them the legitimacy over all their territories and rest of China as the legitimate successor to Tang.The last of the Five Dynasties and Ten Kingdoms regimes, the Northern Han, held out until 979, when Song had officially conquered it, thereby reclaiming all of the territory of the former Tang dynasty.Towards the end of the Tang dynasty, the imperial government granted increased powers to the "jiedushi", the regional military governors.