<P> In Season 4, Pam retains the assertiveness she developed in the third season . She wears her hair down and has updated her old dowdy wardrobe . </P> <P> In the season 4 premiere, "Fun Run", Jim and Pam confess that they have started dating after the camera crew catches them kissing . The office ultimately learns of their relationship in "Dunder Mifflin Infinity". In "Chair Model", after teasing Pam about his impending proposal, Jim tells the documentary crew he is not kidding around about an engagement and shows them a ring he bought a week after he and Pam started dating . In the next few episodes, Jim fake - proposes to Pam multiple times . In "Goodbye, Toby", Pam discovers she's been accepted at Pratt Institute, an art and design school in Brooklyn . In an interview later in the episode, Jim announces that he will propose to Pam that evening . Just as Jim is preparing to propose, however, Andy Bernard stands up and makes his own impromptu proposal to Angela . Having had his thunder stolen by Andy, Jim reluctantly puts the ring back in his jacket pocket, leaving Pam visibly disappointed as she was expecting Jim to propose that night . </P> <P> In the Season 5 premiere, "Weight Loss", Pam begins her three - month course at the Pratt Institute . In this episode, Jim proposes in the pouring rain at a rest stop, saying that he "can't wait". In "Business Trip", Pam learns that she is failing one of her classes and will have to remain in New York another three months to retake it . Although Jim is supportive and tells her he will wait for her to come back "the right way", she ultimately makes the decision to return home, saying that she realized she hated graphic design and missed Scranton . A deleted scene for the episode shows Jim looking through Pam's graphic design projects, which he thinks are "cool", as well as a notebook filled with pencil sketches, which he finds a lot more impressive than her graphic design projects, implying her talents lie in hand - drawn works . In "Two Weeks", Pam agrees to become Michael's first saleswoman in his not - yet - established company, The Michael Scott Paper Co., as a supportive Jim looks on . When David Wallace makes an offer to buy the company Michael negotiates in order to get their jobs at Dunder Mifflin back instead, including adding Pam to the sales team . In "Company Picnic", Pam, after dominating the company volleyball tournament, injures her ankle during a game and is taken to the hospital against her wishes . At the hospital, the camera crew is stationed outside an exam room while a doctor updates Jim and Pam on her condition . There is no audio as the camera shows Jim and Pam embrace, looking shocked and ecstatic . It is implied that she is pregnant and is confirmed in the Season 6 premiere, "Gossip". </P> <P> Jim and Pam marry early in the season, at Niagara Falls, during the highly anticipated, hour long episode, "Niagara". The ending of the episode, in which their co-workers dance down the aisle, is an imitation of a viral YouTube video--JK Wedding Entrance Dance . Following the wedding, a multi-episode story arc begins in which it is revealed that Michael hooked up with Pam's mother the night of the wedding . The two break up during "Double Date", an episode that ends with Pam slapping Michael in response to his actions . </P>

When does pam find out she is pregnant