US President Barack Obama has pledged to end the war in Afghanistan during a secret trip to the country.
Obama surprised troops in Kabul by turning up unannounced during a secretly-arranged visit to meet Afghan President Hamid Karzai.
He thanked them for their efforts and said it was important to finish the conflict, which started 10 years ago.
He said "we must finish the job we started in Afghanistan, and end this war responsibly."
His speech came a year after the death of notorious terrorist leader Osama Bin Laden but soon after he'd finished seven people died in an attack in Kabul.
The terrorist group called the Taliban said they carried out the attack in protest against his visit.
His pledge comes as plans to remove all US troops from Afghanistan are stepped up.
About a quarter of the 88,000 American troops currently in Afghanistan will leave by the summer.
And all US troops, along with troops from places like Britain, will be pulled out by the end of 2014.
Mr Obama signed a special agreement with Mr Karzai which took nearly two years to sort out.
The agreement included plans for how prisoners would be treated and how night-time air raids on the country would be organised.
Mr Obama said it was "an historic moment" for both countries.
He added that he wanted to keep communicating with the Taliban, who he said should follow "the path to peace".
In the past, leaders of big countries like America had said they would not talk to the Taliban because of their attacks on innocent people.