Ramesses XI
Either during the reign of Ramesses XI or shortly afterwards, the village of Deir El Medina was abandoned, apparently because the Royal Necropolis was shifted northward to Tanis and there was no further need for their services at Thebes.