Aurangzeb ascended the throne on July 21, 1658 and ruled supreme till 1707. Thus Aurangzeb ruled for 50 years, matching Akbar’s reign in longevity. But unfortunately he kept his five sons away from the royal court with the result that none of them was trained in the art of government. This proved to be very damaging for the Mughals later on. Aurangzeb had three brothers. His father Shah Jehan favored Dara Shikoh to be his successor. Dara Shikoh was eclectic in his beliefs; therefore Aurangzeb challenged his father’s rule. Shah Jahan fell seriously ill and all his sons proclaimed succession. Contrary to everyone’s expectations, Shah Jehan recovered. On his recovery, he again backed Dara as his successor. A war of succession broke out among all the brothers. In the long run Aurangzeb was victorious. But as Shah Jehan was in absolute favor of Dara, Aurangzeb no longer trusted him, and had Shah Jehan placed under polite restraint in his own palace.