<P> Season three marks a turning point for Pam's character: she gains self - confidence and appears less passive and more self - assured as the season progresses . In "Gay Witch Hunt," the season's opener, it is revealed that Pam got cold feet before her wedding and did not marry Roy after all, and that Jim transferred to a different Dunder Mifflin branch, in Stamford, shortly after Pam rejected him a second time, after their kiss . Pam moves into her own apartment, begins taking art classes, a pursuit that Roy had previously dismissed as a waste of time, and buys a new car, a blue Toyota Yaris . Jim returns to Scranton later on as a result of "The Merger", and brings along a female co-worker, Karen Filippelli, whom he begins dating . Jim and Pam appeared to have ended all communication after Jim transfers to the Stamford branch (aside from an episode in which Jim accidentally calls Pam at the end of the work day), and their episodes together following the branch merge are tense, despite both admitting to still harboring feelings for the other during the presence of the documentary cameras . </P> <P> Meanwhile, Roy vows to win Pam back . Roy's efforts to improve his relationship with Pam are quite successful, but once Pam and Roy are back together, he falls back into old habits almost immediately . When Roy and Pam attend an after work get - together at a local bar with their co-workers, Pam, feeling that she should be more honest with Roy, tells him about Jim kissing her at "Casino Night ." Roy yells, smashes a mirror, and trashes the bar . Pam, frightened and embarrassed by his reaction, breaks up with Roy immediately . Roy vows to kill Jim and in "The Negotiation", Roy unsuccessfully tries to attack Jim at work (Jim is saved by Dwight's intervention), and is subsequently fired . Pam later reluctantly agrees to meet Roy for coffee at his request, and after the polite but brief meeting, it appears that their relationship has ended amicably with Roy encouraging Pam to pursue Jim . </P> <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>

What episode in season 3 do jim and pam get together