WASHINGTON (Reuters) -- President Barack Obama has said that Iraq faces difficult days ahead after taking control of its towns and cities from U.S. forces but pledged to remain a strong partner on behalf of the country's security and prosperity.
Speaking at a U.S. Independence Day celebration at the White House just days after U.S. troops withdrew from Iraq's towns and cities into rural bases, Obama said Iraq's future was now up to its own citizens.
"Because of your brave efforts American troops this week transferred control of Iraqi cities and towns...to Iraqi security forces," Obama said in remarks to military families on July 4, with nearly two dozen service members standing behind him.
"Because of the courage and capability and commitment of every American who has served in Iraq, a sovereign and united Iraq is taking control of its own destiny."
"Iraq's future now rests in the hands of its own people," he added. "This transition won't be without problems. We know that there will be difficult days ahead. That is why we will remain a strong partner to the Iraqi people on behalf of their security and prosperity."
Obama received a boisterous response from the crowd.
U.S. combat troops pulled out of Iraq's towns and cities in late July into rural bases, the first step of a bilateral security pact that requires all U.S. troops to leave Iraq by 2012.
A small number of troops stayed behind as advisers and trainers.
Iraqis, keen to have sovereignty after years of foreign military occupation, were at the same time concerned about attacks from militants.Baghdad Eschews 'Non-Iraqi' Help
Iraqi officials on July 4 ruled out foreign involvement in its efforts to reconcile rival factions, just after visiting U.S. Vice President Joe Biden urged Iraqis to do more to bury grievances and stave off renewed conflict.
"We made it clear that national reconciliation is an Iraqi issue and involvement of a non-Iraqi party won't make it more successful," said government spokesman Ali al-Dabbagh.
"There is sensitivity in the national reconciliation issue about involving non-Iraqi actors," he told reporters at a meeting in Baghdad's heavily fortified Green Zone.
Biden traveled to Iraq
last week for meetings with senior officials and to greet U.S. troops there.