According to legend, the Amazons, when they invaded Athens, were defeated by Theseus, who also led the Athenians in forcing Thebes, founded by Cadmus, to return the Argive dead after the war of the Seven Against Thebes.