The former First Minister will not seek re-election amid speculation she would quit.