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.
Photos: Aamir Khan with brother Faisal, ex-wife Reena Dutta at MAMI
Photos: Sonakshi Sinha, Sushant Singh Rajput at Mumbai airport
Spotted: Ajay Devgn and Kajol at an event in Mumbai
Birthday special: 21 cricketers who made their Test debut as teenagers
Pics: Prabhas, Tamannaah Bhatia at 'Baahubali 2' first look launch at MAMI