11 , 2001 , terrorist attacks in the United States , Obama 's presidency could be shaped by the war in Afghanistan in concert with the war in Iraq and a disintegrating global economy , observers told the Times .