Muhammad I of the Eretnids

Ghiyath al-Din Muhammad I (died October 1365) was the second Sultan of the Eretnids in central and eastern Anatolia, ruling from 1352 until his death.

He relocated to Anatolia following Timurtash's appointment as the local Ilkhanid governor and took part in his campaigns to subdue the Turkoman chiefs of the western periphery of the peninsula.

Upon the dissolution of the Ilkhanate, he aligned himself with Hasan Buzurg, who eventually left Anatolia for Eretna to govern when he returned east to clash with the rival Chobanids and other Mongol lords.

[3] In 1361, as a reprisal to a raid by Tatars of the Chavdar [tr] tribe, Ottoman ruler Murad I captured Ankara Castle from the Eretnids.

Mamluk governor of Damascus, Yalbugha, and his 24 thousand-strong force marched north and raided Eretnid and Dulkadirid lands.

[8] According to historian Kemal Göde, Muhammad reversed into conflict with Khoja Ali Shah, whom he killed near Zamantu on 30 May 1358.

[9] This deviates from İsmail Hakkı Uzunçarşılı's earlier work which explains that Khoja Ali Shah led an uprising against Muhammad in 1364 and marched towards Kayseri.

Upon a decree by the Mamluk Sultan, the governor of Aleppo sent his forces to aid Muhammad, with which he subdued and executed Khoja Ali Shah in 1365.

[7] Around that time, the eastern part of the realm, including Erzincan, Erzurum, and Bayburt, had come under the rule of a local figure, Ahi Ayna.