Image copyright EPA Image caption Candles were lit at memorials for the victims in Kabul overnight

Afghanistan is observing a day of national mourning after a suicide bomber killed 80 people and wounded 230 in an attack on marchers in Kabul.

So-called Islamic State (IS), the Sunni Muslim militant group, has said it was behind Saturday's attack on members of the Shia Muslim Hazara minority.

In a televised address, President Ashraf Ghani vowed to take revenge against those responsible.

The UN mission in Afghanistan has described the attack as a "war crime".

Tadamichi Yamamoto, head of the UN assistance mission, said the attackers had specifically targeted a large number of civilians.

What is behind the power line protest?

Islamic State group: The full story

Sunnis and Shia: Islam's ancient schism

On Saturday, the IS-linked Amaq news agency said two fighters had detonated explosive belts at a "gathering of Shia" in Deh Mazang square.

Correspondents say the statement suggests an intention to foment sectarian strife.

Thousands of members of the Hazara minority were protesting over a new power line, saying its route bypasses provinces where many of them live.

The Taliban, Afghanistan's most prominent Islamist militant group, condemned the attack.

Image copyright EPA Image caption The scattered belongings of victims were laid out at the scene for collection

Image copyright Reuters Image caption Shocked relatives of victims gathered outside a hospital in Kabul

IS has a presence in eastern Afghanistan but this is the first time it has admitted carrying out attacks in the capital.

An Afghan intelligence source told the BBC an IS commander named Abo Ali had sent three jihadists from the Achen district of Nangarhar province to carry out the Kabul attack.

Only one attacker successfully detonated his explosives, the interior ministry said. The belt of the second failed to explode and the third attacker was killed by security forces, the source said.

Declaring Sunday a day of national mourning, Mr Ghani said: "I promise you I will take revenge against the culprits."

He had earlier issued a statement saying that peaceful protest was the right of every citizen and that "opportunist terrorists" had infiltrated the crowd.

The Hazaras - mostly Shia Muslims - live mainly in the centre of the country.

They have long complained of discrimination. During Taliban rule in the late 1990s, many of them fled to Pakistan, Iran and Tajikistan.

Who are the Hazaras?