He answered the riddle that had killed everyone else who attempted it, and was given a kingdom that turned out to be the exact prophecy he had spent his life running from.
Oedipus confronts the Sphinx outside Thebes and answers her riddle. Painting by Jean-Auguste-Dominique Ingres, 1808 (reworked 1827).