hed switched his considerable allegiance from one side to the other depending on who offered him the better deal and seemed able to back it up , and had occasionally taken advantage of the confusion wrought by the war to launch some private battle .