after his father emperor aurangzeb's death, he ruled the empire. then a succession war took place between the three sons of aurangzeb. azam shah and his son were killed in the battle of jajau on 8 june 1707 by his step brother bahadur shah i, who ruled the empire by killing his both brothers in war.