Two Taliban suicide bombers have struck near a US base in Kabul, killing two Afghan guards in the heart of a neighbourhood filled with foreign forces and embassies.
The attack came despite increased security ahead of a Muslim holy day that last year saw one the capital's deadliest attacks.
The bombers apparently meant to target the American base but were spotted by security guards as they approached on foot. The guards fired on the assailants, killing them, but not before one of the vests exploded, said General Mohammad Daoud Amin, the deputy provincial police chief.
Two Afghan security guards were killed and five civilians were wounded in the morning explosion, he said.
The blast reverberated around Kabul's Wazir Akbar Khan neighbourhood. An alarm started going off at the nearby US Embassy, warning staff to take cover. The neighborhood also is home to many high-ranking Afghan officials, international organisations and the headquarters of the international military coalition.
The Taliban claimed responsibility for the bombing in an email to reporters.
The attack came as foreign and Afghan forces tightened their watch over the capital ahead of the holy day of Ashoura on Saturday, when Shiite Muslims commemorate the seventh century death of Imam Hussein, the Prophet Muhammad's grandson.
Last year, the commemoration saw the country's first major sectarian attack since the fall of the Taliban regime. In that strike, a suicide bomber on foot detonated his vest amid scores of worshippers at a Shiite shrine, killing at least 80 people.
Attacks in Kabul are relatively rare and more recent strikes have not been particularly deadly, but have shown the continued ability of the insurgents to penetrate the security cordons that surround the city. The last previous attack before Wednesday's strike took place last week, when insurgents fired four rockets into the city, killing one person. The rockets hit near the airport, a private television station and close to a compound used by the Afghan intelligence service.
Wednesday's bombers were also armed with grenade launchers, said Amin, the deputy police chief. He said they were stopped near a building that was under construction near the US base.
An international coalition vehicle was also damaged in the attack but there were no initial reports of casualties among the foreign forces, said Jamie Graybeal, a NATO troops spokesman.
Police had already set up extra checkpoints around Kabul and specifically near shrines to search cars and people in the run up to the Ashoura.
On Tuesday, Amin said that all his forces were "in the first security alert position" and doing their "best to provide good security and prevent any possible incident on Ashoura."