On 22 December 310, the Prince of Donghai and regent of the Jin Empire,
Sima Yue, due to his suspicion of
Emperor Huai of Jin and wanting to fight the armies of Han in open battle, led the 40,000 strong imperial army out from the capital,
Luoyang to camp at
Xuchang. This decision was in spite of the Emperor's objection, who feared that the capital would be defenseless to attacks. Yue selected a few of his inner circle to keep close watch on the Emperor while he was away, which included his advisor He Lun, the
Qihuo general Li Yun, Yue's wife
Lady Pei and his eldest son Sima Pi. He brought with him many of the government's top ministers and generals to Xuchang, before shifting his camp east to Xiang county (in present-day
Shenqiu County,
Henan). Eventually, the imperial army swelled to 100,000. After years of growing animosity, Emperor Huai could no longer tolerate Sima Yue's actions and allied himself with the Inspector of
Qing province,
Gou Xi. While Jin continued to fight against the growing threat of Han, the two secretly exchanged letters with one another, and eventually, Huai sent an edict to Gou Xi ordering him to campaign against Sima Yue. Yue's scouts intercepted the edict, but he was reportedly so overwhelmed by stress by the discovery that he became deathly ill. He entrusted the minister,
Wang Yan with his important affairs before dying on 23 April 311. The officials at Xiang were unsure of how to proceed. With Sima Pi at Luoyang, they needed a temporary leader and initially elected Wang Yan, but he refused. Their second candidate,
Sima Fan (son of
Sima Wei, Prince Yin of Chu), also turned down the responsibility. In the end, they decided that they should first hold a funeral at his fief in
Donghai to the east before figuring out their next move. However, their situation was soon known to the Han general,
Shi Le, who, just a month prior, had captured Xuchang with his forces. == The battle ==