The story of Layla and Majnun passed into Azerbaijani literature. The Azerbaijani language adaptation of the story, Dâstân-ı Leylî vü Mecnûn (داستان ليلى و مجنون; "The Epic of Layla and Majnun") was written in the 16th century by Fuzûlî and Hagiri Tabrizi. Fuzûlî's version was borrowed by the renowned Azerbaijani composer Uzeyir Hajibeyov, who used the material to create what became the Middle East's first opera.