Election Day (Part 2) - S7-E17
Trivia: The election originally ended with Arnold Vinick as the victor. But in light of John Spencer's death (and by necessity, Leo's), the writers felt it would be too emotionally taxing on the audience for Santos to lose both his running mate and the election.