In 1673 two Pashtun brothers of the BarechDurrani tribe, Shah Alam Khan and Husain Khan who ancestrally hailed from the Shorawak district of Kandahār, came from the frontier to settle in the Katehr region. Hafiz Rehmat Khan Barech was the son of Shah Alam Khan.[2]
Prince Ahmad and the respected Grand Vizier Asaf Jah I were dispatched by the Mughal EmperorMuhammad Shah to command a large Mughal Army of 75,000 to confront the advancing Durrani's. At Sirhind both forces fought a decisive battle and Prince Ahmad was nominally victorious. He was thereupon conferred with the title Bahadur, by the Mughal Emperor.
When Ahmad Shah Bahadur tried to have young Feroze Jung III removed from the imperial court, the outcast then sought an alliance with the detested Maratha chieftain Sadashivrao Bhau. Together they deposed Ahmad Shah Bahadur after the devastating First Battle of Sikandarabad in the year 1754.
In 1757, the Mughal EmperorAlamgir II with courtiers such as Najib-ul-Daula and Hafiz Rahmat Khan, nobles such as Shah Waliullah and the imperial family went to Sirhind to meet Ahmad Shah Durrani, whose forces then engaged the Marathas in combat and threatened to overthrow and execute the regime of Imad-ul-Mulk. Ahmad Shah Durrani's relations with the Mughal Emperor, strengthened further when his son Timur Shah Durrani married the daughter of Alamgir II and patronized the Mughal commander Jahan Khan.
Third Battle of Panipat
He played an important part in Indian warfare over several decades, being on the winning side of Afghans at the Third Battle of Panipat of 1761, but was defeated and killed in the Rohilla War.[4]
Counterattacks against Suraj Mal
In the year 1764, Najib-ud-Daula the administrator of Delhi and the Mughal heartlands faces the relentless warfare by Jat peasants led by Suraj Mal, who sacked the Mughal Army garrison at Agra and even looted the silver doors of the Taj Mahal.
Hafiz Rehmat Khan's son, Muhabbat Khan Khan, wrote the Riaz-ul-Mahabbat for the Pashto language. He was however a native of India, and many peculiarities regarding the verbs and tenses, of which he must have been ignorant, have been omitted.[8]