Bartlet, Leo, Josh, Sam and C. J. pull a practical joke on Toby; Sam's mission to end the Wilde campaign leads him to make a career-altering decision; Jordan backs up Leo as he deals with the Qumari; Toby continues to press his case with a resistant Andrea; and Bartlet cleans Ritchie's clock in their debate.