Taliban militants have attacked a foreign guesthouse in Kabul's embassy district, causing several casualties.
Initial reports suggested that the Spanish embassy was under attack, but Spain's prime minister Mariano Rajoy denied this.
He later added that one Spanish police officer died in the attack.
The Taliban say their fighters detonated a car bomb in the Sherpur area and were currently inside a building there.
It is the latest in a series of audacious raids by Taliban fighters on high-profile targets in Afghanistan.
Casualties have been brought in to a nearby hospital, and eyewitnesses say a gun battle is still under way.
Eyewitnesses reported hearing a loud explosion followed by heavy gunfire on Friday evening.
Fresh gunfire and explosions were heard early on Saturday morning.
It follows a Taliban attack on Kandahar airport on Tuesday evening in which at least 50 people were killed.
Image copyright Reuters Image caption Witnesses reported a loud explosion and heavy gunfire Image copyright EPA Image caption Members of the Afghan security services arrived at the scene shortly afterwards Afghan security officials say that seven insurgents are involved in the attack. Both Afghan and Spanish security forces are reportedly at the scene.
"There has not been an attack, nor an attempt to carry one out on the Spanish embassy in Afghanistan" Mr Rajoy said.
"It was an attack on some guest houses that were very close to the embassy." he added.
Kabul police chief Abdul Rahman Rahimi told the BBC: " I can only confirm a suicide car bomb in the Sherpur area at this moment".
Freelance journalist Bilal Sarwary reported seeing two Spanish diplomats fleeing the compound shortly after the attack.
He saw one of them repeatedly bang their head on a vehicle in a show of grief.
Afghan police report that the militants had burned several armoured vehicles that they found inside the compound.
The initial explosion left two houses on fire, a police official told the Associated Press.
"It's possible the attackers are hiding. We've blocked all the streets and are searching," he added.
Share this story About sharing
Taliban conflict
Asia
Chinese tycoon detained by police
Full article Chinese tycoon detained by police
'Abandoned' Malaysia jets claimed
Full article 'Abandoned' Malaysia jets claimed
New Zealand picks new flag 'winner'
Full article New Zealand picks new flag 'winner'
More Videos from the BBC
<li class="ob-dynamic-rec-container ob-recIdx-0 ob-o"> Death crash video released in effort to urge drivers to obey speed… <li class="ob-dynamic-rec-container ob-recIdx-1 ob-o">
<li class="ob-dynamic-rec-container ob-recIdx-1 ob-o"> Secret video shows life inside Islamic State stronghold of Raqqa <li class="ob-dynamic-rec-container ob-recIdx-2 ob-o">
<li class="ob-dynamic-rec-container ob-recIdx-3 ob-o"> Ford tells Trump his role as US president in a film 'was just a movie' <li class="ob-dynamic-rec-container ob-recIdx-4 ob-o">
<li class="ob-dynamic-rec-container ob-recIdx-4 ob-o"> Watches thief grabbed by public in Leeds street <li class="ob-dynamic-rec-container ob-recIdx-5 ob-o">
Recommended by Outbrain
Elsewhere on BBC
Recommended by Outbrain
You Might Also Like
Top Stories
'Conditions never better' for climate deal Negotiators in Paris work through the night in an effort to secure a new global climate deal, amid hopes that a final draft will be agreed by Saturday morning.
4 minutes ago
Saudi women to vote for first time 8 minutes ago
Gaddafi son freed after Lebanon kidnap 2 hours ago
Advertisement
Features & Analysis
Controversial park
Dark underside to Thai plans for royal succession
Mind the cockroaches
Your nightmares and pleasant surprises in US airports
'New era'
Elections suggest Latin America is turning against the left
7 days quiz
Which lie did a newspaper tell about Santa?
Teenage terror
Why are more young people being drawn to Islamist extremism?
In pictures
A cut above: Shanghai-style hairdressing
Human selfie sticks
The lonely life of an 'Instagram husband'
Enceladus discovery
Does this moon hold a second genesis of life?
Most Popular popular
Most read
Advertisement
From Around the Web
<li class="ob-dynamic-rec-container ob-recIdx-0 ob-p"> This is the largest destroyer ever built for the U.S. Navy Washington Post Video <li class="ob-dynamic-rec-container ob-recIdx-1 ob-p">
<li class="ob-dynamic-rec-container ob-recIdx-1 ob-p"> Watch This Drone Capture Rogue Drones Fortune <li class="ob-dynamic-rec-container ob-recIdx-2 ob-p">
<li class="ob-dynamic-rec-container ob-recIdx-2 ob-p"> When a MIT Scientist Goes to Combat Aging at the Cellular Level Scientific American <li class="ob-dynamic-rec-container ob-recIdx-3 ob-p">
<li class="ob-dynamic-rec-container ob-recIdx-3 ob-p"> Ever look yourself up? This new site is addicting. If you… Instant Checkmate <li class="ob-dynamic-rec-container ob-recIdx-4 ob-p">
<li class="ob-dynamic-rec-container ob-recIdx-4 ob-p"> Why The World's Greatest Hoodie has a 4-Month Wait List Business Insider <li class="ob-dynamic-rec-container ob-recIdx-5 ob-p">
Promoted content by Outbrain
Ads by Google
Initial reports suggested that the Spanish embassy was under attack, but Spain's prime minister Mariano Rajoy denied this.
He later added that one Spanish police officer died in the attack.
The Taliban say their fighters detonated a car bomb in the Sherpur area and were currently inside a building there.
It is the latest in a series of audacious raids by Taliban fighters on high-profile targets in Afghanistan.
Casualties have been brought in to a nearby hospital, and eyewitnesses say a gun battle is still under way.
Eyewitnesses reported hearing a loud explosion followed by heavy gunfire on Friday evening.
Fresh gunfire and explosions were heard early on Saturday morning.
It follows a Taliban attack on Kandahar airport on Tuesday evening in which at least 50 people were killed.
Image copyright Reuters Image caption Witnesses reported a loud explosion and heavy gunfire Image copyright EPA Image caption Members of the Afghan security services arrived at the scene shortly afterwards Afghan security officials say that seven insurgents are involved in the attack. Both Afghan and Spanish security forces are reportedly at the scene.
"There has not been an attack, nor an attempt to carry one out on the Spanish embassy in Afghanistan" Mr Rajoy said.
"It was an attack on some guest houses that were very close to the embassy." he added.
Kabul police chief Abdul Rahman Rahimi told the BBC: " I can only confirm a suicide car bomb in the Sherpur area at this moment".
Freelance journalist Bilal Sarwary reported seeing two Spanish diplomats fleeing the compound shortly after the attack.
He saw one of them repeatedly bang their head on a vehicle in a show of grief.
Afghan police report that the militants had burned several armoured vehicles that they found inside the compound.
The initial explosion left two houses on fire, a police official told the Associated Press.
"It's possible the attackers are hiding. We've blocked all the streets and are searching," he added.
Share this story About sharing
Taliban conflict
- What we know about Kunduz hospital bombing
25 November 2015
- The battle for the Taliban
23 September 2015
- Who are the Taliban?
29 September 2015
- Battleground Kunduz: The city the Taliban seized
29 September 2015
- Profile: Mullah Akhtar Mansour
30 September 2015
- Taliban conflict: Special report
7 October 2015
- Helmand: Life after UK withdrawal
20 July 2015
- Mullah Omar: The myth and the movement
29 July 2015
- Pakistan quiet on Mullah Omar death
30 July 2015
- Video Just who was Taliban's Mullah Omar?
30 July 2015
Asia
Chinese tycoon detained by police
- 11 December 2015
- From the section Business
Full article Chinese tycoon detained by police
'Abandoned' Malaysia jets claimed
- 11 December 2015
- From the section Asia
Full article 'Abandoned' Malaysia jets claimed
New Zealand picks new flag 'winner'
- 11 December 2015
- From the section Asia
Full article New Zealand picks new flag 'winner'
More Videos from the BBC
<li class="ob-dynamic-rec-container ob-recIdx-0 ob-o"> Death crash video released in effort to urge drivers to obey speed… <li class="ob-dynamic-rec-container ob-recIdx-1 ob-o">
<li class="ob-dynamic-rec-container ob-recIdx-1 ob-o"> Secret video shows life inside Islamic State stronghold of Raqqa <li class="ob-dynamic-rec-container ob-recIdx-2 ob-o">
<li class="ob-dynamic-rec-container ob-recIdx-3 ob-o"> Ford tells Trump his role as US president in a film 'was just a movie' <li class="ob-dynamic-rec-container ob-recIdx-4 ob-o">
<li class="ob-dynamic-rec-container ob-recIdx-4 ob-o"> Watches thief grabbed by public in Leeds street <li class="ob-dynamic-rec-container ob-recIdx-5 ob-o">
Recommended by Outbrain
Elsewhere on BBC
Recommended by Outbrain
You Might Also Like
Top Stories
'Conditions never better' for climate deal Negotiators in Paris work through the night in an effort to secure a new global climate deal, amid hopes that a final draft will be agreed by Saturday morning.
4 minutes ago
Saudi women to vote for first time 8 minutes ago
Gaddafi son freed after Lebanon kidnap 2 hours ago
Advertisement
Features & Analysis
Controversial park
Dark underside to Thai plans for royal succession
Mind the cockroaches
Your nightmares and pleasant surprises in US airports
'New era'
Elections suggest Latin America is turning against the left
7 days quiz
Which lie did a newspaper tell about Santa?
Teenage terror
Why are more young people being drawn to Islamist extremism?
In pictures
A cut above: Shanghai-style hairdressing
Human selfie sticks
The lonely life of an 'Instagram husband'
Enceladus discovery
Does this moon hold a second genesis of life?
Most Popular popular
Most read
- 1 Germany in nuclear fusion 'milestone'
- 2 Is Donald Trump a Democratic secret agent?
- 3 Gaddafi son freed after Lebanon kidnap
- 4 American airports: The good, the bad and the ugly
- 5 AirBnB hosts ‘racially discriminate'
- 6 Putin vows tough line on Syria threats
- 7 Tokyo police to launch drone squad
- 8 Saudi women to vote for first time
- 9 New Zealand picks new flag 'winner'
- 10 'Conditions never better' for deal
Advertisement
From Around the Web
<li class="ob-dynamic-rec-container ob-recIdx-0 ob-p"> This is the largest destroyer ever built for the U.S. Navy Washington Post Video <li class="ob-dynamic-rec-container ob-recIdx-1 ob-p">
<li class="ob-dynamic-rec-container ob-recIdx-1 ob-p"> Watch This Drone Capture Rogue Drones Fortune <li class="ob-dynamic-rec-container ob-recIdx-2 ob-p">
<li class="ob-dynamic-rec-container ob-recIdx-2 ob-p"> When a MIT Scientist Goes to Combat Aging at the Cellular Level Scientific American <li class="ob-dynamic-rec-container ob-recIdx-3 ob-p">
<li class="ob-dynamic-rec-container ob-recIdx-3 ob-p"> Ever look yourself up? This new site is addicting. If you… Instant Checkmate <li class="ob-dynamic-rec-container ob-recIdx-4 ob-p">
<li class="ob-dynamic-rec-container ob-recIdx-4 ob-p"> Why The World's Greatest Hoodie has a 4-Month Wait List Business Insider <li class="ob-dynamic-rec-container ob-recIdx-5 ob-p">
Promoted content by Outbrain
Ads by Google
- Whistle Dog GPS
Whistle GPS. Never Lose Your Dog. Track Your Dog's Location & Habits.
whistle.com/Dog-GPS - Dental Implants $395
Complete With Post & Crown $1499 9 Locations in NY & CT. Exp Soon!
cdimplantscentre.com - Math Practice - Ages 5-15
A K-12 math website kids love — Win awards, certificates, have fun!
www.ixl.com/Math
