NBC's The Office ends after a nine-season run

Steve Carell said goodbye to co-workers for one last time as NBC's The Office came to an end following a nine-season run.

The season finale featured a long-awaited wedding between office manager Dwight Schrute (Rainn Wilson), and accountant Angela Martin (Angela Kingsley).

Steve Carell led the show in 2005 the same year his break out film The 40-Year-Old Virgin was released Credit: Lionel Hahn/ABACA USA/Empics Entertainment

Carell, who left the show in season seven, entered the episode as a surprise guest at the ceremony, uttering one of character Michael Scott's best-known phrases, "that's what she said."

Adapted from Ricky Gervais' mockumentary series of the same name, the season finale saw most of the long-standing cast members get their happy ending.