A suicide bomb attack in Afghanistan's capital, Kabul, has killed 40 people and injured 30.
Some of those who lost their loved ones in the attack expressed outrage over the performance of government and accused them of incompetence.
ISIS claimed responsibility for Thursday's deadly attack on a Shiite cultural center in Kabul.
The blasts hit a Shiite cultural center and the Afghan Voice news agency.
"With journalists amongst the casualties, this act of violence is clearly also an attack against freedom of expression and democracy in Afghanistan", the European Union said on its website.
Then, at least two other nearby explosions followed.
According to BBC, the event to mark the 38th anniversary of the Soviet invasion of Afghanistan was ongoing when a bomb detonated. According to Afghan officials, the bombing caused at least 41 deaths and over 80 additional injuries, and the incident was just the latest in a string of violent attacks against Shiite Muslims.
Rahimi said there were two other explosions on the street outside of the building as people were gathering to help those injured by the first blast.
In October, at least 39 people were killed in an attack on a mosque belonging to the Shia minority.
"The terrorists have killed our people", Ghani said in a statement.
"Terrorists groups and their backers must know that the Afghan people are united and stand firm to any plot carried out by their enemies; these heinous attacks will not break the resolve of the Afghan people", the statement read.
The Taliban insurgency distanced itself from the attack, saying its fighters do not target civilian facilities, especially those housing education and cultural centers.
Ghani called the attack a crime against humanity, Islam and "all human values".
Security in Afghanistan is rapidly deteriorating following the withdrawal of global forces from the country 3 years ago.