After the infantry stormed the palace of Babylon, a compromise was arranged – Arrhidaeus (as Philip III) should become king, and should rule jointly with Roxana's child, assuming that it was a boy (as it was, becoming Alexander IV).