Foley will not pursue re-election