KABUL, Afghanistan (AP) — The Latest on the conflict in Afghanistan (all times local):

7:05 p.m.

An Afghan official confirms that the country's national Security Adviser, Mohammed Haneef Atmar, has resigned from his position.

Qader Shah, spokesman for the National Security Adviser's office, confirmed Atmar's resignation saying he would provide more details at a later time.

Atmar had previously served as the interior minister under the former president, Hamid Karzai.

___

12:10 p.m.

At least two people were killed and four others wounded Saturday when a suicide bomber detonated his vest full of explosives near the office of the Election Commission in eastern Nangarhar province, officials said.

Attahullah Khogyani, spokesman for the provincial governor, said the wounded were brought to the regional hospital in the capital city Jalalabad with one in critical condition. He said the casualty count would likely rise.

Doctors were trying to save the lives of the wounded, said Inamullah Miakhail, spokesman for the public health director in Nangarhar.

The attack happened when supporters of a candidate for parliament who was rejected by the Election Commission gathered to protest near the commission's office, said Khogyani. Several vehicles were damaged in the attack, he added.

The attack came as several tents belonging to protesters near the main Election Commission office in the capital Kabul were removed earlier Saturday by police after receiving threats of attacks, according to security officials.

No one has claimed responsibility for the attack in Nangarhar, but both an Islamic State group affiliate and Taliban insurgents are active in eastern Afghanistan, especially in Nangarhar.