The Ansaris of Panipat are a community descended from Khwaja Abdullah Pir of Herat, a descendant of the 11th-century Sufi saint Khwaja Abdullah Ansari. One of his descendants, Khwaja Malik Ali, migrated to Delhi during the reign of Sultan Alauddin Masud and eventually settled in Panipat, which was a prominent centre of Islamic learning known for its Mashaikh (Sufi masters) and Auliya (saints). Khwaja Malik Ali was also appointed as the Qazi (judge) of Panipat during this period.
History
According to the Tazkiratus Saleheen of Muhammad Abdul Aleem, Khwaja Malik Ali was the son of Birak Shah, the King of Herat, and a descendant in the seventeenth generation of Khwaja Abdullah Ansari through his son Muhammad Khwaja. The Panipat Ansaris trace their lineage to this line.
Mughal Era
The Ansaris of Panipat held high offices during Muslim rule in India for several generations. Notable figures include:
-
Lutfullah Khan Sadiq (Shams ud-Daulah Lutfullah Khan Panipati): Served as the wakil (representative) of Prince Jahan Shah during Bahadur Shah's reign. He later became Mir-i-Saman (head of the imperial household) and Diwan-i-Khalisa (revenue minister) under Emperor Muhammad Shah, and served as governor of Multan and later Shahjahanabad. Despite his wealth, historical records note that he seized lands from poorer people around Panipat, converting them into agricultural holdings over an area of approximately 12 km.
-
Sher Afgan Khan Panipati: Served as governor of Multan during the reign of Muhammad Shah. His son married the daughter of the Mughal Grand Vizier Turrah Baz Khan, also a native of Panipat.
-
Zakariya Khan Bahadur: A descendant of the Ansaris who served as governor of Jammu and later as governor of Lahore at the time of Nader Shah's invasion. He led expeditions against the Sikhs.
-
Diler Dil Khan (Moin ud-Daulah Diler Dil Khan): Originally Khwaja Abdullah, son of Khwaja Abdur Razzaq of Panipat. He held the mansab (rank) of 6,000 and served as governor of Thatta and Kabul during the reign of Muhammad Shah, and as governor of Kashmir from 1735 to 1738.
-
Yahya Khan: Son of Zakariya Khan, who succeeded his father as governor of Lahore.
Modern Era
The Ansaris of Panipat traditionally intermarry with the Pir families and Makhdum families of Panipat, as well as the Syeds of Barsat and Sonepat.
The most prominent modern figure from this community is Altaf Hussain Hali (1837–1914), the renowned Urdu poet and writer, who was born in Panipat as a descendant of the Ansaris. His notable works include Musaddas-e Hali (considered by Pakistani nationalist scholars as an important text in the development of Pakistani nationalism), Yadgar-e Ghalib (a biography of the poet Ghalib), Hayat-e Saadi (a biography of the Persian poet Saadi), and Hayat-e Javed (a biography of Syed Ahmed Khan).