later they allied with the persian army of mardonius in the battle of platea