A suicide bomb attack outside the foreign ministry in Afghanistan's capital Kabul has killed at least five people and injured many others, a police spokesperson has said.
Kabul police spokesperson Khalid Zadran said the official confirmed death toll was five, while Ustad Fareedun, an official at the Taliban-run information ministry, said 20 people were killed.
The attacker had planned to enter the ministry but did not succeed, a Taliban spokesman said.
A photo of the area posted on social media showed at least nine people who had been wounded or killed outside the building as security forces attended to them.
Islamic State claimed responsibility for the attack, the militant group's Amaq news agency said in an affiliated Telegram channel.
The blast hit around 4pm local time (11am GMT), Mr Zadran said. He said officials were investigating.
The Taliban-run government has been fighting an insurgency by Islamic State militants who have targeted foreigners at sites such as the Russian and Pakistani embassies, as well as a hotel catering to Chinese businessmen.
The explosion happened at a busy time of the day in a heavily-fortified area, which is surrounded by checkpoints. The street houses several ministries.
It was the second prominent attack in Kabul so far this year.
In an earlier attack, Islamic State claimed responsibility for a bombing near a checkpoint at the city's military airport that killed and wounded several people. No official casualty figures have been released so far.
IS also claimed an attack on a hotel in Kabul in mid-December.