The Taliban have carried out what is thought to be their first public execution since the group's return to power in Afghanistan last year, APA reports iting BBC.
A Taliban spokesperson said a man named Tajmir 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.
The Taliban's supreme leader Haibatullah Akhundzada issued the edict last month, ordering judges to impose punishments, including public executions, public amputations and stoning.
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."
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.