his deeds in this war are well known ; he combined a shrewd tactical sense with a ruthless political awareness , changing sides several times to prolong the war and increase both his profits and reputation .