The Taliban minister in charge of refugees, Khalil Haqqani, was killed in a suicide attack inside the Interior Ministry in Kabul, the movement's most high-profile casualty since its return to power in Afghanistan in 2021.
Six other people died in the explosion as Haqqani left his office, Interior Ministry sources said.
Khalil Haqqani was a leading member of a powerful faction of the Taliban called the Haqqani Network, and was designated as a global terrorist by the United States.
There was no immediate claim for the attack, which the Taliban accused Islamic State militants of carrying out.
Jalaluddin, Khalil Haqqani's brother, was a famous guerrilla leader who fought Soviet troops in Afghanistan in the 1980s and founded the Haqqani Network, which was behind numerous attacks during the Taliban's 20-year insurgency .
Sirajuddin Haqqani, nephew of the minister and son of Jalaluddin, is the current interior minister in the Taliban government.
Although the overall security situation in Afghanistan has improved since the Taliban took full control of the country with the complete withdrawal of foreign troops in 2021, dozens of bombings and suicide attacks continue to occur in the country every year.
Many have been claimed by Islamic State Khorasan Province, or ISKP, the regional affiliate of the so-called Islamic State group, a major rival of the Taliban.