The period following the execution of Guru Tegh Bahadur – the father of Guru Gobind Singh, was a period where the Mughal Empire under Aurangzeb was an increasingly hostile enemy of the Sikh people. The Sikh resisted, led by Gobind Singh, and the Muslim-Sikh conflicts peaked during this period. Gobind Singh believed in a
Dharamyudh (war in defence of righteousness), something that is fought as a last resort, neither out of a wish for revenge nor for greed nor for any destructive goals. He led fourteen wars with these objectives, but never took captives nor damaged anyone's place of worship. attacked his forces without any purpose. The Guru was aided by the forces of Kripal (his maternal uncle) and a Brahmin named Daya Ram, both of whom he praises as heroes in his text. The Guru's cousin named Sango Shah was killed in the battle, a cousin from
Guru Hargobind's daughter. The non-Muslims aligned to the Guru had refused to pay tribute to the Islamic officials based in Jammu. •
Battle of Anandpur (1695) Mughals attack Gobind Singh at Anandpur •
Battle of Guler (1696), first against the Muslim commander Dilawar Khan's son Rustam Khan, near Sutlej river, where the Guru teamed up with the
Hindu king of Guler and routed the Muslim army. After the creation of the Khalsa the Hill Rajas, who had previously lost in battle to Guru Gobind Singh, sent a petition to Delhi requesting they act immediately and join them in battle against the Guru.l •
Battle of Anandpur (1699), was against two Rajas of the hills. •
Battle of Anandpur (1700), against the Mughal army of Aurangzeb, who had sent 10,000 soldiers, in response to the Hill Rajas letter, under the command of Painda Khan and Dina Beg. The Mughal army was supported by rival kingdom of Kahlur led by Raja Ajmer Chand. The battle ended when the two sides reached a tactical peace. Some Sikh men deserted the Guru during the Anandpur siege in 1704 and escaped to their homes where their women shamed them and they rejoined the Guru's army and died fighting with him in 1705. Towards the end, the Guru, his family, and followers accepted an offer by Aurangzeb of safe passage out of Anandpur. However, as they left Anandpur in two batches, they were attacked, and one of the batches with Mata Gujari and Guru's two sons – Zorawar Singh aged 8 and Fateh Singh aged 5 – were taken captive by the Mughal army. The grandmother Mata Gujari died there as well. However, when the Guru accepted the offer and left, Wazir Khan took captives, executed them and pursued the Guru. •
Battle of Chamkaur (1704) Regarded as one of the most important battles in Sikh history. It was against the Mughal army led by Nahar Khan; the Muslim commander was killed, •
Battle of Muktsar (1705), the Guru's army was re-attacked by the Mughal army, being hunted down by general Wazir Khan, in the arid area of Khidrana-ki-Dhab. The Mughals were blocked again, but with many losses of Sikh lives – particularly the famous
Chalis Mukte (literally, the "forty liberated ones"), • Battle of Baghaur (1707) was fought against the Raja of Bhghaur and the locals of the area. It began over a dispute when some camels of the Guru went and ate the trees of a local gardener. The gardener took the camels and the rider hostage. Sikh negotiated for the release but he refused which led to a battle. •
Battle of Jajau (1707) was fought between
Azam Shah and
Bhadur Shah over the Mughal throne. Bahdur Shah sought Guru Gobind Singh's assistance. Gobind Singh provided assistance and is said to have killed Azam Shah in battle.
Mughal accounts The Muslim historians of the Mughal court wrote about Guru Gobind Singh as well as the geopolitics of the times he lived in, and these official Persian accounts were readily available and the basis of colonial era English-language description of Sikh history. According to Dhavan, the Persian texts that were composed by Mughal court historians during the lifetime of Gobind Singh were hostile to him but presented the Mughal perspective. They believed that the religious Guru tradition of Sikhs had been corrupted by him, through the creation of a military order willing to resist the
imperial army. The Mughal accounts suggest that the Muslim commanders viewed the Sikh
panth as one divided into sects with different loyalties.
Relationship with other religious groups As a result of the violent hostility between the Sikhs and the Mughal armies, Guru Gobind Singh ordered the social segregation between the Khalsa and the Muslims, the sentiments of which are reiterated in the contemporary and posthumous rahit-namas. To a lesser extent, injunctions were also made prohibiting the partake in certain Hindu rituals and beliefs as well as against schismatic Sikh factions opposed to the orthodox Khalsa community. == Post-war years ==