Electra or Elektra is a Greek tragedy by Sophocles. Its date is not known, but various stylistic similarities with the Philoctetes and the Oedipus at Colonus lead scholars to suppose that it was written towards the end of Sophocles' career.
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.