When he prayed to Apollo, the god advised him to kill his mother. Orestes realized that he must work out the curse on his house, exact vengeance and pay with his own ruin. After Orestes murdered Clytemnestra and her lover Aegisthus, he wandered the land with guilt in his heart. After many years, with Apollo by his side, he pleaded to Athena. No descendant of Atreus had ever done so noble an act and 'neither he nor any descendant of his would ever again be driven into evil by the irresistible power of the past.' Thus Orestes ended the curse of the House of Atreus.