Oedipus the King (Ancient Greek: Οἰδίπους Τύραννος, Oidipous Tyrannos), also known by its Latin title Oedipus Rex, is an Athenian tragedy by Sophocles that was first performed about 429 BC. It was the second in order of Sophocles's composition of his three Theban Plays dealing with Oedipus. Thematically, however, it was the first in the plays' historical chronology, followed by Oedipus at Colonus and then Antigone.
Oedipus the King tells the story of Oedipus, a man who becomes the king of Thebes, whilst in the process unwittingly fulfilling a prophecy that he would kill his father Laius and marry his mother Jocasta.
The play is an example of classic tragedy, putting emphasis upon how Oedipus's own faults contribute to his downfall (as opposed to the portrayal of fate as the sole cause). Over the centuries, Oedipus the King has come to be regarded by many as the masterpiece of Greek tragedy.