The Iranian regime hanged two men in public, after a video posted on YouTube last month showed them assaulting a man in a Tehran street with a machete, the ISNA news agency reported.

The sentence, issued by the Revolutionary Court and confirmed by Iran's Supreme Court, was carried out in Tehran at 6:30 am on Sunday and before "a crowd of nearly three hundred people", ISNA said.

It said the two, identified as Alireza Mafiha and Mohammad Ali Sorouri, both aged under 24, were convicted of Moharebeh (waging war against God) and corruption on earth, according to AFP.

Under Iran's interpretation of Islamic sharia law using firearms or knives and clubs in a crime are considered as Moharebeh, whose punishment is death sentence.