(CNN) - Sen. Barack Obama said Tuesday he was pleased with the reduction of violence in Iraq since the deployment of more U.S. troops, but said it was a result of several factors, not just the surge.
Related: McCain camp hits Obama over surge
"We don't know what would have happened if the plan that I preferred in January 2007 - to put more pressure on the Iraqis to arrive at a political reconciliation, to begin a phased withdrawal - what would have happened had we pursued that strategy," Obama said after landing in Amman, Jordan.
"I am pleased that as a consequence of great effort by our troops - but also as a consequence of a shift in allegiances among the Sunni tribal leaders, as well as the decision of the Sadr militias to stand down - that we've seen a quelling of violence," he said.
Listen: CNN's Sasha Johnson reports on Obama's Jordan visit
But, Obama said, a functioning Iraq will ultimately depend on the capacity of the Iraqi people to unify themselves, get beyond sectarian divisions and set up a government that works for the people.