Ramesses XI was the tenth and the last king of the Twentieth Dynasty as well as the New
Kingdom. The reign of this king was a period of turmoil. Ramesses was not a very energetic
or vital ruler. The viceroy of Nubia, Panehsi, went from Elephantine to Thebes to try to stop
the unrest that was arising from contention over the region that was between the high priest of
Amon and others. At the same time there was a famine and was called the "Year of the
Hyena." Hrihor was left in Thebes by Panehsi to control the affairs there. He soon assumed
the role of the high priest of Amon and eventually became the vizier as well. This was the
cause of the eventual downfall of Panehsi. Panehsi rebelled and stopped Egypt's domination in
Nubia. Hrihor administered the affairs of Egypt while Ramesses XI remained in seclusion.
Upon the death of Ramesses, Hrihor and Smendes divided Egypt between themselves.
Ramesses was technically pharaoh until his death, but Hrihor was the ruler of Upper Egypt for
all practical purposes. Ramesses' death marked the end of the Twentieth Dynasty and the
New Kingdom. His tomb is located in the Valley of the Kings.