Bombings killed 49 people in three different areas of Pakistan on Sunday, just as Britain’s prime minister was in the capital pledging to help to fight extremism.

In the deadliest of the attacks, twin blasts near a Shiite Muslim mosque in Quetta, the capital of southwest Baluchistan province, killed at least 28 people, including nine women and several children, said city police chief Mir Zubair Mahmood. Dozens of others were wounded.

Initial reports indicated a hand grenade caused the first blast, forcing people to run in the direction of the mosque, where a suicide bomber detonated his explosives, said another police officer, Fayaz Sumbal.

Security forces prevented the bomber from entering the mosque, or the death toll would have been higher, said the provincial Home Secretary Akbar Durrani. Radical Sunni Muslims have stepped up attacks in the past two years against minority Shiites, whom they consider to be heretics.

Local TV video showed ambulances rushing victims to the hospital and wheeling them inside on stretchers. Some of the bodies were covered with white sheets. Relatives of the victims frantically entered the emergency room to inquire about their loved ones. Security forces cordoned off the area of the attack. The walls of shops near the blast were pockmarked with holes caused by small steel balls packed with the explosives to cause maximum death and destruction.

No one has claimed responsibility for the attack. Suspicion will likely fall on the militant group Lashkar-e-Jhangvi, which has carried out many of the attacks against Shiites in Baluchistan in recent years.

In the northwest, a car bomb exploded as a convoy of paramilitary troops passed through the outskirts of the city of Peshawar, killing at least 17 people and wounding dozens of others, police said.

Most of the dead and wounded were civilians, although nine paramilitary Frontier Corps troops were hurt, said police official Shafiullah Khan. The blast struck one Frontier Corps vehicle, but the other passed by safely.

The explosion damaged many other vehicles and shops in the area, according to local TV video. Frontier Corps vehicles rushed to the scene, and a police officer collected evidence from the crater caused by the bomb.

Elsewhere in the northwest, a roadside bomb struck an army convoy and killed four soldiers in the North Waziristan tribal area, the main sanctuary for Taliban and al-Qaida militants in the country, said intelligence officials, speaking on condition of anonymity because they were not authorized to talk to reporters. The blast also wounded 20 soldiers, the officials said.

No one has claimed responsibility for the attacks in the northwest, but suspicion will fall on the Pakistani Taliban. The group has been waging a bloody insurgency against the government for years that has killed thousands of security personnel and civilians. The militants have proven resilient despite a series of army offensives against them in the tribal region.

British Prime Minister David Cameron told his Pakistani counterpart, Nawaz Sharif, that Britain would do all it can to help fight extremism, a battle that he said requires both a tough security response and measures to fight poverty and promote education.

Cameron arrived in Pakistan following a visit to neighboring Afghanistan. He welcomed Pakistan’s stated commitment to help promote a peace deal with the Afghan Taliban.