 Many states had been "de facto" independent kingdoms long before 907, as Tang dynasty's ability to control its officials gradually waned, but have now been recognized as such by foreign powers.After the Tang had collapsed, the warlords who controlled the Central Plain crowned themselves as emperors.During the 70-year-long period, there was near constant warfare between all the emerged kingdoms and alliances they formed.