 The Fanyang "Jiedushi" was based in Ji and became one of the "three revolting garrisons of Hebei" after the Anshi Rebellion

In the Five Dynasties and Ten Kingdoms period (907–960), the warlord Liu Rengong established his base in Youzhou and declared himself "King of Yan" ().His regime was ultimately toppled by the Later Tang (923–936).Shi Jingtang, founder of the Later Jin (936–947), submitted to the Khitans of the Liao Dynasty (907–1125) and ceded the Sixteen Prefectures (You was one of the sixteen) to them.