and yet , after successfully repelling the invaders , the different mercenary armies were left with nothing more to do , soin their uncontrollable drive for competition they began turning on each other in order to establish dominance over their rival units .