The federal prosecutor who oversaw investigations into former presidential candidate John Edwards and former Gov. Mike Easley is resigning.