mahmud was hanged