The unpopular war in Iraq was a key issue during the campaign before the economic crisis. John McCain supported the war while Barack Obama opposed it (Obama's early and strong opposition to the war helped him stand out against the other Democratic candidates during the primaries, as well as stand out to a war-weary electorate during the general campaign). Though McCain meant it as a peacetime presence like the United States maintained in Germany and Japan after World War II, his statement that the United States could be in Iraq for as much as the next 50 to 100 years would prove costly. Obama used it against him as part of his strategy to tie him to the unpopular President Bush.