FATEHNAMAH GURU KHALSA JI KA, by Ganesh Das, an employee of the Sikh Darbar, and published as edited by Sita Ram Kohli, contains accounts, in Punjabi verse, of three of the major battles of Sikh times. The first of these was fought at Multan in 1818 between Maharaja Ranjit Singh`s forces and the army of the local Afghan ruler Muzaffar Khan. The second, the first battle of Peshawar, also known as the battle of Naushera, was fought in 1823 between Sikhs and Muhammad`Azim Khan, who after the death of his brother Fateh Khan, had acquired power in Afghanistan and wished to reestablish Afghan supremacy over Peshawar.
GHANI KHAN and his brother Nabi Khan, Pathan horse dealers of Machhivara in present day Ludhiana district of the Punjab, were admirers of Guru Gobind Singh whom they had visited at Anandpur and to whom they had sold many good animals. When they learnt that, travelling in a lonely state after the battle of Chamkaur (1705), the Guru had come to Machhivara, they at once turned out to meet him and offered their services. They provided him with a blue coloured dress and carried him out of Machhivara in a palanquin disguised as a Muslim divine. They declared him to be Uchch da Pir, the holy man of Uchch, an old seat of Muslim saints in south-west Punjab.