U.S. President Barack Obama is in Iraq where he says there is "still a lot of work to be done."
Mr. Obama arrived unannounced in Baghdad, his first visit since becoming president, to see the war he has promised to wind down.
He arrived from Turkey Tuesday afternoon, just hours after a car bomb in the Iraqi capital killed eight people, a reminder of tensions six years after the U.S. invasion.
Mr. Obama met with U.S. military leaders and troops at Camp Victory. A spokesman noted that troops deserve the president's attention and appreciation.
He was also to meet with Iraqi Prime Minister Nouri al-Maliki at the military base. A White House spokesman said Mr. Obama planned to talk with him about moving forward on finding political solutions to the country's problems.
Mr. Obama's two-day Turkish visit ended with a meeting with college students, where he promised a new chapter in American engagement with Muslims and the rest of the world.
At a cultural center in Istanbul, Turkey's largest city, Mr. Obama called for a greater understanding among nations, and he repeated a pledge to rebuild relations between the United States and the Muslim world.
The U.S. president said the United States, like every other nation, has made mistakes.
Mr. Obama was asked if he really represents a change from the previous administration. He responded by saying that dramatic changes in foreign policy do not necessarily come overnight.
Mr. Obama's final day in Turkey included a meeting with the country's Muslim, Christian and Jewish leaders. Later, he visited Turkey's historical Hagia Sophia museum and the Blue Mosque.