Taliban security forces killed six ISIS militants in an overnight operation in the Afghan capital, Kabul, a spokesman for the ruling group's administration said on Saturday.
The ISIS members killed in the raid on their hideout were involved in two major attacks in recent weeks, one on a city mosque and the other on a tutoring institute in which dozens of female students were killed, said the spokesman, Qari Yusuf Ahmadi.
"They were the attackers of the Wazir Akbar Khan mosque and also ... of Kaaj Institute," Reuters quoted Ahmadi as saying.
According to Ahmadi, one Taliban security force member was killed in the operation.
No group claimed responsibility for either attack.
Fighters loyal to ISIS first appeared in eastern Afghanistan in 2014, and later made inroads in other areas.