Sophocles' Ajax, or Aias, is a Greek tragedy written in the 5th century BCE. Ajax may be the earliest of Sophocles' seven tragedies to have survived, though it is probable that he had been composing plays for a quarter of a century already when it was first staged.
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.