Abu 'l-Ḥasan ʿAlī b. ʿUthmān b. ʿAlī al-Ghaznawī al-Jullābī al-Hujwīrī (c. 1009-1072/77), known as ʿAlī al-Hujwīrī or al-Hujwīrī (also spelt Hajweri, Hajveri, or Hajvery) for short, or reverentially as Shaykh Syed ʿAlī al-Hujwīrī or as Dātā Ganj Bakhsh by Muslims of South Asia, was an 11th-century Sunni Muslim mystic, theologian, and preacher from Ghazna, who became famous for composing the Kashf al-maḥjūb (), which is considered the "earliest formal treatise" on orthodox Sufism in Persian. Ali Hujwiri is believed to have contributed "significantly" to the spread of Islam in South Asia through his preaching, with one historian describing him as "one of the most important figures to have spread Islam in the Indian subcontinent." In the present day, Ali Hujwiri is venerated as one of the main walis of Lahore, Pakistan, along with Shah Hussain and Mian Mir, by the traditional Sunni Muslims of the area. He is, moreover, one of the most widely venerated saints in the entire South Asia, and his tomb-shrine in Lahore, popularly known as Data Darbar, is one of the most frequented shrines in South Asia. At present, it is Pakistan's largest shrine "in numbers of annual visitors and in the size of the shrine complex," and, having been nationalized in 1960, is managed today by the Department of Awqaf and Religious Affairs of the Punjab. The mystic himself remains a "household name" in the daily Islam of South Asia. In 2016, the Government of Pakistan declared 21 November to be a public holiday for the commemoration of the commencement of Ali Hujwiri's three-day death anniversary. Background Of Iranian stock, Ali Hujwiri was born in Ghazni, in present-day Afghanistan, in around 1009 to Uthman ibn Ali or Bu Ali. As is common with Sufi saints, his father, who was a direct descendant of Al-Imam Hasan ibn Ali. His genealogical chain goes back eight generations to Ali. According to the autobiographical information recorded in his own Kashf al-maḥjūb, it is evident that Ali Hujwiri travelled "widely through the Ghaznavid Empire and beyond, spending considerable time in Baghdad, Nishapur, and Damascus, where he met many of the pre-eminent Ṣūfīs of his time." In matters of jurisprudence, he received training in the Hanafi rite of orthodox Sunni law under various teachers. As for his Sufic training, he was linked through his teacher al-Khuttalī to al-Husrī, Abu Bakr Shibli (d. 946), and Junayd of Baghdad (d. 910). For a