After the death of the Mughal Emperor Akbar on 20 February 1707, the contest for the throne broke out between his sons. The fight for the throne of
Delhi led to the Battle of Jajau on 8 June 1707.
The eldest son of Akbar, Prince Muazzam, was assisted in this battle by the head of the Sikh religion, Guru Gobind Singh. A contingent of Sikhs soldiers was dispatched to help Prince Muazzam by the Guru. The Battle of Jajau was won by Prince Muazzam who ascended the throne under the title Bahadur Shah.