Kabul: The Spanish embassy compound in Kabul is under attack from insurgents with reports of gunfire and a massive car bomb near it being reported.
It was not immediately clear if there were casualties.
"The embassy has been attacked. We are gathering details," a foreign ministry spokesman in Madrid said, information that was confirmed by the Kabul police.
The embassy is in the city's affluent Sherpur area, which has many foreign embassies and government buildings, where a huge car bomb struck during rush hour this evening, followed by ongoing bursts of gunfire in an assault that comes as the resurgent Taliban escalate attacks against government and foreign targets.
The Taliban claimed responsibility for the attack, but said the target was a foreign guest house. It was not immediately clear if the guest house was inside the embassy premises.
Spanish news agency Europa Press reported that President Mariano Rajoy had been informed, citing government sources.
Spain had nine troops left in Afghanistan as of December 2015, according to official NATO figures.
Security forces have rushed to the spot and cordoned off the area.
The blast comes days after an attack on the airport complex in Kandahar which left close to 50 people dead.
Spotted: Lara Dutta, Mahesh Bhupathi with their daughter in Bandra
Photos: SRK, Tamannaah Bhatia, Varun Dhawan at Mehboob Studio
Birthday special: Sushant Singh Rajput's journey from TV to films
Photos: Vibrant Sonakshi Sinha opens LFW 2017 on a cruise ship
Health in pictures: 8 reasons why people have unprotected sex