he was later ambushed captured and hanged by the ottoman