 Wei Guan was succeeded by Tang Bin (appointed 282) and Zhang Hua (appointed 291).By the time of the Rebellion of the Eight Princes, You Prefecture was controlled by Wang Jun, who secured alliances with nomadic tribes north of it by arranging marriages of his daughters to tribal chieftains of the Xianbei and Wuhuan.Wang Jun's support for Emperor Sima Lun against other princes earned the enmity of Sima Ying, who in 304, arranged to appoint He Yan as the governor of You Prefecture and instructed He Yan to eliminate Wang Jun.