Fianna Fail leader Micheal Martin had been poised to become Ireland’s next premier.