KABUL: A car bomb exploded outside a compound housing Westerners in Kabul on Wednesday hours after US President Barack Obama signed a security pact during a short visit to a city that remains vulnerable to a resilient insurgency.
Taliban insurgents claimed responsibility for the suicide attack on the eastern outskirts of the capital that killed at least six people, a Gurkha guard and five passers-by, and wounded 17. A young girl was among those killed.
The Taliban said it was in response to Obama's visit and to the long-term strategic partnership deal he signed with Afghan President Hamid Karzai, a pact that sets out a long-term US role after most foreign combat troops leave by the end of 2014.
Obama's visit came a year after US special forces troops killed al Qaeda leader Osama bin Laden, the architect of the Sept. 11, 2001 attacks, in a raid in neighbouring Pakistan.
In a televised address to the American people from a base north of Kabul, he said the war in Afghanistan was winding down.
"As we emerge from a decade of conflict abroad and economic crisis at home, it's time to renew America," Obama said, speaking against a backdrop of armored vehicles and a US flag.
"This time of war began in Afghanistan, and this is where it will end."
Nearly 3,000 US and Nato soldiers have been killed in Afghanistan since the Taliban rulers were ousted in 2001.
The Taliban, ousted by US-backed Afghan forces for harbouring bin Laden and other militants, quickly claimed responsibility for Wednesday's attack at Green Village, one of several compounds for Westerners on the main road heading east out of the capital.
"This attack was to make clear our reaction to Obama's trip to Afghanistan. The message was that instead of signing of a strategic partnership deal with Afghanistan, he should think about taking his troops out from Afghanistan and leave it to Afghans to rebuild their country," Taliban spokesman Zabihullah Mujahid told Reuters by telephone from an undisclosed location.
Hundreds of police and intelligence agency troops surrounded the area around Green Village after the attack. Ruined cars were seen in front of the compound gates but officials said no attackers made it inside the heavily guarded complex.
"I was going to the office when the car in front of me blew up. I got on my bicycle and fled," 40-year-old Farid Ahmad Mohammad told Reuters near the scene of the explosion.
A worker at the compound, Jamrod, said at a hospital where the wounded had been taken he had been showing his identity card at the compound's main gate when the vehicle exploded.
"I heard a bang and then I slammed into the wall," Jamrod, still clad in blood-stained jeans, told Reuters.
The Taliban's Mujahid maintained fighters had made it inside the compound and inflicted "very heavy casualties". The Islamist group often exaggerates accounts of attacks involving foreign troops or Afghan government targets.
A spokesman for the Nato-led coalition force said the attack had been put down. Western witnesses inside the compound said Afghan commandos killed the attackers, with direction from Norwegian Special Forces.
Wednesday's attack was the latest in a recent surge of violence after the Taliban announced they had begun their usual "spring offensive", and that they had suspended tentative steps towards peace talks with the United States.
Such incidents raise troubling questions about the readiness of Afghan forces to take over when militants remain able to stage high-profile attacks, even when already tight security had been beefed up even further for Obama's visit.
Insurgents staged coordinated attacks in Kabul last month, paralyzing the city's centre and diplomatic area for 18 hours.
The Taliban also claimed responsibility for those attacks, but US and Afghan officials blamed the militant, al Qaeda-linked Haqqani network.
Obama's visit was clearly an election-year event.
He spoke to US troops during a stay in Afghanistan of roughly six hours and emphasized bin Laden's demise, an event his re-election campaign has touted as one of his most important achievements in office.
"Not only were we able to drive al Qaeda out of Afghanistan, but slowly and systematically we have been able to decimate the ranks of al Qaeda, and a year ago we were able to finally bring Osama bin Laden to justice," Obama said to cheers.
But even as he asserted in his speech that there was a "clear path" to fulfilling the US mission in Afghanistan and made his strongest claim yet that the defeat of al Qaeda was "within reach", he warned of further hardship ahead.
"I recognize that many Americans are tired of war ... But we must finish the job we started in Afghanistan and end this war responsibly," he said at Bagram airbase, where only months ago thousands of Afghans rioted after U.S troops accidentally burned copies of the Koran, the Muslim holy book.
That incident, and the killing of 17 Afghan civilians by a rogue US soldier weeks later, plunged already tense relations to their lowest point in years.
While speaking in broad terms of "difficult days ahead", Obama did not address some of the thorniest challenges.
These include corruption in Karzai's weak government, the unsteadiness of Afghan forces in the face of a resilient Taliban insurgency, and Washington's strained ties with Pakistan, where US officials see selective cooperation in cracking down on militants fueling cross-border violence.
Earlier, Obama met Karzai at his walled garden palace in Kabul, where they signed the Strategic Partnership Agreement.
"By signing this document, we close the last 10 years and open a new season of equal relations," Karzai said after the meeting.
The agreement does not specify whether a reduced number of US troops, possibly special forces, and advisers will remain after Nato's 2014 withdrawal deadline. That will be dealt with in a separate status-of-forces agreement still being worked out.
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ