In the meantime, Aurangzeb defeated Dara twice (at Dharmat and Samugarh), caught him, executed him on a charge of heresy and ascended the throne. Shuja marched again to the capital, this time against Aurangzeb. A battle took place on 5 January 1659 at the Battle of Khajwa (Fatehpur district, Uttar Pradesh, India) where Shuja was defeated.[6]