Azali was attacked as he attended a funeral, according to the presidency.