Emperor Xizong of Jin

In 1139, the Jin and Song dynasties arrived at a treaty, with the latter agreeing to be a tributary vassal state under the former.

However, in 1140, Emperor Xizong decided to wage war against the Song dynasty so he ordered the general Wanyan Zongbi to lead Jin forces to attack and seize back Henan and Shaanxi.

The bojilie system allowed the Jurchen ruler to choose an heir apparent from among male relatives in the same generation as him, usually his brothers.

Emperor Xizong felt depressed by the loss of his sons that he developed an addiction to alcohol and started neglecting state affairs.

Emperor Xizong was overthrown and murdered by his chancellor, Digunai, and other court officials in a coup d'état on 9 January 1150.