ISLAMABAD (AP) — A spokesman says the Taliban authorities have executed an Afghan convicted of killing another man in the first public execution since the former insurgents took over the country last year.

The official says that Wednesday’s execution in the western Farah province, carried out with an assault rifle by the victim’s father, took place before hundreds of spectators and Taliban officials. Zabihullah Mujahid, the top spokesman for the Taliban government, says the decision to carry out the punishment was “made very carefully,” following approval by three top courts and the Taliban supreme leader, Mullah Haibatullah Akhundzada.

The executed man was convicted of killing and robbing another man five years ago.