Khalīl Allāh I (Arabic: خليل الله الاول), known in Nizari Isma'ili tradition by the Sufi name Dhūʾl-Faqār ʿAlī (Arabic: ذو الفقار علي), was the 37th imam of the Qasim-Shahi branch of Nizari Isma'ilism.
Khalil Allah succeeded his father Murad Mirza when the latter died in 1574. Like his father, he resided in and was buried at Anjudan in central Persia, where his tombstone survives to this day. The tombstone gives the date of his death as March 1634.
Khalil Allah had close relations with the ruling Safavid dynasty. He married a princess, possibly a daughter of Shah Abbas I, and in 1627, the Safavid ruler issued an edict exempting the Shi'a of Anjudan from certain taxes. As Farhad Daftary points out, the edict refers to the Anjudani Shi'a as Twelvers, indicating that Khalil Allah and his followers were hiding their true faith.
He was succeeded by his son, Nur al-Dahr Ali.