The last two members of the eighteenth dynasty -- Ay and Horemheb -- became rulers from the ranks of officials in the royal court .
Ay may have married the widow of Tutankhamun in order to obtain power and Ay did not live long afterward .
The last two members of the eighteenth dynasty -- Ay and Horemheb -- became rulers from the ranks of officials in the royal court , although Ay may have married the widow of Tutankhamun in order to obtain power and she did not live long afterward .