Question: What episode in the office did Pam get married to her spouse?

Knowledge 1: The Office (American TV series)
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. [SEP] Knowledge 2: Pam Beesly
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.
Knowledge 1: The Office (American TV series)
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. [SEP] Knowledge 2: Pam Beesly
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.
Knowledge 1: The Office (American TV series)
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. [SEP] Knowledge 2: Jim Halpert
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.

Answer: ``Niagara ''