A supporter of the Pakistan People's Party (PPP) holds the country's national flag while cycling during an anti-U.S. rally near the U.S. consulate in Karachi, Sept. 27, 2011. Reuters

Islamic State supporters fatally shot an intelligence officer in Pakistan Monday in the latest act of violence from militants with the group also known as ISIS in the country battling multiple terrorist threats. The suspects used an a 9mm pistol as they were traveling on a motorcycle.

Akbar Ali, an intelligence sub-inspector, was waiting at a local bus stop near his home in Charsadda district as he headed to work when the gunmen opened fire, Suhail Khalid, the district police chief told reporters. "Akbar Ali was hit by four bullets from the front and was killed on the spot," Khalid told Agence France-Presse.

ISIS claimed responsibility for the attack in a statement posted on Amaq, its affiliated news agency. "Islamic State fighters have killed a Pakistan intelligence agent in the Sardaryab region... of Pakistan," the statement read.

The attack comes after Pakistan's military last month warned civilians that the Islamic State group had become a threat in the country. Pakistan has reportedly arrested hundreds of ISIS supporters in recent months to stop potential terror attacks.

ISIS claimed its first terror attack in Pakistan in May 2015, when 46 people were killed on a bus in Karachi. Most recently, ISIS claimed it carried out an attack on a hospital in August, but Pakistan denied the militant group was behind the violence. Pakistan is also battling threats from Al Qaeda, Afghan Taliban fighters and local militant groups angry with the government's decision to support the U.S. invasion of Afghanistan in 2001, among other sources of political friction.

General John Nicholson, the top U.S. commander, said over the weekend he was concerned about militants crossing Pakistan's "very porous" border into Afghanistan, or insurgents moving into Pakistan from the other direction.

The Taliban and Haqqani "still enjoy sanctuary in Pakistan," Nicholson said in an exclusive interview with NBC News.