When the Xianfeng Emperor's funeral procession left for Beijing, Cixi took advantage of her alliances with Princes Gong and Chun. She and the boy emperor returned to the capital before the rest of the party, along with Zaiyuan and Duanhua, two of the eight regents, while Sushun was left to accompany the deceased emperor's procession. Cixi's early return to Beijing meant that she had more time to plan with Prince Gong and ensure that the power base of the eight regents was divided between Sushun and his allies, Zaiyuan and Duanhua. In order to remove them from power, history was rewritten: the regents were dismissed for having carried out incompetent negotiations with the "barbarians" that had caused the Xianfeng Emperor to flee to Rehe Province "greatly against his will", among other charges.