Question: In what episode of The Office does Dwight save Pam's husband from Roy?

title: Roi Wilson
text: Captain Roi Edgerton "Tug" Wilson, CBE, DFC (1 June 1921 – 17 March 2009) was a Royal Navy officer and Master of the Royal Caledonian Schools.

title: Connectix
text: Connectix Corporation was a software and hardware company, noted for having released innovative products that were either made obsolete as Apple Computer incorporated the ideas into system software, or were sold to other companies once they become popular. It was formed in October 1988 by Jon Garber; dominant board members and co-founders were Garber, Bonnie Fought (the two were later married), and close friend Roy McDonald. McDonald was still Chief Executive Officer and president when Connectix finally closed in August 2003.

title: Madame Spy (1942 film)
text: Madame Spy (1942 film): Madame Spy is a 1942 American spy film directed by Roy William Neill and starring Constance Bennett, Don Porter and John Litel. The screenplay concerns an American intelligence officer who goes undercover and infiltrates a ring of Nazi spies.

title: Chemistry (TV series)
text: Chemistry was a comedy-drama series that debuted on Cinemax as a part of its Max After Dark lineup on August 19, 2011. It followed the affair of an attorney and a police officer, which began after the officer saved the attorney from a car wreck. The last episode aired on November 18, 2011.

title: The Search (The Office)
text: television series "The Office", and the show's 141st episode overall. Written by Brent Forrester and directed by Michael Spiller, the episode aired February 3, 2011 on NBC.

title: Roy Anderson (The Office)
text: Royson ``Roy ''Allan Anderson is a fictional character from the US television series The Office, portrayed by David Denman. His counterpart in the original UK series of The Office is Lee.

title: Poldark (1975 TV series)
text: Although the emphasis is primarily on Ross and Demelza, there are many other characters with their own stories. In the first series we encounter Dr. Dwight Enys (Richard Morant in the first series, Michael Cadman in the second series), a young man with progressive ideas who prefers to serve the poor communities rather than the rich. Enys has a brief affair with a married actress, Keren Daniel (Sheila White), which results in her murder by her husband. By the end of the first series, Dwight has become involved with heiress Caroline Penvenen (Judy Geeson). In the second series, they marry following Ross's rescue of Dwight from a French prison.

title: Jim Halpert
text: In ``The Merger '', Jim's and Pam's reunion is awkward. Pam is overjoyed, but Jim is clearly uncomfortable. He lets Pam know that he is seeing someone, and gradually Karen is introduced as his girlfriend. As Jim settles back in at Scranton, he uses his promotion as an excuse to avoid his old interactions and pranks with Pam, claiming that pulling pranks is not appropriate for his position. However, in time, Jim does return to his old ways, especially targeting Andy Bernard, a Stamford transfer, and Dwight.

title: The Carpet
text: As the day wears on, Michael becomes convinced that what happened to his office is a hate crime and an act of terrorism. Believing it to have been perpetrated by someone in the office, he begins to lose his faith in his employees, whom he considers his friends. Michael tries talking to his former boss Ed Truck (Ken Howard), who tells him that he does not need to have his employees be his friends. But his mood changes drastically when he finds out the prank was carried out by his obnoxious friend Todd Packer (David Koechner). Michael instantly finds the joke hilarious, and his faith in his friends is restored. At the end of the day, Jim is cheered up when he finds that all seven of his voicemail messages were left by Pam throughout the day. Jim is seen driving home, and Pam's voicemails act as a voice - over, closing out the episode.

title: Jim Halpert
text: His character serves as the intelligent, mild - mannered straight man role to Michael, although it is also defined by a rivalrous pranking on fellow salesman Dwight Schrute and a romantic interest in receptionist Pam Beesly, whom he begins dating in the fourth season, marries in the sixth, and has children with in the sixth and eighth.

title: The Manager and the Salesman
text: As Michael sets up his desk at the sales section, Dwight (Rainn Wilson) calls a meeting with Ryan (B.J. Novak) to think of ways to take Jim down. Ryan angers Dwight with his tardiness and The Lord of the Rings references. They ultimately try getting Nick, the new IT worker, to give them Jim's computer password, but he refuses. Meanwhile, Michael has a difficult time adjusting back to sales, particularly since he can no longer command Erin's services and is exposed to Phyllis's noxious flatulence, a side effect of her new allergy medication. He confides to Jim that he wants the manager job back and they both tell Jo. While frustrated by their fickleness, she allows them to switch. Michael and Erin celebrate his return to his office, and Dwight taunts Jim about his demotion. In a return to his old ways, Jim dips Dwight's tie in his coffee as Pam grins.

title: Mrs. California
text: The series -- presented as if it were a real documentary -- depicts the everyday lives of office employees in the Scranton, Pennsylvania, branch of the fictional Dunder Mifflin Paper Company. In the episode, Robert California (James Spader) brings his wife (Maura Tierney) into the office for a job, and tells Andy Bernard (Ed Helms) behind her back not to give her one. Meanwhile, Dwight Schrute (Rainn Wilson) opens a gym in the building and tries to get Darryl Philbin (Craig Robinson) to join it.

title: Pam Beesly
text: 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 is n'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.

title: Pam Beesly
text: 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.

title: The Farm (The Office)
text: The episode guest stars Majandra Delfino, Blake Garrett Rosenthal, Thomas Middleditch, Matt Jones, and Tom Bower as members of Dwight's family; Delfino plays Dwight's sister Fannie, Rosenthal plays Dwight's nephew Cammy, Middleditch portrays Dwight's brother Jeb, Jones portrays Dwight's cousin Zeke, and Bower appears as Dwight's great uncle Heinrich, in a deleted scene. Jones had previously appeared in the ninth season entry, ``Junior Salesman ''.

title: The Farm (The Office)
text: ``The Farm ''is the seventeenth episode of the ninth season of the American comedy television series The Office and the 192nd overall. It originally aired on NBC on March 14, 2013. The episode guest stars Matt Jones as Dwight's cousin Zeke, Majandra Delfino as Dwight's sister Fannie, Blake Garrett Rosenthal as his nephew, and Thomas Middleditch as his brother.

title: Pam Beesly
text: 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.

title: The Office (American TV series)
text: Jim and Pam marry and have a baby named Cecelia Marie Halpert. Meanwhile, Andy and Erin develop mutual interest in one another, but find their inherent awkwardness inhibits his attempts to ask her out on a date. Rumors of bankruptcy begin to surround Dunder Mifflin, and by Christmas, Wallace announces to the branch that Dunder Mifflin has accepted a buyout from Sabre Corporation, a printer company. While Wallace and other executives are let go, the Scranton office survives due to its relative success within the company, and Michael Scott is now the highest level employee at Dunder Mifflin.  In the season finale, Dwight buys the office park. Michael agrees to make an announcement to the press regarding a case of faulty printers. When Jo Bennet, Sabre CEO, asks how she can repay him, Michael responds that she could bring Holly back to the Scranton branch.

title: Pam Beesly
text: The ``will they or wo n't they ''tension between Jim and Pam is a strong storyline in the early episodes of The Office, encompassing much of Seasons 1 to 3. In the opener of Season 4, the two characters are revealed to be dating, and as such, other character romances, such as the romance between fellow co-workers Dwight Schrute and Angela Martin, begin to move more toward the forefront of episodes. In Season 6, Jim and Pam are married in the season's 4th and 5th episodes (hour long), a feat considered noteworthy by many television critics, as bringing together the two lead love interests in a television series is often thought to be a risky venture. Their child is born in the second half of the season, during another hour long,`` The Delivery''. Pam and Jim's second child is born during season 8. In season 9, their marriage becomes strained when Jim takes up a second job in Philadelphia. They ultimately decide to leave Dunder Mifflin together so Jim can pursue his dream job.

title: The Negotiation
text: ``The Negotiation ''(originally titled`` Labor Negotiation'') is the nineteenth episode of the third season of the American comedy television series The Office, and the show's forty - seventh episode overall. The series depicts the everyday lives of office employees in the Scranton branch of the fictional Dunder Mifflin Paper Company. In this episode, Roy Anderson (David Denman) tries to attack Jim Halpert (John Krasinski) for kissing Pam Beesly (Jenna Fischer) on Casino Night, only to be pepper - sprayed by Dwight Schrute (Rainn Wilson). Jim repeatedly tries to thank Dwight for his actions, but each attempt is rejected. Meanwhile, with Roy fired, Darryl Philbin (Craig Robinson) asks for a raise and is astounded when he learns that this raise would cause him to be paid more than his boss, Michael Scott (Steve Carell).

Answer: ``The Negotiation ''