Slideshow ( 5 images )

KABUL (Reuters) - Islamic State claimed responsibility for a suicide attack on Monday on a compound of Afghanistan’s national intelligence agency in Kabul, which killed at least five people and wounded two.

The blast comes a week after the group claimed responsibility for an attack on a training facility of the same agency, the National Directorate for Security, in Kabul that ended when the attackers were killed before causing significant casualties.

In a statement issued through the group’s Amaq news agency, Islamic State said it was also behind Monday’s attack.

In Kabul, security officials said the explosion was caused by a suicide bomber who approached the agency’s entrance on foot before blowing himself up. All the casualties reported were of civilian passersby.

Najib Danish, a spokesman for the interior ministry, said at least five people were killed and two wounded.

U.S. President Donald Trump has been briefed on the attack, White House Press Secretary Sarah Sanders said.

Islamic State’s local affiliate, which first appeared in eastern Afghanistan near the border with Pakistan in early 2015, has become increasingly active and has claimed several recent suicide attacks in Kabul.

It has frequently fought Taliban militants and has been heavily targeted by U.S. air strikes and Special Forces operations in its main stronghold in Nangarhar province.

But there remains considerable uncertainty about how the group operates and the exact nature of its connections with Islamic State in Iraq and Syria.