An explosion went off close to a compound of the Afghan Special Forces in Kabul, the security officials confirmed.

Nusrat Rahimi, a spokesman for the Ministry of Interior confirmed that the explosion took place in Reshkhor area of Kabul.

Rahimi further added it is yet clear what caused the explosion.

Meanwhile, another security source said a suicide bomber detonated his explosives close to the entrance gate of the Special Forces compound.

The source further added that the explosion killed four people and wounded 3 others.

The Ministry of Defense in a statement confirmed that the attack martyred 4 soldiers of the Special Operations Corps and wounded 3 others.

The Taliban group claimed responsibility for the attack.