The Battle of Jajau was fought between the two Mughal princes and half-brothers Bahadur Shah I and Muhammad Azam Shah on 20 June 1707. In 1707, their father Aurangzeb died without having declared a successor; instead leaving a will in which he instructed his sons to divide the empire between themselves. Their failure to reach a satisfactory agreement led to a military conflict. After Azam Shah and his three sons were killed in the Battle of Jajau, Bahadur Shah I was crowned the Mughal emperor on 19 June 1707 at the age of 63.