Amphitryon went to Thebes and was purified by Creon for the killing of Electryon. Then, when he was off continuing Electryon's campaign against the Taphians, Zeus in the likeness of Amphitryon had intercourse with Alcmene. Amphitryon returned from the war and had intercourse with Alcmene on the next night, and Alcmene gave birth to two sons — Heracles, son of Zeus, and Iphicles, son of Amphitryon.