In consequence he came into conflict with Babylonia, but he ultimately formed an alliance with that kingdom.