<P> In "Moving On", Pam interviews for a job in Philadelphia to be closer to Jim, but she is turned off by the idea when her prospective new boss bears a striking resemblance in behavior to Michael Scott . Over dinner, Pam reveals to Jim that she doesn't really want to move to Philadelphia after all . However, in "Livin' the Dream", when Athlead is bought out and Jim is offered a large sum of money for 3 months to pitch the company across the country, Pam overhears Jim refuse the opportunity because of her and appears to have mixed feelings about this decision . In "A.A.R.M.", Pam tells Jim that she's afraid that he will resent her for making him stay and that she might not be enough for him . Jim asks the camera crew to compile documentary footage of the two of them to show her . When she finishes the montage, which shows Jim taking back a letter he intended to give her with his teapot gift during Christmas; Jim finally gives her that letter, and she reads it, visibly moved . In the series finale, which takes place a year later, she reveals to Jim that she secretly put the house on the market, so that they can move to Austin, Texas, and take his job back at Athlead (now Athleap). </P> <P> From her years working the front desk, Pam has become well - acquainted with the Dunder - Mifflin staff and is consistently shown to have a thorough understanding of her coworkers' personalities, including the more eccentric individuals Dwight Schrute and Michael Scott . She uses this familiarity to manipulate them, often for their and the company's best interests (such as her giving the staff elaborate instructions on how to handle a heartbroken Michael in "The Chump") but also occasionally for her own . This familiarity plays a large part in her efficiency as office administrator and was crucial to her being promoted to the previously non-existent position . </P> <P> The "will they or won'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 . </P> <P> When the series begins, Pam is engaged to her high school sweetheart Roy Anderson; this engagement is revealed to be three years old and running . They finally set a date, but Pam calls off the wedding at the last minute . They get back together once, briefly, but Pam is much more assertive, and finally breaks up with him after he has a violent outburst . Roy is deeply flawed - he is overbearing, neglectful, dismissive of her desire to be an artist, and offers her sex as a gift on Valentine's Day . Jim comments in Season 2 that Pam does not like to "bother" Roy with her "thoughts or feelings". He tells the camera crew that the only two problems in Pam's life seemed to be Roy and her job at Dunder Mifflin . </P>

Who is pam married to on the office