<P> Pam participates in an art show, but few people attend . Her co-worker, Oscar, brings his partner along who, not knowing that Pam is standing behind him, criticizes her work by proclaiming that "real art requires courage ." Oscar then goes on to say that courage isn't one of Pam's strong points . Affected by this statement, Pam tells the documentary crew that she is going to be more honest, culminating in a dramatic coal walk during the next - to - last episode of the season, "Beach Games", and a seemingly sincere speech to Jim in front of the entire office about their relationship . Michael also comes to the art show and reveals his erratically kind heart and loyalty by buying, framing and hanging Pam's drawing of the Dunder Mifflin building in the office . In the season finale, "The Job," she leaves a friendly note in Jim's briefcase and an old memento depicting the' gold medal' yogurt lid from the Office Olympics, which he sees during an interview for a job at Corporate in New York City . While he is asked how he "would function here in New York", Jim is shown to have his mind back in Scranton, still distracted by the thought of Pam . Jim withdraws his name from consideration and drives back to the office, where he interrupts a talking head Pam is doing for the documentary crew by asking her out for dinner . She happily accepts, visibly moved, abandoning a train of thought about how she would be fine if Jim got the job and never came back to Scranton . Karen quits soon after, becoming the regional manager at Dunder Mifflin's Utica branch . </P> <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>

The office episode pam and jim get together