( AP ) - South Carolina Gov. Mark Sanford considered resigning from office after his extramarital affair came to light , the Republican revealed Sunday in an exclusive interview with The Associated Press .