Oedipus Rex, also known by its Greek title, Oedipus Tyrannus, or Oedipus the King, is an Athenian tragedy by Sophocles that was first performed around 429 BC. Originally, to the ancient Greeks, the title was simply Oedipus, as it is referred to by Aristotle in the Poetics.
These few facts are about all that is known of Sophocles¿ life. They imply steady and distinguished attachment to Athens, its government, religion, and social forms. Sophocles was wealthy from birth, highly educated, noted for his grace and charm, on easy terms with the leading families, a personal friend of prominent statesmen, and in many ways fortunate to have died before the final surrender of Athens to Sparta in 404. In one of his last plays, Oedipus at Colonus, he still affectionately praises both his own birthplace and the great city itself.
Sophocles won his first victory at the Dionysian dramatic festival in 468, however, defeating the great Aeschylus in the process. This began a career of unparalleled success and longevity. In total, Sophocles wrote 123 dramas for the festivals. Since each author who was chosen to enter the competition usually presented four plays, this means he must have competed about 30 times.