Speaking a year after Osama Bin Laden’s death, Barack Obama thanked US troops and hailed plans to end combat operations.
He arrived in Afghanistan on a publicly unannounced visit to sign an agreement on future Afghan-US ties with President Hamid Karzai, ahead of a NATO summit.
Hours after his speech, at least seven people died in an attack in Kabul.
Afghan officials said at least two suicide bombers targeted a guesthouse popular with foreigners in the eastern part of the capital.
They said at least four of the victims were civilians – children from a nearby school. Seventeen people were wounded.
The Taliban later claimed responsibility for the attacks.
A spokesman for the NATO lead force praised the Afghan security forces for “taking the lead in putting down another desperate attack by insurgents”.
Earlier, Barack Obama said signing the pact with President Hamid Karzai was “a historic moment” for both nations.
His visit and TV address come as correspondents say public patience with the war in Afghanistan is wearing thin.
In the speech, beamed back to prime-time evening audiences in US, the president said that at the upcoming NATO summit, to be held in Chicago, the alliance would “set a goal for Afghan forces to be in the lead for combat operations across the country next year”.
NATO has already committed to withdrawing from combat operations in Afghanistan by the end of 2014.
“I will not keep Americans in harm’s way a single day longer than is absolutely required for our national security,” Barack Obama said.
“But we must finish the job we started in Afghanistan, and end this war responsibly.”
Barack Obama’s words appear to be aimed at showing American voters he is pursuing a strategy to wind down the war, while reassuring Afghans in the face of a continuing Taliban insurgency.
About 23,000 of the 88,000 US troops currently in the country are expected to leave Afghanistan by the summer, with all US and NATO troops out by the end of 2014.
“It is time to renew America,” Barack Obama said towards the end of his remarks.
“My fellow Americans, we have travelled through more than a decade under the dark cloud of war. Yet here, in the pre-dawn darkness of Afghanistan, we can see the light of a new day on the horizon,” he said.
“The Iraq war is over. The number of our troops in harm’s way has been cut in half, and more will be coming home soon. We have a clear path to fulfil our mission in Afghanistan, while delivering justice to al-Qaeda.”
During the speech, Barack Obama outlined the agreement he had just signed with Afghan President Hamid Karzai.
Twenty months of negotiation finally produced an agreement after differences over night raids by special forces and the handling of prisoners were ironed out.
According to the US president, the document outlines plans for training Afghan forces and supporting counter terrorism efforts, as well as “Afghan commitments to transparency and accountability”.
Barack Obama also spoke of a “negotiated peace” with the Taliban, saying that if insurgents break with al-Qaeda, and follow the “path to peace”, there can be reconciliation.
He said that ahead of the Chicago meeting of NATO, he had made it clear to Pakistan that it could be an “equal partner in the process”.
Pakistan and US relations soured after Barack Obama launched the raid that killed Osama Bin Laden inside the country’s border.
“In pursuit of a durable peace, America has no designs beyond an end to al-Qaeda safe-havens, and respect for Afghan sovereignty.”
Barack Obama also rejected calls to leave Afghanistan before the 2014 NATO timeline, saying “we must finish the job we started in Afghanistan, and end this war responsibly”.
In the wake of the agreement, the US is to designate Afghanistan as a major non-NATO ally, US officials are quoted as saying by Reuters news agency.
nOdJsJJ0Wp4At least 158 people have died in Spain's worst flooding disaster in generations. On October…
Google has been fined two undecillion (a two followed by 36 zeroes) roubles by a…
Embarking on a home remodel is an exciting journey, promising enhanced comfort, increased property value,…
The US presidential candidates continued to campaign across key swing states on October 20. Footage…
Elon Musk has said he will give away $1 million a day to a registered…
India and Canada have decided to expel their top envoys along with other diplomats as…