In 1269 'Phags-pa returned to Kublai's side at his new capital Khanbaliq (modern day Beijing). He presented Kublai Khan with a new script (the 'Phags-pa script) designed to represent all of the languages of the empire. The next year he was named Imperial Preceptor ("Dishi") of the Yuan dynasty, and his position as titular ruler of Tibet (now in the form of its 13 myriarchies) was reconfirmed, while the Mongols managed a structural and administrative rule over the region. The Yuan-Sakya hegemony over Tibet continued into the middle of the 14th century, although it was challenged by a revolt of the 'Bri-khung sect with the assistance of Hülegü of the Ilkhanate in 1285. The revolt was suppressed in 1290 when the Sakyas and eastern Mongols burned 'Bri-khung and killed 10,000 people (cf. Wylie 1977).