Ever since its founding by Zhao Kuangyin, the Northern Song dynasty suffered one calamity after another. It faced nomadic tribes to the north and the chaos of the Five Dynasties and Ten Kingdoms period. After countless wars, large and small, it was ultimately destroyed by the Jin.