Kabul, Afghanistan (CNN) Shahidullah Shahid, a former Taliban spokesman who pledged allegiance to ISIS, has been killed in an airstrike in eastern Afghanistan, that nation's intelligence agency reported Thursday.

According to the Afghan agency, the National Directorate of Security, Shahid was planning "a big war in the region and turned himself to a famous and central figure of the terrorist group" in Nangarhar province.

Earlier this year, Afghan President Ashraf Ghani deemed ISIS a "terrible threat" to his country, which has been beset for years by violence from other groups, like the Taliban.

Shahid was a longtime spokesman for another militant organization, the Pakistan Taliban, that's long been blamed for unrest in the region.

In October, he issued a statement expressing solidarity with ISIS and other fighters in Syria.

Read More