Barack Obama made his first trip to Afghanistan as US president on Sunday, delivering a rousing speech to troops and telling Afghan President Hamid Karzai that progress on fighting corruption should match military gains.
Air Force One landed in darkness at Bagram airfield north of the Afghan capital, and Obama was whisked by helicopter to Karzai's palace in Kabul, where he was greeted by the Afghan president and a band playing the US national anthem.
US officials said corruption and governance were among the issues that the president discussed directly with Karzai during talks that lasted barely half an hour.
Obama returned to Bagram, appearing in a bomber jacket, and delivering a speech to troops just before midnight, telling them he was confident they would have success in their mission.
"I want you to know ... whether you are working here on Bagram or patrolling a village down in Helmand ... your services are absolutely necessary, absolutely essential to America's safety and security," he told the troops.
In December, Obama ordered the deployment of an extra 30,000 US troops to Afghanistan and set a mid-2011 target to begin withdrawal. About a third have so far arrived, participating in a major offensive in the south of the country last month.