A suicide bomber detonated his explosive vest outside a mosque in a Shi'ite neighbourhood on Friday in Pakistan's northwestern Kurram tribal region, killing at least 26 people, government officials said.
Three more people were killed when police shot at protesters from the Shi'ite community after the bombing in Parachinar, the main town in Kurram, an official said. A curfew was imposed in the town.
The bomber struck outside the mosque in a busy market after Friday prayers, in the latest attack by Sunni militants against minority Shi'ites.
Kurram, the only part of Pakistan's border region that has a significant Shi'ite population, has been racked by sectarian violence between Sunni and Shi'ite tribes. The Taliban and al Qaeda's virulent anti-Shi'ite ideology has meant years of bloody fighting.
Fazal Saeed, leader of a breakaway faction of the Pakistani Taliban, claimed responsibility for the latest attack in Kurram, near the Afghan border.
We have targeted the Shi'ite community of Parachinar because they were involved in activities against us, he told Reuters by telephone from an undisclosed location.
We also warn the political administration of Parachinar to stop siding with the Shi'ite community in all our disputes.
Shi'ite Muslims are a minority sect of Islam, arising from a dispute over the successor to the Prophet Mohammad 1,400 years ago. Many extreme Sunni Muslims consider them apostates.
Saeed was part of the Tehrik-e-Taliban Pakistan (TTP) but broke away last year after disputes with the umbrella militant group's leadership.
He is said to have close ties with the Haqqani militant group, one of the most feared factions of the Afghan Taliban.
The TTP, al Qaeda, and the Afghan Taliban movement fighting Western forces in Afghanistan are entrenched in Pakistan's northwestern tribal areas. All have been involved in anti-Shi'ite activities for years.
They continue to have strongholds in the region despite a series of military operations in the last few years.
Pakistan's army and air force have been conducting operations against militant groups in Kurram since the beginning of the year. Dozens have been killed in fierce fighting this month.
(Additional reporting by Saud Mehsud in DERA ISMAIL KHAN and Jibran Ahmad in PESHAWAR; Writing by Qasim Nauman; Editing by Sanjeev Miglani)