During the Yuanyou period of the Northern Song Dynasty, the old and new parties fought fiercely. The private commodity economy was prosperous but social contradictions were surging. There were constant frictions on the borders between Liao, Xixia and Song Dynasty. Kaifeng, the capital, was not only a prosperous place in the prosperous times, but also the center of the vortex of competition between various forces.