Kabul: An explosion outside a Pakistani consulate in western Afghanistan has wounded at least one person, officials said.

The explosives were placed on a bicycle outside the gates of the consulate in the city of Herat, said Naeem Khan, spokesman for the Pakistani Embassy in the Afghan capital, Kabul.

He said a policeman was wounded. No one was injured inside the consulate, Khan said.

Afghanistan is battling a raging Taliban-led insurgency, but much of the violence has occurred in the south and the east of the country, although the west has not been immune.

The growing instability in the country has strained relations with Pakistan, which Afghan officials contest is not doing enough to crack down on militants who hide out on its side of the border in the east.

Afghan-Pakistan relations hit a new low after a huge bombing outside the Indian Embassy in Kabul on July 7. Both Indian and Afghan officials have said their information indicates Pakistani involvement in that attack, which killed some 60 people.