Horemheb was the last Pharaoh of the 18th Dynasty from 1319 BC to late 1292 BC.
Before he became pharaoh, he was commander in chief of the army under the reigns of Tutankamun and Ay. During the reign of Tutankhamun (1334 BC -1325 BC) Horemheb was designated as the Boy King's "Deputy" and was the officially recognised as heir to Tutankhamun. However, the boy king died young but Ay became Pharaoh and reigned for 4 years between 1325 BC -1321 BC. When Ay died, Horemheb, at last, became Pharaoh of Egypt
His chief wife and consort was Queen Mutnedjmet, a daughter of Ay.
After he became Pharaoh, he reformed the state, demolished the monuments of Akhenaten and resued their remains to create his own building projects.
He appointed his deputy Paramesse as his successor, and it was he who assumed the throne on his death, as Ramesses I.