Shah Jahān fell ill in September 1657. His four sons—Dārā Shikōh, Murād Bakhsh, Shah Shujāʿ, and Aurangzeb—began to contest the throne in preparation for his potential death. Aurangzeb was victorious, and in 1658 he dethroned Shah Jahān despite his recovery from illness and confined him in Agra Fort until his death in 1666.