The Era of Disunity lasted from 220AD to 589AD in China and followed the fall of the Han Dynasty. During this time, China was split into several different kingdoms like Wei, Wu, and Shu Han instead of being unified under one dynasty. While it was a period of civil war, culture and technology still advanced. Wei briefly reunited China from 265-317 AD but northern nomadic groups took over areas and the Jin Dynasty moved its capital south, dividing China into northern and southern dynasties until 589 AD when Yang Jian reunified China under the Sui Dynasty.