The Taliban have carried out what is thought to be their first public execution since their return to power in Afghanistan last year.
A Taliban spokesperson said a man was killed at a crowded sports stadium in south-western Farah province after he confessed to murder.
Dozens of the group’s leaders, including most top ministers in their government, attended the hanging.
It comes weeks after judges were instructed to fully enforce Sharia law.
The Taliban’s supreme leader Haibatullah Akhundzada issued the edict last month, ordering judges to impose punishments that may include public executions, public amputations and stoning.
However, the exact crimes and corresponding punishments have not been officially defined by the Taliban.
While several public floggings have been carried out recently – including that of a dozen people before a crowded football stadium in Logar province last month – it marks the first time the Taliban have publicly acknowledged carrying out an execution.
According to their spokesperson Zabihullah Mujahid, the execution was attended by several Supreme Court justices, military personnel and senior ministers – including the justice, foreign and interior ministers.
Mohammad Khaled Hanafi, charged with imposing the Taliban’s strict interpretation of Islamic law as minister for vice and virtue, was also present. However, Prime Minster Hasan Akhund did not attend, the statement said.
According to the Taliban, the executed man named Tajmir, a son of Ghulam Sarwar and a resident of Herat province, had stabbed a man named Mustafa about five years ago.
He was subsequently convicted by three Taliban courts and his sentence was approved by Mullah Akhundzada.
Before the execution, a public notice was issued publicising the event and “asking all citizens to join us in the sport field”.
The murdered man’s mother told the BBC that Taliban leaders had pleaded with her to forgive the man, but she had insisted upon his execution.
“Taliban came to me and begged me to forgive this infidel,” she said. “They insist me to forgive this man in sake of God, but I told them that this man must be executed and must be buried the same as he did to my son.
“This could be a lesson to other people,” she added. “If you do not execute him he will commit other crimes in the future.”
A listener to the BBC’s Afghan radio service in Farah said his son had witnessed the execution.
“The victim was executed by the father of the man who was killed five years ago,” the man said.
During their rule from 1996-2001, the Taliban were condemned for regularly carrying out punishments in public, including executions at the national stadium in Kabul.
The Taliban vowed that they would not repeat the brutal repression of women. Since they seized power, women’s freedoms have been severely curbed and a number of women have been beaten for demanding rights.
At present, no country has recognised their new government and the World Bank has withheld around $600m (£458m), after the Taliban banned girls from returning to secondary schools.
The US has also frozen billions of dollars held by Afghanistan’s central bank in accounts around the world.