Pakistani security officials stand guard at the site of a suicide bombing which killed dozens of people and left many injured in Mastung district near Quetta, Pakistan, Friday, May 12, 2017. (AP Photo/Arshad Butt)
Pakistani security officials stand guard at the site of a suicide bombing which killed dozens of people and left many injured in Mastung district near Quetta, Pakistan, Friday, May 12, 2017. (AP Photo/Arshad Butt) Credit: Arshad Butt

The Islamic State group said it carried out a brazen suicide attack on a Pakistani lawmaker in southwest Baluchistan province on Friday that killed 25 people despite a protracted crackdown on the assortment of militant groups operating in Pakistan.

Abdul Ghafoor Haideri, deputy leader of Pakistanโ€™s Senate or Upper House of Parliament, was slightly wounded in the attack that occurred as his convoy left a Islamic seminary, where he had attended a graduation ceremony.

โ€œThere was a big bang and we couldnโ€™t understand what had happened,โ€ said Haji Abdul Hadi, a witness who was hit with flying debris.

The attack by ISIS may have been a warning to Haideriโ€™s hardline Jamiat-e-Ulema Islam against participating in the countryโ€™s democratically elected government, said Zahid Hussain, an expert on militancy in Pakistan. JUI is a partner in Prime Minister Nawaz Sharifโ€™s government.

โ€œIt is a message to them that anyone who goes with the government will be targeted,โ€ he said, adding that it could also be that the ISIS targeted Haideri because of his partyโ€™s close alliance with Afghanistanโ€™s Taliban.

Many of Afghanistanโ€™s Taliban leaders studied at Islamic seminaries operated by JUI and in Afghanistan ISIS is battling the Taliban, who have warned followers against joining the group.