The Taliban has claimed responsibility for an overnight attack on a guesthouse in the diplomatic enclave of the Afghan capital that ended after a stand-off with government forces.

The interior ministry said the fighters had been armed with a rocket-propelled grenade launcher and other weapons. All four attackers were killed and no other casualties were reported.

Earlier on Tuesday, security forces had been deployed to the Wazir Akbar Khan area after heavy gunfire and a series of explosions were heard.

Al Jazeera’s Jennifer Glasse, reporting from Kabul, quoted police as saying that a suicide bomber detonated a bomb, then gunfire erupted as security forces shot at suspects in a “complex” attack which appeared to involve several targets.

More than a dozen explosions were heard in the space of an hour.

Most of the blasts had sounded like rockets, but several more powerful explosions could have been suicide bombings, an Afghan security source told Reuters news agency.

The manager of the guesthouse, owned by the family of Foreign Minister Salahuddin Rabbani, said all guests were in safe rooms and no one was hurt.

AdAre you a One Minute Man? This Nafdac Approved Solution Would Help you Last 30mins+ with no side effects