 In 960, the general Zhao Kuangyin staged a coup and took the throne for himself, founding the Northern Song Dynasty.This is the official end of the Five Dynasties and Ten Kingdoms period.During the next two decades, Zhao Kuangyin and his successor Zhao Kuangyi defeated the other remaining regimes in China proper, conquering Northern Han in 979, and reunifying China completely in 982.