The first attack took place in Quetta, the provincial capital of southwestern Baluchistan Province, when a suicide bomber detonated his explosives after his vehicle was stopped at a security checkpoint. At least 13 people, including seven police officers, were killed and at least 19 were wounded, officials said. The explosion took place near the office of the provincial police chief, but officials said it was not clear if he was the target of the bombing.

Jamaat-ul-Ahrar, a splinter group of the Pakistani Taliban, claimed responsibility for the attack. The Islamic State also made a claim of responsibility, as it has done in several other terrorism episodes in the province in recent months.

Pakistani officials, however, have played down the presence of the Islamic State, also referred to as I.S., in the country. “There is no organized infrastructure of I.S. in Pakistan,” General Ghafoor said. “But some local criminals and militants are sort of bandwagoning them just like when Taliban emerged, and many local criminals did that.”

The general did say, however, that Pakistan saw the hand of India’s spy agency, the Research and Analysis Wing, or RAW, behind the unrest in Baluchistan.

The other terrorist attack on Friday took place in Parachinar, the capital of the Kurram tribal region in the country’s northwest, when back-to-back bombings at Turi market during the evening rush killed at least 40 people and wounded more than 200, according to Hayatulla, a local official who goes by one name.