Oedipus, in Greek mythology, the king of Thebes who unwittingly killed his father and married his mother. Homer related that Oedipus’s wife and mother hanged herself when the truth of their relationship became known, though Oedipus apparently continued to rule at Thebes until his death.