Liu Jun, Prince Shixing

They were subsequently defeated by their brother Liu Jun (different character) the Prince of Wuling and executed.

After that point, Consort Pan, despite not being made empress, was effectively the mistress of the palace.

By this point, the brothers had become so resentful of their father Emperor Wen that when they corresponded with each other, they referred to their father derogatorily as "that person", and referred to their uncle Liu Yigong the Prince of Jiangxia, who was the prime minister by this point, "flatterer."

Another servant, Chen Qingguo (陳慶國), also involved in the witchcraft, became frightened that he would be killed as well, and therefore reported the plot to Emperor Wen.

Liu Jun was then to next become the governor of Jing Province (荊州, modern Hubei) with his post at Jiangling, and he brought Yan back to the capital Jiankang.

He secretly and intensely discussed the matter with Xu Danzhi, Jiang Dan, and Wang Sengchuo (王僧綽).

Liu Shao, after forging an edict from Emperor Wen stating that his troops were to enter the palace to help guard against a rebellion, took over the defense of the palace, and he sent his guard Zhang Chaozhi (張超之) into Emperor Wen's bedchamber to assassinate him.

Liu Shao also had Xu, Jiang, Consort Pan, and a number of other associates of Emperor Wen put to death.

Liu Jun soon joined him at the palace, and the brothers then falsely announced that Emperor Wen had been killed by Xu and Jiang.

When news of the coup came, his staff members, not knowing that Liu Jun was involved as well, suggested that he occupy Shitou, a fortress west of the city, and observe what the situation was.

When Liu Shao told him that Consort Pan had been killed, he even stated, "That is in accordance with my desire.