The Best The Office Pam And Jim Wedding Dance Scene Ideas. The episode was written by executive producer greg daniels and mindy kaling, and was directed by paul feig. At jim (john krasinski) and pam's (jenna fischer) wedding, the office gang surprises them with a spontaneous wedding.

It originally aired on october 8, 2009 on nbc in the united states. Web initially, roy was scheduled to crash the wedding on horseback while jim was reciting his vows in a grand gesture to win pam back. It is the 4th and 5th episodes in the season's episode count and the 104th and 105th episode of the series overall.