Petraeus Resigns, Citing Affair