Updated

A homicide bomber rammed an explosives-laden vehicle into a hotel in a northwest Pakistan market on Friday, killing 25 people in a possible sectarian attack, police and a government official said.

The attack was the second in two days in Kohat, a rough town not far from the Afghan border with a history of violence between the Shiite and Sunni Muslim sects. A bomb there wounded six people Thursday.

The hotel hit Friday was owned by a Shiite, police official Asmat Ullah said.

The violence underscores the relentless insecurity in a region home to the Taliban and Al Qaeda, whose Sunni extremism has only fueled sectarian attacks that have long plagued Pakistan.

Militants continue to mount attacks despite military offensives aimed at Taliban fighters over the past year. The U.S. is particularly anxious for Pakistan to clamp down on militants it says are behind attacks on American and NATO troops across the border in Afghanistan.

Another police official, Ali Hassan Khan, said Friday's bomber was in a vehicle.

The blast destroyed several cars, and several shops at the Kacha Paka market, near where the hotel is located, caved in.

Area mayor Syed Mehtabul Hassan told The Associated Press that 25 bodies were pulled out of the rubble of the hotel and nearby shops and that several other people were wounded.

Kohat is around 40 miles south of Peshawar, Pakistan's main northwest city. On Thursday, six people were wounded when a bomb planted outside a shop in a separate area of Kohat exploded.

Pakistani Prime Minister Yousuf Raza Gilani condemned Friday's attack in a short press statement.

Pakistan's military, however, has made gains in the region over the past year.

A four-month-old army offensive against Taliban militants in the Swat Valley has -- according to the military -- killed more than 1,800 alleged militants, while at least three top leaders of the Swat Taliban have been arrested.

Government officials say the army is also closing in on Swat Taliban chief Maulana Fazlullah, whose radio broadcasts long spread fear among residents of the valley.

Search and clearance operations over the previous 24 hours in Swat led to the arrests of seven militants and surrenders of another 13, the Pakistani military said in a Friday statement.