Following the attack on Friday night on a guesthouse in the Spanish Embassy compound in Kabul, which resulted in casualties from both Afghan Police and Spanish National Police, the United Nations Security Council condemned "in the strongest terms" the terrorist attack for which the Taliban has claimed responsibility.
"The members of the Security Council expressed their deep sympathy and condolences to the families of the victims and to the people and government of Afghanistan, as well as to the people and government of Spain. They wished the injured a speedy recovery," said a press statement issued by the Security Council.
The Council reiterated its serious concern at the threats posed by the Taliban, Al-Qaeda, Daesh and illegal armed groups to the local population, national security forces, and international presence in Afghanistan.
"The members of the Security Council underlined the need to bring perpetrators, organizers, financiers and sponsors of these reprehensible acts of terrorism to justice, and urged all states, in accordance with their obligations under international law and relevant Security Council resolutions, to cooperate actively with the Afghan authorities in this regard," said the statement.
Further, the Council members reaffirmed that terrorism in all its forms and manifestations is criminal and unjustifiable, regardless of its motivation, wherever, whenever and by whomsoever committed, and should not be associated with any religion, nationality, civilization or ethnic group.
They also reaffirmed and reiterated their determination to combat by all means, in in accordance with the UN Charter and all obligations under international law, in particular international human rights, refugee and international humanitarian law, threats to international peace and security caused by terrorist acts.
"The members of the Security Council reiterated that no violent or terrorist acts can reverse the path towards Afghan-led peace, democracy and stability in Afghanistan, which is supported by the people and the Government of Afghanistan and by the international community," the statement concluded.
The attack started at about 6pm on Friday night when a suicide bomber detonated a car bomb outside the guest house. The insurgent blew open the wall into the property, enabling three other insurgents to enter.
Kabul police confirmed on Saturday a ten-hour gunfight took place but ended when all three insurgents were killed.
"Two foreigners, five police and a civilian were killed in the attack, nine other civilians were wounded. The reason that the attack lasted so long was so we could avoid more casualties among the civilians," Kabul police chief Abdul Rahman Rahimi said.
This attack came just days after Kabul and Islamabad agreed to resume peace talks with the Taliban. However the U.S has said that such attacks will not stop the resumption of peace talks.
Meanwhile, in a statement issued Sunday, the United Nations Assistance Mission in Afghanistan (UNAMA) condemned the Taliban's attack at the Spanish Embassy compound in Kabul and said it was an attack against the entire international community.
"[Friday's] attack at the compound claimed the lives of at least two civilians with several more injured, as well as extensive damage to the embassy complex," read the statement.
"UNAMA calls upon all parties to immediately cease targeting civilians."
The mission went on to say: "Civilians may never be deliberately targeted in any location. Such attacks are explicitly prohibited under international humanitarian law."
UNAMA stated that the attack in Kabul was the second major incident within a week in Afghanistan for which the Taliban claimed responsibility where they deliberately targeted civilians causing significant loss of civilian life.
The earlier attack occurred over a 24-hour period last week in Kandahar airport where the Taliban intentionally targeted civilian areas of the base.
As many as 39 civilians, including children, were killed and a further 23 injured when Taliban fighters dismounted their vehicles in the bazaar and opened fire on shopkeepers and customers.
The fighting reportedly continued in the residential areas of the base accommodating the families of Afghan security forces and airport staff. "Civilian relatives of military personnel can never be classified as combatants," read their statement.
"UNAMA reiterates that civilians may never be the object of an attack at any time and in any place."
The UN Mission expressed its sincere condolences to the families of the victims and a speedy recovery to the injured.