Three members of the UN peacekeeping force in Burundi have been killed in an attack by gunmen in the Central African Republic.
Two people were injured in Thursday's attack.
The United Nations said on Friday. It is unknown at this time what he will do after leaving the post.
Such an incident took place there just before the election. The country is set to hold general elections on Sunday.
The United Nations said in a statement that three members of Burundi had been killed and two wounded in the attack. They suffered casualties in two separate attacks in the central Dekoa and southern Bakuma areas.
UN Secretary General Antonio Guterres mourned the loss of life in the attack.
In a statement, he said attacks on UN peacekeepers could be identified as war crimes.
He called on the authorities in the Central African Republic to investigate the attack and bring the perpetrators to justice.