A general named Qutlugh declared himself the new khagan, under the title "Tängridä ülüg bulmïsh alp kutlugh ulugh bilgä kaghan" ("Greatly born in moon heaven, victorious, glorious, great and wise Kaghan"), founding a new dynasty, the Ediz (Chinese: "A-tieh").