Northern and Southern dynasties were eventually reunified by Sui dynasty in 589. In 1892, the kingdom was reunified with Kedah Sultanate. The communist regime of the Socialist Republic of Vietnam had officially reunified the country. The Song dynasty reunified China in the late tenth century. The short-lived Sui dynasty reunified China again in 589 with its capital back in Chang'an. Under the Frankish kings, it eventually, and partially, reunified, and the anarchy evolved into feudalism. The Song dynasty that reunified China in 982 also had its capital at Kaifeng. Germany was officially reunified in October 1990. Georgia was reunified for the first time in centuries but had lost its independence. The newly fragmented Idrisid power would never again be reunified. The Palas reunified Bengal after the fall of Shashanka's Gauda Kingdom. He had reunified Siam as one kingdom. The year is 1990 and Germany has been newly reunified. The empire was reunified under Aurelian (). The wall was torn down and Germany was eventually reunified.