On Tuesday, the cast and crew of The Big Bang Theory said their goodbyes via social media as the hit CBS show taped what would be its final episode after 12 seasons.

Premiering Sept. 24, 2007, the sitcom starring Johnny Galecki, Jim Parsons, Kaley Cuoco, Simon Helberg, Kunal Nayyar, Mayim Bialik and Melissa Rauch will air its 279th and last episode May 16.

Bialik, who plays Amy Farrah Fowler on the comedy created by Chuck Lorre and Bill Prady, was among the first to post on social media, which she did while heading into Warner Bros. Studio in Burbank for the final taping. "Here we go. One last time," she wrote, along with sharing a picture of the iconic lot water tower.

Other castmembers shared pictures of their final pretaping huddle, an intimate moment that they have done since their first show. 

The series finale was taped in the evening before a jam-packed studio audience that was complete with several members of the cast and crew’s friends and family. Multiple stars — including Galecki, Cuoco, Bialik and Rauch — cried at various parts of the evening.

Warner Bros. TV president Peter Roth was, as per usual, on hand for the two-and-a-half-hour production. Lorre and Prady, as well as executive producer Steve Molaro and showrunner Steve Holland and regular director Mark Cendrowski, were all consumed by hugs at various points throughout the night.

Galecki and Cuoco each took turns addressing the live studio audience with emotional thanks to the diehard fans who supported the show for the past 12 seasons. The onscreen couple have made addressing the audience a regular part of their roles on tape night but Tuesday’s greeting to the fans present — some of whom waited in line for 14 hours for a seat — was beyond emotional as both actors cried as their 12-year journey came to a conclusion.

The CBS nerdy comedy will wrap as TV’s longest-running multicamera comedy in history. Both Galecki and Cuoco will host a retrospective that airs the night of the series finale.

See the touching farewells from the Big Bang cast and crew below. 

Additional reporting by Lesley Goldberg.