Ernst saw the writing on wall, will not seek re-election