Jeff Sessions resigned as attorney general on Wednesday, a day after the midterm elections.