Cassander allied himself with
Ptolemy Soter, Antigonus and
Eurydice, the ambitious wife of king Philip Arrhidaeus, and declared war upon the Regency. Polyperchon was allied with
Eumenes and
Olympias.
Although Polyperchon was successful at first, taking control of the Greek cities, his fleet was destroyed by Antigonus in
318 BC. When, after the battle, Cassander assumed full control of Macedon, Polyperchon was forced to flee to
Epirus, followed by Roxana and the young Alexander. A few months later, Olympias was able to persuade her relative
Aeacides of Epirus to invade Macedon with Polyperchon. When Olympias took the field, Eurydice's army refused to fight against the mother of Alexander and defected to Olympias, after which Polypercheron and Aeacides retook Macedon. Philip and Eurydice were captured and executed on December 25,
317 BC, leaving Alexander IV king, and Olympias in effective control, as she was his regent.
Cassander returned in the following year (
316 BC), conquering Macedon once again. Olympias was immediately executed, while the king and his mother were taken prisoner and held in the citadel of
Amphipolis under the supervision of Glaucias. When the general peace between Cassander, Antigonus,
Ptolemy, and
Lysimachus put an end to the
Third Diadoch War in
311 BC, the peace treaty recognized Alexander IV's rights and explicitly stated that when he came of age he would succeed Cassander as ruler.