US President Barack Obama has pledged to end the war in Afghanistan.
Speaking live from a military base in Afghanistan, a year after Osama Bin Laden's killing, Obama thanked US troops and hailed plans to end combat operations.
Officials say he arrived in Kabul on a surprise visit to sign an accord on future Afghan-US ties with President Hamid Karzai, ahead of a Nato summit.
However, hours after his speech, at least seven people died in an attack in Kabul.
Afghan officials say at least two suicide bombers targeted a residential compound popular with foreigners in the eastern part of the capital.
The Taliban later claimed responsibility for the attacks.