Sheldon and his friends are going out with a bang.

CBS and Warner Bros. Television announced on Wednesday that the hit sitcom ‘The Big Bang Theory’ will be coming to an end in 2019 after its 12th season, which will air on Monday, Sept. 24 (at 8 p.m. ET).

“We are forever grateful to our fans for their support of The Big Bang Theory during the past twelve seasons,”  Warner Bros. Television, CBS and Chuck Lorre Productions said in a joint statement. “We, along with the cast, writers and crew, are extremely appreciative of the show’s success and aim to deliver a final season, and series finale, that will bring The Big Bang Theory to an epic creative close.”

The CBS comedy, that follows Sheldon Cooper (played by Jim Parsons) and his group of science-loving friends, is the longest-running multi camera series in history as well as Primetime’s top-rated sitcom.

“I think the show worked quite simply because of characters we could relate to,” Marc Berman, TV analyst and creator of the Programming Insider, told Moneyish. “It just had all the ingredients: from the very beginning they (the characters) were funny and they all had excellent chemistry, and so we felt comfortable watching.”

Berman believes that show will keep the top spot on primetime throughout the upcoming season, but he says the decision to end the show is a good move. “At some point after 12 seasons you don’t want to become receptive or stagnant,” he said. “You want to leave while you’re still ahead.”

Here’s a list of the hit sitcom series by the numbers:

279 total episodes: This is how many episodes will have aired by the end of next year. That’s a record number of episodes for a multi-camera show. To date, the show has aired 254 episodes throughout its 11 seasons.

Stars got nearly $1 million per episode: Jim Parsons and his co-stars Johnny Galecki, Kaley Cuoco, Kunal Nayyar and Simon Helberg are among the highest paid comedy actors on TV, making a salary of nearly $1 million per episode, according to Business Insider. Last year, these five cast members also agreed to take pay cuts of  $100,000 apiece so that their co-stars Mayim Bialik and Melissa Rauch (who play Amy and Bernadette) and were only making $100,000, would get more equal pay. Stars on similar shows like ‘Friends’ also earned $1 million per episode in the show’s final seasons.

52 Emmy nominations: Since its debut in 2007, ‘The Big Bang Theory’ has received 52 Emmy nominations, 10 of which it won, and seven Golden Globe nominations. Emmy wins have included four for Jim Parsons as the lead actor in a comedy and one for Mayim Bialik for best supporting actress in a comedy series. That’s more than similar shows like ABC’s ‘Modern Family’ (22 Emmy nominations and 5 wins), and FOX’s ‘Arrested Development’ (25 nominations and 6 wins).

More than 20 million viewers per episode: The comedy series was the most popular in its seventh season, with an average of 20.4 million viewers per episode. For the 2017-18 television season, the show had 18.4 million viewers.

$1 billion in syndication revenue: That’s the amount the sitcom has brought in for Warner Bros. Television throughout its 11 seasons on air through reruns and syndication, according to the LA Times. It has also generated $125 million-$150 million in ad revenues alone per season for CBS.

Airs in more than 180 countries: The show airs in over 180 countries and was the number one show in Australia and Canada in 2015.

The name is a nod to the universe’s creation 13.7 billion years ago: The show’s name is based on the scientific theory of the same name that explains how the universe began about 13.7 billion years ago. The show’s original working title was ‘Lenny, Penny and Kenny.’