Western Yan
After eviscerating the Former Qin, the people of the state abandoned the Guanzhong region and headed east back toward their homeland, but eventually settled down in modern Shanxi.After the fall of Former Yan, the last emperor Murong Wei and his brothers were relocated near the Former Qin capital, Chang'an, where they were allowed to serve as military generals and officials.After defeating a Qin force at Huayin, he claimed several offices for himself including the Grand General while declaring Murong Chui as the new prime minister.The ruler of Former Qin, Fu Jian, ordered him to tell his family members to stand down, but Wei instead secretly deferred his authority over to Hong in a letter, allowing him to take the throne once he hear of his death.With the ancient capital in hand, Murong Chong was content with settling in, leaving many of his Xianbei followers unsatisfied as they wanted to return to their homeland in the east.Yong then occupied Fu Pi's capital at Zhangzi (長子, in modern Changzhi, Shanxi), where contrary to his previous intentions, he declared himself the new Emperor of Yan.