At the end of the Northern Song Dynasty, Huizong Zhao Ji was on the throne, and traitors were in power in the court. Powerful ministers such as Cai Jing and Tong Guan controlled the government, selling their officials and titles to feed the common people. The rise of external big money was eyeing the Liao Dynasty. Although the Liao Dynasty was in decline, it was still struggling, and there were undercurrents from all parties.