An Afghan security force member takes position during a military operation in Jawzjan province, Afghanistan. Picture: Mohammad Jan Aria/Xinhua

Kabul - Afghanistan forces killed an Islamic State commander in an air strike, one year after he defected from the Taliban and established a new IS foothold within the country, security officials said.

Qari Hekmat was killed in a drone strike on Thursday afternoon in the Darz Aab district of Afghanistan's northern Jawzjan province, said Hanif Rezaee, spokesman for the Afghan National Army Air Corps.

The militant group established a new foothold in the province last year when Hekmat defected from the Taliban, attracting the attention of U.S. forces.

Hekmat is at least the seventh senior IS member killed in Afghanistan in the last 11 months.

"We are conducting a series of intensive operations in Jawzjan and across all of northern Afghanistan to defeat IS-K," said Colonel Lisa Garcia, spokeswoman for US Forces-Afghanistan in a statement, using the term for IS in the region.

IS claimed responsibility for suicide bombs last month near Shi'a mosques in Herat and Kabul. Both the Western-backed government in Kabul and the main Islamist militant group, the Taliban, are fighting Islamic State.

The militant group first appeared in Afghanistan three years ago. Its fighters have been active in the north of the country as well as in its main stronghold area in the eastern province of Nangarhar on the border with Pakistan.

While sectarian violence in mainly Sunni Muslim Afghanistan was previously rare, a series of attacks over recent years - many claimed by IS - have killed hundreds of Shi'as.