Several pharaohs seem to have deviated from the traditional 30-year tradition, notably two pharaohs of the Eighteenth Dynasty, Hatshepsut and Akhenaten, rulers in a dynasty that was recovering from occupation by foreigners, reestablishing itself, and redefining many traditions.