 " The Job " is the third season finale of the U.S. version of The Office , and the show 's 52nd and 53rd episodes overall . In this episode , Michael prepares for his interview for the corporate job and names Dwight as his successor , whose managing methods are unpopular . Jan arrives at the office to see Michael and everyone is shocked when she reveals that she is pregnant .
The episode was written by Mindy Kaling and B. J. Novak , and directed by Paul Feig . It was first broadcast on May 14, 2008, on NBC . The episode is the third part