Thanks to the discovery of papyrus trial transcripts (dated to Ramesses III), it is now known that there was a plot against his life as a result of a royal harem conspiracy during a celebration at Medinet Habu. The conspiracy was instigated by Tiye, one of his three known wives (the others being Tyti and Iset Ta-Hemdjert), over whose son would inherit the throne. Tyti's son, Ramesses Amenherkhepshef (the future Ramesses IV), was the eldest and the successor chosen by Ramesses III in preference to Tiye's son Pentaweret.