Hadi was the internationally recognised president of Yemen who led a fractured government mostly from exile.