Two bombs have killed eight people and wounded 100 in a market in the city of Peshawar in northwestern Pakistan.
The bombs were planted on motorbikes in the Storytellers Bazaar in the old city on Thursday.
Gunmen on rooftops ambushed police as they arrived at the scene.
Police later said two gunmen had been killed and two suspects detained.
The Taliban threatened more attacks on Thursday.
Earlier, the Taliban claimed responsibility for a suicide car-bomb and gun attack in the city of Lahore on Wednesday that killed 24 people, saying it was revenge for an army offensive in the Swat valley.
According to provincial government figures, the fighting in Swat has sparked an exodus of 2.3 million people.