Rashid-al-Din Hamadani
In the Mongolian version, Ergenekon was the refuge of the progenitors of the Mongols, Nekuz and Qiyan (nephew and son of Il-Khan respectively), as told in the 14th-century literary history "Jāmiʿ al-tawārīkh", written by Rashid-al-Din Hamadani. It is a common epic in Mongol mythologies.