King Laius and Queen Jacosta have a son. King Laius, however, was warned that if he had a son, his son would kill him and marry his wife. To prevent this, they gave their son to a servant to have him killed. The servant did not want this to happen, so he gave Oedipus (the son) to a shepherd who adopted him and raised him with Queen Merope.
What walks on four feet in the morning, two in the afternoon, and three at night?
Oedipus was told that who he thought were his parents, were not actually his parents. To try to figure out what the truth was, Oedipus went to an oracle. The oracle said the same thing: He will kill his father and marry his mother.
When Oedipus found out the news, he tried to prevent it. This meant that he had to leave Corinth and go to the city of Thebes. As he traveled to the city, he ran into a man, King Laius. They got into a very heated argument which lead to Oedipus killing him. Oedipus did not know that this man was his father. At this point, half of the prophecy is achieved.
Oedipus continues on his way to Thebes and soon encounters a Sphinx. The Sphinx asks Oedipus a riddle. If he solves it, he is allowed to continue on his journey, but if he does not solve it, he will be killed and eaten. Fortunately, Oedipus solves the riddle and continues on his way to Thebes.
Queen Jacosta's brother said that anyone who solved the riddle would be made King of Thebes and would marry the queen. Since King Laius had recently died, Oedipus was King and married Queen Jacosta, his mother. He had no idea she was his mother. Together, they had two sons and two daughters.
Later on, the truth is revealed that Oedipus killed his father and married his mother. Queen Jacosta hangs herself and Oedipus stabs his eyes when he finds her dead. Oedipus is exiled from Thebes and his two daughters lead him through the dessert. As time passes on, Oedipus dies in Colonus.