In 487, the Rouran khagan Doulun attacked the Northern Wei dynasty, Afuzhiluo and his younger brother Qiongqi (窮奇) led more than one hundred thousand people in the west of Gaoche.
After the death of the Rouran ruler Yucheng in 485 CE, his belligerent son Dulun fought more wars against the Northern Wei.
As a result, Afuzhiluo, together with his younger cousin Qiongqi, betrayed the person and managed to lead their clans of over 100,000 yurts to escape from the pursuing armies.
After they settled, he founded a statelet (also known as the A-Fuzhiluo kingdom) under the title of Ulu Beglik (候娄匐勒, based on an interpretation of Shiratori Kurakichi and Pulleyblank).
With the elimination of Rouran influence, the Hephthalites, kindred steppe nomads, for the first time extended their domain as far as Karashahr, where Qiongqi was killed and his son Mi'etu (彌俄突) was taken hostage[citation needed].
He returned to his realm and Biliyan (跋利延), the successor of Afuzhiluo, was overthrown by his tribesmen, while shortly paying tribute to the Touba.