The Battle of Kırkdilim was fought in July 1391 or 1392[lower-alpha 1] between the Ottoman sultan Bayezid I and Kadi Burhan al-Din, ruler of northeastern Anatolia. The details of the battle are debated: Burhan al-Din's court poet Ibn Ardashir presents Bayezid's campaign being ended by a major victory for his master, which temporarily halted Ottoman expansion in Anatolia, but the contemporary letters of Manuel II Palaiologos, who accompanied Bayezid on his Anatolian campaigns, contain no indications of a major clash, and point to the expedition having been an Ottoman success overall.