Police killed five suspected militants Saturday in a nighttime raid on a Karachi apartment housing insurgents loyal to the Pakistani Taliban leader blamed for a wave of homicide attacks, a top official said.

City police chief Waseem Ahmed said officers found a large quantity of weapons and explosives in the apartment. He said the militants were planning terror attacks in Pakistan's biggest city.

Police taking part in the raid early Saturday told the militants to surrender, but they shot at police, Ahmed said. In the gunbattle that ensued, five militants were killed, five were wounded and six escaped in the darkness, he said.

"All the dead belonged to Baitullah Mehsud. They were planning to target the city for their terrorist activities," Ahmed said.

Mehsud is blamed for a wave of homicide bombings across Pakistan that spokesmen for his group have said is in retaliation for two military offensives against Taliban in the country's volatile northwest.

Troops are winding down their campaign to oust the Taliban from the Swat Valley region after two months of fighting and are turning their attention to a fresh offensive targeting Mehsud in his home territory of South Waziristan, in the tribal belt on the Afghan border.

The militant attacks have targeted security forces but have also hit mosques, markets and one major international hotel. The latest struck an army vehicle in Pakistani Kashmir on Friday, killing two soldiers. The bombing was claimed by a Mehsud spokesman who warned of more attacks.

It was the first time that this strategically sensitive area — where rival India has long accused Pakistan of harboring Islamic militants that launch attacks in Indian Kashmir — has been targeted by the Taliban.

The government says the recent homicide bombings have fueled its determination to destroy Mehsud's network and end militancy in Pakistan. Washington strongly backs the military campaigns, which are seen as a test of the government's resolve after years of unfinished offensives and failed peace deals with militants.

Karachi, a teeming port city of more than 16 million and Pakistan's commercial hub, has long been a hotbed for Taliban and Al Qaeda linked groups who are believed to have staged bank robberies, kidnapping for ransom and other criminal activities to raise funds.

On Tuesday, police arrested five suspected Mehsud loyalists on the western outskirts of the city and recovered weapons and grenades. Earlier this month, police said they arrested a would-be homicide bomber allegedly linked to Mehsud.