
After the battle of Kartarpur in 1635, Guru Hargobind decided to leave the plains for the Shivalik foothills, beyond the easy reach of the Mughal governors.
As the Guru's party moved from Kartarpur towards Kiratpur, a Mughal force followed it and caught up near Phagwara. In a short engagement the Sikhs drove off the pursuers, though some Sikhs were killed.
Gurdwara Sukhchainana Sahib at Phagwara marks the place. It was the last of the Guru's battles; he spent his remaining nine years in peace at Kiratpur.
Same era
Mughal Punjab, 1526 – 1705
Babur's field guns and cavalry tactics destroyed a much larger Lodi army. Guru Nanak's hymns of the same years speak of the suffering of Babur's invasions.
Battle of MachhiwaraMay 1555 · Mughal victory; Humayun regains HindustanOn the Sutlej at Machhiwara the returning Mughals beat the Afghans of the Sur dynasty, and a month later won again at Sirhind.

Hemu, a Hindu general who had taken Delhi, was winning until an arrow struck his eye; his army broke and the boy Akbar's throne was saved.

The first armed clash of Guru Hargobind's time, fought over the founding of Sri Hargobindpur on the Beas.

Began over a hawk of Shah Jahan's that the Guru's Sikhs would not give back. A Mughal detachment attacked during a wedding in the Guru's family and was beaten off.

Fought in the Malwa over horses the Sikh Bidhi Chand had recovered from imperial stables, which had originally been gifts for the Guru.

Painde Khan, once the Guru's own commander, led a Mughal army against him and was killed. The young Tyag Mal fought so well he was renamed Tegh Bahadur.

The Guru's first battle, aged about twenty-two. Pir Budhu Shah of Sadhaura fought for him with his followers and lost two sons.