A powerful explosion has rocked Afghanistan’s capital in an attack that apparently targeted the country’s acting defence minister.

At least 10 people were wounded, a health official said.

Several smaller explosions could be heard as well as small arms fire. It was unclear if the wounded were hurt in the explosion or by gunfire.

Interior Ministry spokesman Mirwais Stanekzai said the blast happened in the posh Sherpur neighbourhood, which is in a deeply secure section of the capital known as the green zone.

It is home to several senior government officials.

Mr Stanekzai said it appeared the guesthouse of acting defence minister Bismillah Khan Mohammadi was targeted in the attack.

His Jamiat-e-Islami party was told the minister was not in the guesthouse and his family had been safely evacuated.

A party leader and former vice president, Younus Qanooni, reassured the party in a message shared on social media that the minister and his family were safe.

Details of the attack were sketchy, but it appeared that gunmen had entered the area after the explosion.

Mr Stanekzai said a clean-up operation was being conducted by police and all roads leading to the minister’s house and guesthouse were closed.

At least 10 people were wounded in the attack and were taken to hospitals in the capital, said Health Ministry spokesman Dastgir Nazari.

No-one immediately took responsibility for the attack but it came as Taliban insurgents have been pressing ahead with an offensive that is putting pressure on the provincial capitals in the south and west of the country.

The Islamic Sate group has claimed some recent attacks in Kabul but most have gone unclaimed, with the government blaming the Taliban and the Taliban blaming the government.